1cf9fd9d8c
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
496 B
TypeScript
14 lines
496 B
TypeScript
import { ThemeToggle } from "@/components/layout/theme-toggle";
|
||
|
||
/** Oturum gerektirmeyen ekranlar (yalnızca giriş). */
|
||
export default function AuthLayout({ children }: { children: React.ReactNode }) {
|
||
return (
|
||
<div className="relative flex min-h-dvh flex-1 flex-col items-center justify-center bg-gradient-to-b from-primary/5 via-background to-background px-4 py-10">
|
||
<div className="absolute top-3 right-3">
|
||
<ThemeToggle />
|
||
</div>
|
||
{children}
|
||
</div>
|
||
);
|
||
}
|