Files
gatehouse-ui/src/components/layouts/PublicLayout.tsx
T

38 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-01-06 14:46:23 +00:00
import { Outlet, Link } from "react-router-dom";
2026-03-06 00:22:57 +05:45
import { SecuirdLogo } from "@/components/branding/SecuirdLogo";
2026-01-06 14:46:23 +00:00
export default function PublicLayout() {
return (
<div className="min-h-screen bg-background flex flex-col">
{/* Subtle gradient background */}
<div className="fixed inset-0 bg-gradient-to-br from-background via-background to-secondary/30 pointer-events-none" />
{/* Header */}
<header className="relative z-10 w-full py-6 px-4">
<div className="max-w-md mx-auto">
2026-01-06 15:17:10 +00:00
<Link to="/" className="flex items-center gap-2.5 justify-center">
2026-03-06 00:22:57 +05:45
<SecuirdLogo size="md" />
<span className="text-xl font-semibold text-foreground tracking-tight">Secuird</span>
2026-01-06 14:46:23 +00:00
</Link>
</div>
</header>
{/* Main content */}
<main className="relative z-10 flex-1 flex items-center justify-center px-4 py-8">
<div className="w-full max-w-md animate-fade-in">
<Outlet />
</div>
</main>
{/* Footer */}
<footer className="relative z-10 py-6 px-4">
<div className="max-w-md mx-auto text-center">
<p className="text-sm text-muted-foreground">
2026-03-06 00:22:57 +05:45
© {new Date().getFullYear()} Secuird. Identity & Access.
2026-01-06 14:46:23 +00:00
</p>
</div>
</footer>
</div>
);
}