diff --git a/apps/portal/src/app/features/auth/components/AuthShell.tsx b/apps/portal/src/app/features/auth/components/AuthShell.tsx index 621f6fc89..74a6f62fb 100644 --- a/apps/portal/src/app/features/auth/components/AuthShell.tsx +++ b/apps/portal/src/app/features/auth/components/AuthShell.tsx @@ -40,9 +40,8 @@ interface AuthShellProps { } /** - * Two-pane auth layout: a branded gradient panel (hidden below `md`) and the - * form pane. Standalone (rendered outside the portal chrome and i18n provider), - * so copy here is plain English to match the other auth pages. + * Two-pane auth card: a centered card with a form panel (left) and a branded + * gradient panel (right, hidden below `lg`). Inspired by the UM login layout. */ export function AuthShell({ children, @@ -53,104 +52,115 @@ export function AuthShell({ const heroGradient = theme.other.heroGradient as string; return ( - - {/* ---- Brand panel ---------------------------------------------- */} + - {/* Decorative blurred orbs for depth */} - - + + {/* ---- Form panel (left) ---------------------------------------- */} + + {children} + - - + {/* ---- Brand panel (right) -------------------------------------- */} + + {/* Decorative blurred orbs */} + + - -
- -
+ +
+ +
- - - {brandTitle} - - - {brandSubtitle} + + + {brandTitle} + + + {brandSubtitle} + + + + + {FEATURES.map((feature) => ( + +
+ +
+ + {feature} + +
+ ))} +
+ + + © 2026 Ethiopian Maritime Authority
- - - {FEATURES.map((feature) => ( - -
- -
- - {feature} - -
- ))} -
-
- - - - - © 2026 Ethiopian Maritime Authority - +
- - {/* ---- Form panel ----------------------------------------------- */} -
- -
- -
- {children} -
-
); }