-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
90 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import React, { useState } from 'react'; | ||
import { useNavigate } from 'react-router'; | ||
import logo from '../assets/microvan_logo.svg'; | ||
import OnboardingInputField from '../components/inputs/OnboardingInputField'; | ||
import LogInButton from '../components/buttons/LogInButton'; | ||
|
||
export default function BidderLogInPage() { | ||
const navigate = useNavigate(); | ||
|
||
const [email, setEmail] = useState(''); | ||
const [password, setPassword] = useState(''); | ||
|
||
const handleEmailChange = (event) => setEmail(event.target.value); | ||
const handlePasswordChange = (event) => setPassword(event.target.value); | ||
|
||
const handleLogIn = () => { | ||
console.log(`Email: ${email}, Password: ${password}`); // eslint-disable-line no-console | ||
}; | ||
|
||
return ( | ||
<div className="flex flex-col items-center justify-between min-h-screen min-w-screen bg-mv-white"> | ||
<div className="self-start pl-[29px] pt-[27px]"> | ||
<button | ||
type="button" | ||
className="text-mv-green text-base font-medium" | ||
onClick={() => navigate('/')} | ||
> | ||
Home | ||
</button> | ||
</div> | ||
|
||
<div className="flex-grow" /> | ||
|
||
<div className="flex flex-col w-full items-center justify-center"> | ||
<img | ||
src={logo} | ||
alt="logo" | ||
className="flex-shrink-0 w-[115px] h-[115px]" | ||
/> | ||
<h1 className="text-mv-green text-[50px] font-semibold"> | ||
Microvan Inc. | ||
</h1> | ||
<h2 className="text-mv-green text-3xl font-normal">Virtual Auctions</h2> | ||
<div className="flex flex-col items-start w-[60%] mt-[22px] space-y-[5px]"> | ||
<p className="text-dark-grey text-xl font-normal">Email</p> | ||
<OnboardingInputField | ||
placeholder="[email protected]" | ||
className="w-full h-[56px]" | ||
type="email" | ||
value={email} | ||
onChange={handleEmailChange} | ||
/> | ||
</div> | ||
<div className="flex flex-col items-start w-[60%] mt-[22px] space-y-[5px]"> | ||
<p className="text-dark-grey text-xl font-normal">Password</p> | ||
<OnboardingInputField | ||
placeholder="**********" | ||
className="w-full h-[56px]" | ||
type="password" | ||
value={password} | ||
onChange={handlePasswordChange} | ||
/> | ||
</div> | ||
<div className="mt-[49px] w-full flex items-center justify-center"> | ||
<LogInButton onClick={handleLogIn} /> | ||
</div> | ||
<button | ||
type="button" | ||
className="text-mv-green text-xs font-normal focus:outline-none mt-[18px] border-none" | ||
onClick={() => navigate('/signin/forgotpassword')} | ||
> | ||
Forgot Password? | ||
</button> | ||
</div> | ||
|
||
<div className="flex-grow" /> | ||
|
||
<div className="self-center pb-[24px]"> | ||
<p className="text-mv-green text-lg font-normal"> | ||
© Microvan Inc. 2024 | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
} |
Empty file.