mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 11:01:45 +00:00
This commit improves the visual design of the auth pages by adding a new layout wrapper with an animated blob background effect and updating the auth card shell with a glassmorphism style. It also updates the navigation items to use capitalized labels instead of lowercase for better readability.
24 lines
1.0 KiB
TypeScript
24 lines
1.0 KiB
TypeScript
import { Logo } from "@/shared/components/logo";
|
|
|
|
export default function AuthLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="relative flex min-h-svh flex-col items-center justify-center overflow-hidden bg-linear-to-b from-background via-background to-muted/20 px-5 py-8 md:px-8 md:py-10">
|
|
<div className="pointer-events-none absolute inset-0 overflow-hidden flex items-center justify-center">
|
|
<div className="absolute -right-32 top-0 h-96 w-96 rounded-full bg-primary/10 blur-3xl animate-blob mix-blend-multiply" />
|
|
<div className="absolute -left-32 bottom-0 h-96 w-96 rounded-full bg-primary/7 blur-3xl animate-blob animation-delay-2000 mix-blend-multiply" />
|
|
<div className="absolute -bottom-32 left-1/2 h-80 w-80 rounded-full bg-secondary/30 blur-3xl animate-blob animation-delay-4000 mix-blend-multiply" />
|
|
</div>
|
|
|
|
<div className="relative mb-6 flex md:hidden z-20">
|
|
<Logo variant="compact" colorIcon />
|
|
</div>
|
|
|
|
<div className="relative w-full max-w-sm md:max-w-5xl">{children}</div>
|
|
</div>
|
|
);
|
|
}
|