Add logo and header to login page

This commit is contained in:
Andy Chan 2024-02-24 15:38:23 -05:00
parent a07428b4f7
commit 016b2a3d70
2 changed files with 10 additions and 2 deletions

View File

@ -5,7 +5,8 @@ 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';
export const metadata: Metadata = {
title: 'Login',
}
@ -14,7 +15,14 @@ export default function Page() {
return (
<>
<Paper>
<form className="mb-0 mt-6 mb-6 space-y-4 rounded-lg p-4 shadow-lg sm:p-6 lg:p-8 bg-white">
<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-800'>Login</h1>
<div className="mb-4">
<Input type='email' title="Email" placeholder="janedoe@gmail.com" iconKey={'EmailInputIcon'} />
</div>

BIN
compass/public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB