mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 13:02:50 +00:00
fixes
This commit is contained in:
@@ -234,7 +234,18 @@ function Header({
|
||||
</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')}
|
||||
</Button>
|
||||
{signupHref && (
|
||||
|
||||
Reference in New Issue
Block a user