From a5b2bb6ec4fc3a961203c28b3fbacf1b0da37794 Mon Sep 17 00:00:00 2001 From: Gabriel Lyra Date: Fri, 22 Sep 2023 08:02:27 -0300 Subject: [PATCH] Refactor welcome message in index.vue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change "Bem-vindo" to "Olá" - Update welcome message to include user's first name if available --- apps/app/pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app/pages/index.vue b/apps/app/pages/index.vue index dd840bb..7f91a2a 100644 --- a/apps/app/pages/index.vue +++ b/apps/app/pages/index.vue @@ -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?`; });