init
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
Chief-spartan-117
2026-01-21 11:13:09 +05:45
commit 972264e361
188 changed files with 27498 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
import Navbar from '@/components/layout/Navbar';
import { type PropsWithChildren } from 'react';
interface AuthLayoutProps {
name?: string;
title?: string;
description?: string;
}
export default function AuthSimpleLayout({
children,
title,
description,
}: PropsWithChildren<AuthLayoutProps>) {
return (
<>
<Navbar></Navbar>
<div className="flex flex-col items-center justify-center gap-6 bg-background px-6 py-20">
<div className="w-full max-w-sm">
<div className="flex flex-col gap-8">
<div className="flex flex-col items-center gap-4">
{/* <Link
href={home()}
className="flex flex-col items-center gap-2 font-medium"
>
<div className="mb-1 flex h-9 w-9 items-center justify-center rounded-md">
<AppLogoIcon className="size-9 fill-current text-[var(--foreground)] dark:text-white" />
</div>
<span className="sr-only">{title}</span>
</Link> */}
<div className="space-y-2 text-center">
<h1 className="text-xl font-medium">{title}</h1>
<p className="text-center text-sm text-muted-foreground">
{description}
</p>
</div>
</div>
{children}
</div>
</div>
</div>
</>
);
}