| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import { Link } from '@tanstack/react-router'
- import {
- Card,
- CardContent,
- CardDescription,
- CardFooter,
- CardHeader,
- CardTitle,
- } from '@/components/ui/card'
- import { AuthLayout } from '../auth-layout'
- import { ForgotPasswordForm } from './components/forgot-password-form'
- export function ForgotPassword() {
- return (
- <AuthLayout>
- <Card className='max-w-sm gap-4 sm:min-w-sm'>
- <CardHeader>
- <CardTitle className='text-lg tracking-tight'>
- Forgot Password
- </CardTitle>
- <CardDescription>
- Enter your registered email and <br /> we will send you a link to
- reset your password.
- </CardDescription>
- </CardHeader>
- <CardContent>
- <ForgotPasswordForm />
- </CardContent>
- <CardFooter>
- <p className='mx-auto px-8 text-center text-sm text-balance text-muted-foreground'>
- Don't have an account?{' '}
- <Link
- to='/sign-up'
- className='underline underline-offset-4 hover:text-primary'
- >
- Sign up
- </Link>
- .
- </p>
- </CardFooter>
- </Card>
- </AuthLayout>
- )
- }
|