Skip to content

Commit

Permalink
Refactor welcome message in index.vue (#8)
Browse files Browse the repository at this point in the history
- Change "Bem-vindo" to "Olá"
- Update welcome message to include user's first name if available

Co-authored-by: Gabriel Lyra <gmlyra@live.com>
  • Loading branch information
mrarticuno and tsubaca committed Sep 23, 2023
1 parent 981edc3 commit 2bf602d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const userStore = useUserStore();
const title = computed(() => {
return `Bem-vindo${
return `Olá${
userStore.user?.firstName ? `, ${userStore.user.firstName}` : ""
}, o que vamos aprender hoje?`;
});
Expand Down

0 comments on commit 2bf602d

Please sign in to comment.