| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- import { Card } from '@/components/ui/card'
- import { ForgotForm } from './components/forgot-form'
- import { Link } from 'react-router-dom'
- export default function ForgotPassword() {
- return (
- <>
- <div className='container grid h-svh flex-col items-center justify-center bg-primary-foreground lg:max-w-none lg:px-0'>
- <div className='mx-auto flex w-full flex-col justify-center space-y-2 sm:w-[480px] lg:p-8'>
- <div className='mb-4 flex items-center justify-center'>
- <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>
- <h1 className='text-xl font-medium'>Admin Dashboard</h1>
- </div>
- <Card className='p-6'>
- <div className='mb-2 flex flex-col space-y-2 text-left'>
- <h1 className='text-md font-semibold tracking-tight'>
- Forgot Password
- </h1>
- <p className='text-sm text-muted-foreground'>
- Enter your registered email and <br /> we will send you a link
- to reset your password.
- </p>
- </div>
- <ForgotForm />
- <p className='mt-4 px-8 text-center text-sm text-muted-foreground'>
- Don't have an account?{' '}
- <Link
- to='/sign-up'
- className='underline underline-offset-4 hover:text-primary'
- >
- Sign up
- </Link>
- .
- </p>
- </Card>
- </div>
- </div>
- </>
- )
- }
|