forked from Aldhanekaa/windmill-dashboard-nextjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forgot-password.js
50 lines (46 loc) · 1.66 KB
/
forgot-password.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import React from 'react';
import Link from 'next/link';
import { Label, Input, Button } from '@windmill/react-ui';
const ImageLight = '/assets/img/forgot-password-office.jpeg';
const ImageDark = '/assets/img/forgot-password-office-dark.jpeg';
function ForgotPassword() {
return (
<div className='flex items-center min-h-screen p-6 bg-gray-50 dark:bg-gray-900'>
<div className='flex-1 h-full max-w-4xl mx-auto overflow-hidden bg-white rounded-lg shadow-xl dark:bg-gray-800'>
<div className='flex flex-col overflow-y-auto md:flex-row'>
<div className='h-32 md:h-auto md:w-1/2'>
<img
aria-hidden='true'
className='object-cover w-full h-full dark:hidden'
src={ImageLight}
alt='Office'
/>
<img
aria-hidden='true'
className='hidden object-cover w-full h-full dark:block'
src={ImageDark}
alt='Office'
/>
</div>
<main className='flex items-center justify-center p-6 sm:p-12 md:w-1/2'>
<div className='w-full'>
<h1 className='mb-4 text-xl font-semibold text-gray-700 dark:text-gray-200'>
Forgot password
</h1>
<Label>
<span>Email</span>
<Input className='mt-1' placeholder='Jane Doe' />
</Label>
<Link href='/login'>
<Button block className='mt-4'>
Recover password
</Button>
</Link>
</div>
</main>
</div>
</div>
</div>
);
}
export default ForgotPassword;