Delete page.tsx

This commit is contained in:
Erica Birdsong 2024-02-28 14:50:09 -05:00
parent 851d71e00d
commit 3d471fb2a7

View File

@ -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">
&copy; 2024 Compass Center
</p>
</Paper>
</>
);
};