AuthenticationPage() — ui Function Reference
Architecture documentation for the AuthenticationPage() function in page.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6c4cfdc9_4f77_a5ca_8ad6_c7f560a711f1["AuthenticationPage()"] 30a3f738_1de8_eb42_74ce_e0da68617a7f["page.tsx"] 6c4cfdc9_4f77_a5ca_8ad6_c7f560a711f1 -->|defined in| 30a3f738_1de8_eb42_74ce_e0da68617a7f style 6c4cfdc9_4f77_a5ca_8ad6_c7f560a711f1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/app/(app)/examples/authentication/page.tsx lines 15–92
export default function AuthenticationPage() {
return (
<>
<div className="md:hidden">
<Image
src="/examples/authentication-light.png"
width={1280}
height={843}
alt="Authentication"
className="block dark:hidden"
priority
/>
<Image
src="/examples/authentication-dark.png"
width={1280}
height={843}
alt="Authentication"
className="hidden dark:block"
priority
/>
</div>
<div className="relative container hidden flex-1 shrink-0 items-center justify-center md:grid lg:max-w-none lg:grid-cols-2 lg:px-0">
<Link
href="/examples/authentication"
className={cn(
buttonVariants({ variant: "ghost" }),
"absolute top-4 right-4 md:top-8 md:right-8"
)}
>
Login
</Link>
<div className="text-primary relative hidden h-full flex-col p-10 lg:flex dark:border-r">
<div className="bg-primary/5 absolute inset-0" />
<div className="relative z-20 flex items-center text-lg font-medium">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
className="mr-2 h-6 w-6"
>
<path d="M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3" />
</svg>
Acme Inc
</div>
<div className="relative z-20 mt-auto">
<blockquote className="leading-normal text-balance">
“This library has saved me countless hours of work and
helped me deliver stunning designs to my clients faster than ever
before.” - Sofia Davis
</blockquote>
</div>
</div>
<div className="flex items-center justify-center lg:h-[1000px] lg:p-8">
<div className="mx-auto flex w-full flex-col justify-center gap-6 sm:w-[350px]">
<div className="flex flex-col gap-2 text-center">
<h1 className="text-2xl font-semibold tracking-tight">
Create an account
</h1>
<p className="text-muted-foreground text-sm">
Enter your email below to create your account
</p>
</div>
<UserAuthForm />
<FieldDescription className="px-6 text-center">
By clicking continue, you agree to our{" "}
<Link href="/terms">Terms of Service</Link> and{" "}
<Link href="/privacy">Privacy Policy</Link>.
</FieldDescription>
</div>
</div>
</div>
</>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AuthenticationPage() do?
AuthenticationPage() is a function in the ui codebase, defined in apps/v4/app/(app)/examples/authentication/page.tsx.
Where is AuthenticationPage() defined?
AuthenticationPage() is defined in apps/v4/app/(app)/examples/authentication/page.tsx at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free