-
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
8 changed files
with
509 additions
and
232 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,48 @@ | ||
import LogoImg from '../assets/images/png/Logo.png'; | ||
import { useNavigate } from 'react-router-dom'; | ||
|
||
function LoginPage() { | ||
const navigate = useNavigate(); | ||
|
||
return ( | ||
<div className="bg-loginimg w-full bg-[#fdfdfd]"> | ||
<div className="flex justify-center"> | ||
<div className=""> | ||
<img | ||
src={LogoImg} | ||
alt="login" | ||
className="flex max-h-screen items-center justify-center" | ||
/> | ||
</div> | ||
<div className="ml-10 flex w-72 flex-col justify-center space-y-4 font-LexendDeca"> | ||
<div className="mb-3 text-[30pt] font-medium text-[#06439F]"> | ||
Login | ||
</div> | ||
<input | ||
className="rounded-md bg-[#EAF0F7] px-2 py-2 font-light outline-none " | ||
type="text" | ||
placeholder="ID" | ||
/> | ||
<input | ||
className="rounded-md bg-[#EAF0F7] px-2 py-2 font-light outline-none " | ||
type="password" | ||
placeholder="PassWord" | ||
/> | ||
<button className="rounded-md bg-[#06439F] py-2 font-light text-white"> | ||
Login | ||
</button> | ||
<button | ||
className="rounded-md border border-[#06439F] bg-[#ffffff] py-2 font-light text-[#06439F]" | ||
onClick={() => { | ||
navigate('/signup'); | ||
}} | ||
> | ||
Sign up | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default LoginPage; |
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,40 @@ | ||
import LogoImg from '../assets/images/png/Logo.png'; | ||
|
||
function SignupPage() { | ||
return ( | ||
<div className="bg-loginimg w-full bg-[#fdfdfd]"> | ||
<div className="flex justify-center font-LexendDeca"> | ||
<img | ||
src={LogoImg} | ||
alt="signup" | ||
className="flex max-h-screen items-center justify-center" | ||
/> | ||
<div className="ml-10 flex w-72 flex-col justify-center space-y-4"> | ||
<div className="mb-3 text-[30pt] font-medium text-[#FFD600]"> | ||
Sign up | ||
</div> | ||
<input | ||
className="rounded-md bg-[#f5f5f5] px-2 py-2 font-light outline-none " | ||
type="text" | ||
placeholder="Nickname" | ||
/> | ||
<input | ||
className="rounded-md bg-[#f5f5f5] px-2 py-2 font-light outline-none " | ||
type="text" | ||
placeholder="ID" | ||
/> | ||
<input | ||
className="mb-4 rounded-md bg-[#f5f5f5] px-2 py-2 font-light outline-none" | ||
type="password" | ||
placeholder="PassWord" | ||
/> | ||
<button className="rounded-md bg-[#FFD600] py-2 font-light text-[#667085]"> | ||
Sign up | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default SignupPage; |
Oops, something went wrong.