This commit is contained in:
estifanos
2026-08-14 08:16:09 +00:00
parent 6795607b13
commit accfb8c95d

View File

@@ -234,7 +234,18 @@ function Header({
</Button> </Button>
) : ( ) : (
<> <>
<Button component={Link} to={primaryHref} variant="subtle" size="sm" visibleFrom="xs"> {/* Login is the secondary action next to Sign Up when both
exist (portal) — but when there's no signup (backoffice,
enableSignup: false), it's the only action, so it takes
the filled/primary treatment instead of reading like a
leftover half of a pair. */}
<Button
component={Link}
to={primaryHref}
variant={signupHref ? 'subtle' : 'filled'}
size="sm"
visibleFrom="xs"
>
{t('landing.auth.login')} {t('landing.auth.login')}
</Button> </Button>
{signupHref && ( {signupHref && (