feat: simplify hero section buttons and update call-to-action text

This commit is contained in:
estifanos
2026-08-14 07:46:39 +00:00
parent cfbec948fb
commit d71483be4a
2 changed files with 14 additions and 41 deletions

View File

@@ -315,43 +315,18 @@ function Hero({ primaryHref, isAuthed }: { primaryHref: string; isAuthed: boolea
{t('landing.hero.description')}
</Text>
<Group gap="md" mt="sm" justify="center">
{isAuthed ? (
<Group justify="center">
<Button
component={Link}
to={primaryHref}
size="lg"
variant="white"
color="dark"
style={{ boxShadow: '0 8px 24px rgba(0,0,0,0.18)' }}
>
{t('landing.auth.dashboard')}
</Button>
) : (
<>
<Button
component={Link}
to="/signup"
to={isAuthed ? primaryHref : '/signup'}
size="lg"
variant="white"
color="dark"
leftSection={<IconShip size={20} />}
style={{ boxShadow: '0 8px 24px rgba(0,0,0,0.18)' }}
>
{t('landing.cta.iAmSeafarer')}
{isAuthed ? t('landing.auth.dashboard') : t('landing.cta.getStarted')}
</Button>
<Button
component={Link}
to="/signup"
size="lg"
variant="outline"
color="white"
leftSection={<IconAnchor size={20} />}
>
{t('landing.cta.iAmVesselOwner')}
</Button>
</>
)}
</Group>
<Group gap="xs" mt="xl" justify="center" wrap="wrap">

View File

@@ -51,8 +51,7 @@ export const landingEn = {
},
cta: {
iAmSeafarer: "I'm a Seafarer",
iAmVesselOwner: "I'm a Vessel Owner",
getStarted: 'Get Started',
},
quickAccess: {
@@ -239,8 +238,7 @@ export const landingAm: LandingCopy = {
},
cta: {
iAmSeafarer: 'መርከበኛ ነኝ',
iAmVesselOwner: 'የመርከብ ባለቤት ነኝ',
getStarted: 'ይጀምሩ',
},
quickAccess: {