Files
frontend/components/templates/auth-layout/AuthLayout.tsx
T
2026-04-03 20:09:05 +07:00

14 lines
370 B
TypeScript

import type { AuthLayoutProps } from "./AuthLayout.types";
/**
* Auth layout template — centers content in the screen.
* Used by login and register pages.
*/
export default function AuthLayout({ children }: AuthLayoutProps) {
return (
<div className="bg-background flex min-h-screen items-center justify-center px-4 py-8">
{children}
</div>
);
}