Newer
Older
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'
export const metadata = {
title: "Login",
description: "Login to your account",
}
<div className="container grid items-center gap-8 pb-8 pt-6 md:py-8 max-w-lg">
<Card>
<CardHeader className="space-y-1">
<CardTitle className="text-2xl">Sign in</CardTitle>
<CardDescription>
Choose your preferred sign in method
</CardDescription>
</CardHeader>
<CardContent className="grid gap-4">
<UserAuthForm type='login' />
</CardContent>
<CardFooter className="flex flex-wrap items-center justify-between gap-2">
<div className="text-sm text-muted-foreground">
<span className="mr-1 hidden sm:inline-block">
Don't have an account?
</span>
<Link
aria-label="Sign up"
href="/signup"
className="text-primary underline-offset-4 transition-colors hover:underline"
>
Sign up
</Link>
</div>
</CardFooter>
</Card>