fd57a35820
Release package / release (push) Successful in 1h12m42s
Co-authored-by: Thanh Quy - wolf <524H0124@student.tdtu.edu.vn> Reviewed-on: #28 Reviewed-by: TakahashiNguyen <takahashi.ng@icloud.com> Co-authored-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost> Co-committed-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost>
14 lines
370 B
TypeScript
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>
|
|
);
|
|
}
|