From 94bf18b0ce1b1ee0ca4885ed8dd0fb94625e4433 Mon Sep 17 00:00:00 2001 From: Enoch Boison Date: Sat, 7 Nov 2026 15:04:50 +0000 Subject: [PATCH 1/2] feat(web): breadcrumbs back to discover on auth pages; remove brand and info badges UiAuthShell takes `breadcrumbs` (Discover > current page) in place of the brand line, and sign-in, register, check-email and verify-email drop their info badges and unused badge copy. --- apps/web/app/i18n/staticSiteText.ts | 4 ---- .../modules/auth/components/RegisterForm.vue | 14 ++++++------- .../modules/auth/components/SigninForm.vue | 14 ++++++------- apps/web/app/pages/check-email.vue | 10 +++++----- apps/web/app/pages/verify-email.vue | 20 +++++++++---------- packages/ui/app/components/UiAuthShell.vue | 18 +++++++++++------ 6 files changed, 39 insertions(+), 41 deletions(-) diff --git a/apps/web/app/i18n/staticSiteText.ts b/apps/web/app/i18n/staticSiteText.ts index c5c7d99..c9ce0dd 100644 --- a/apps/web/app/i18n/staticSiteText.ts +++ b/apps/web/app/i18n/staticSiteText.ts @@ -31,8 +31,6 @@ export const staticSiteText = { 'signin.title': 'Welcome back', 'signin.subtitle': 'Sign in to see your entries, rewards and live draws.', 'signin.subtitle.business': 'Sign in to manage your campaigns.', - 'signin.badge': 'Secure access', - 'signin.badge.business': 'Business portal', 'signin.switch.business': 'Running campaigns? Business sign in', 'signin.switch.participant': 'Joining campaigns? Participant sign in', 'signin.email': 'Email address', @@ -51,7 +49,6 @@ export const staticSiteText = { // registration (one form, two portals: ADR-P001) 'register.participant.title': 'Create your account', 'register.participant.subtitle': 'Join campaigns, track your entries and claim rewards.', - 'register.participant.badge': 'Free for participants', 'register.participant.name': 'Full name', 'register.participant.email': 'Email address', 'register.participant.agreement': 'I accept the Terms of Service and the Privacy Notice', @@ -91,7 +88,6 @@ export const staticSiteText = { // check email 'checkEmail.title': 'Check your email', - 'checkEmail.badge': 'Verification link sent', 'checkEmail.body': 'If {email} is not registered yet, we sent it a verification link. Open the link to activate your account. If you already have an account, sign in instead.', 'checkEmail.bodyNoEmail': diff --git a/apps/web/app/modules/auth/components/RegisterForm.vue b/apps/web/app/modules/auth/components/RegisterForm.vue index 61bb69f..0841f86 100644 --- a/apps/web/app/modules/auth/components/RegisterForm.vue +++ b/apps/web/app/modules/auth/components/RegisterForm.vue @@ -5,7 +5,7 @@ import { t, type AppTextKey } from '../../../i18n'; import { useAuth } from '../composables/useAuth'; import { useSignupDraft } from '../composables/useSignupDraft'; import AuthFailureNotice from './AuthFailureNotice.vue'; -import { AGREEMENT_VERSION, BRAND_NAME, HOME } from '../constants'; +import { AGREEMENT_VERSION, HOME } from '../constants'; import { classifyAuthError, toApiError, type AuthFailure } from '../errors'; import { businessNameProblem, @@ -122,21 +122,19 @@ async function submit() { loading.value = false; // input is kept so nothing is lost on a recoverable failure } } +const crumbs = [ + { label: t('nav.discover'), to: '/discover' }, + { label: isBusiness ? t('footer.business.register') : t('nav.signup') }, +];