mirror of
https://github.com/cssgunc/compass.git
synced 2025-04-17 17:30:17 -04:00
Delete page.tsx
This commit is contained in:
parent
851d71e00d
commit
3d471fb2a7
|
@ -1,58 +0,0 @@
|
|||
// pages/index.tsx
|
||||
'use client'
|
||||
import Button from '@/components/Button';
|
||||
import Input from '@/components/Input'
|
||||
import InlineLink from '@/components/InlineLink';
|
||||
import Paper from '@/components/auth/Paper';
|
||||
import { Metadata } from 'next'
|
||||
import Image from 'next/image';
|
||||
import React, { useState } from 'react';
|
||||
import PasswordInput from '@/components/auth/PasswordInput';
|
||||
|
||||
|
||||
// export const metadata: Metadata = {
|
||||
// title: 'Login',
|
||||
// }
|
||||
|
||||
export default function Page() {
|
||||
const [visible, setVisible] = useState(false);
|
||||
|
||||
return (
|
||||
<>
|
||||
<Paper>
|
||||
|
||||
<form className="mb-0 m-auto mt-6 space-y-4 rounded-lg p-4 shadow-lg sm:p-6 lg:p-8 bg-white max-w-xl">
|
||||
<Image
|
||||
src="/logo.png"
|
||||
alt='Compass Center logo.'
|
||||
width={100}
|
||||
height={91}
|
||||
/>
|
||||
<h1 className='font-bold text-xl text-purple-700'>Login</h1>
|
||||
<div className="mb-4">
|
||||
<Input type='email' title="Email" iconKey={'EmailInputIcon'} required />
|
||||
</div>
|
||||
<div className="mb-6">
|
||||
|
||||
<PasswordInput type='password' title="Password" required />
|
||||
|
||||
|
||||
</div>
|
||||
<div className="flex flex-col items-left space-y-4">
|
||||
<InlineLink href="/reset-password">
|
||||
Forgot password?
|
||||
</InlineLink>
|
||||
<Button>
|
||||
Login
|
||||
</Button>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
<p className="text-center mt-6 text-gray-500 text-xs">
|
||||
© 2024 Compass Center
|
||||
</p>
|
||||
</Paper>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user