MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / AuthLayout

Function AuthLayout

src/features/auth/components/auth-layout.tsx:4–16  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode; })

Source from the content-addressed store, hash-verified

2import Link from "next/link";
3
4export const AuthLayout = ({ children }: { children: React.ReactNode; }) => {
5 return (
6 <div className="bg-muted flex min-h-svh flex-col justify-center items-center gap-6 p-6 md:p-10">
7 <div className="flex w-full max-w-sm flex-col gap-6">
8 <Link href="/" className="flex items-center gap-2 self-center font-medium">
9 <Image src="/logos/logo.svg" alt="Nodebase" width={30} height={30} />
10 Nodebase
11 </Link>
12 {children}
13 </div>
14 </div>
15 );
16};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected