Initial commit: site monorepo with API, web, and infra.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import type { PropsWithChildren } from "react";
|
||||
import { ZootechThemeProvider } from "@shared/theme/zootech/ThemeProvider";
|
||||
import "@shared/theme/zootech/auth-login.css";
|
||||
|
||||
interface AuthLayoutProps extends PropsWithChildren {
|
||||
title: string;
|
||||
}
|
||||
|
||||
export function AuthLayout({ title, children }: AuthLayoutProps): JSX.Element {
|
||||
return (
|
||||
<ZootechThemeProvider>
|
||||
<main className="z-login-shell">
|
||||
<section className="z-login-page">
|
||||
<article className="z-login-card">
|
||||
<h1 className="z-login-title">{title}</h1>
|
||||
{children}
|
||||
</article>
|
||||
</section>
|
||||
</main>
|
||||
</ZootechThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user