Loading portal-gui/src/assets/auth-background.webp 0 → 100644 +111 KiB Loading image diff... portal-gui/src/assets/openop-logo-dark.png 0 → 100644 +15.9 KiB Loading image diff... portal-gui/src/assets/openop-logo.png 0 → 100644 +16.7 KiB Loading image diff... portal-gui/src/layouts/auth-layout.tsx +24 −3 Changes for portal-gui/src/layouts/auth-layout.tsx: 24 added lines, 3 removed lines. Original line number Diff line number Diff line import type { ReactNode } from 'react'; import { Link } from 'react-router-dom'; import { LogoIcon } from '@/lib/icons'; import { ROUTES } from '@/app/config/route'; import { ThemeToggle } from '@/components/common/theme-toggle'; import authBackground from '@/assets/auth-background.webp'; import openopLogo from '@/assets/openop-logo.png'; import openopLogoDark from '@/assets/openop-logo-dark.png'; // Same layout as the Keycloak login theme (helm: charts/keycloak/themes/oop), so moving // between the Portal and Keycloak does not change the page. export function AuthLayout({ children }: { children: ReactNode }) { return ( <div className="relative flex min-h-screen items-center justify-center bg-muted/30 px-4"> <div className="grid min-h-screen bg-muted/30 lg:grid-cols-[minmax(0,1.2fr)_minmax(32rem,1fr)]"> <div aria-hidden="true" className="hidden bg-cover bg-center lg:block" style={{ backgroundImage: `url(${authBackground})` }} /> <div className="relative flex items-center justify-center px-4 py-8"> <div className="absolute top-4 right-4"> <ThemeToggle /> </div> Loading @@ -15,7 +26,16 @@ export function AuthLayout({ children }: { children: ReactNode }) { <div className="w-full max-w-md"> <div className="mb-6 flex justify-center"> <Link to={ROUTES.HOME}> <LogoIcon className="h-12 w-auto" /> <img src={openopLogo} alt="OpenOP" className="h-16 w-auto dark:hidden" /> <img src={openopLogoDark} alt="OpenOP" className="hidden h-16 w-auto dark:block" /> </Link> </div> Loading @@ -24,5 +44,6 @@ export function AuthLayout({ children }: { children: ReactNode }) { </div> </div> </div> </div> ); } Loading
portal-gui/src/layouts/auth-layout.tsx +24 −3 Changes for portal-gui/src/layouts/auth-layout.tsx: 24 added lines, 3 removed lines. Original line number Diff line number Diff line import type { ReactNode } from 'react'; import { Link } from 'react-router-dom'; import { LogoIcon } from '@/lib/icons'; import { ROUTES } from '@/app/config/route'; import { ThemeToggle } from '@/components/common/theme-toggle'; import authBackground from '@/assets/auth-background.webp'; import openopLogo from '@/assets/openop-logo.png'; import openopLogoDark from '@/assets/openop-logo-dark.png'; // Same layout as the Keycloak login theme (helm: charts/keycloak/themes/oop), so moving // between the Portal and Keycloak does not change the page. export function AuthLayout({ children }: { children: ReactNode }) { return ( <div className="relative flex min-h-screen items-center justify-center bg-muted/30 px-4"> <div className="grid min-h-screen bg-muted/30 lg:grid-cols-[minmax(0,1.2fr)_minmax(32rem,1fr)]"> <div aria-hidden="true" className="hidden bg-cover bg-center lg:block" style={{ backgroundImage: `url(${authBackground})` }} /> <div className="relative flex items-center justify-center px-4 py-8"> <div className="absolute top-4 right-4"> <ThemeToggle /> </div> Loading @@ -15,7 +26,16 @@ export function AuthLayout({ children }: { children: ReactNode }) { <div className="w-full max-w-md"> <div className="mb-6 flex justify-center"> <Link to={ROUTES.HOME}> <LogoIcon className="h-12 w-auto" /> <img src={openopLogo} alt="OpenOP" className="h-16 w-auto dark:hidden" /> <img src={openopLogoDark} alt="OpenOP" className="hidden h-16 w-auto dark:block" /> </Link> </div> Loading @@ -24,5 +44,6 @@ export function AuthLayout({ children }: { children: ReactNode }) { </div> </div> </div> </div> ); }