From 06aae0be9df497ebb45d8f4a9507008279e3e16e Mon Sep 17 00:00:00 2001 From: roble Date: Mon, 27 Jul 2026 11:08:13 +0100 Subject: [PATCH 1/4] feat: update VerifyEmail components and controller for improved user messaging --- resources/js/react/pages/VerifyEmail.tsx | 21 ++++++++++++------- resources/js/vue/pages/VerifyEmail.vue | 17 ++++++++------- .../Controllers/VerifyEmailController.php | 3 +++ 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/resources/js/react/pages/VerifyEmail.tsx b/resources/js/react/pages/VerifyEmail.tsx index 4472df5..1e1dcb8 100644 --- a/resources/js/react/pages/VerifyEmail.tsx +++ b/resources/js/react/pages/VerifyEmail.tsx @@ -13,17 +13,22 @@ export default function VerifyEmail() { }; return ( - +
+

+ {t( + 'Before getting started, could you verify your email address by clicking on the link we just emailed to you?', + )} +

+

+ {t( + 'If you did not receive the email, you can click the button below to request another.', + )} +

@@ -33,7 +38,7 @@ export default function VerifyEmail() { href={route('logout')} method="post" as="button" - className="text-primary/70 cursor-pointer font-medium underline-offset-4 hover:underline" + className="text-primary cursor-pointer font-medium underline-offset-4 hover:underline" data-testid="logout-link" > {t('Log Out')} diff --git a/resources/js/vue/pages/VerifyEmail.vue b/resources/js/vue/pages/VerifyEmail.vue index 42ccf93..cab3e46 100644 --- a/resources/js/vue/pages/VerifyEmail.vue +++ b/resources/js/vue/pages/VerifyEmail.vue @@ -6,20 +6,21 @@ import AuthCardLayout from '../layouts/AuthCardLayout.vue';