Created
January 8, 2025 09:23
-
-
Save BohemianHacks/4e27bce370644c25a450c4d04fbfc17d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import React from 'react'; | |
import { Card } from '@/components/ui/card'; | |
import { Input } from '@/components/ui/input'; | |
import { Button } from '@/components/ui/button'; | |
const LoginPage = () => { | |
return ( | |
<div className="min-h-screen flex items-center justify-center bg-gray-50"> | |
<Card className="w-96 p-8 space-y-6"> | |
<h1 className="text-3xl font-serif text-center text-gray-800">Login</h1> | |
<div className="space-y-4"> | |
<div className="space-y-2"> | |
<label htmlFor="email" className="text-sm font-medium text-gray-700"> | |
</label> | |
<Input | |
id="email" | |
type="email" | |
placeholder="Enter your email" | |
className="w-full" | |
/> | |
</div> | |
<div className="space-y-2"> | |
<label htmlFor="password" className="text-sm font-medium text-gray-700"> | |
Password | |
</label> | |
<Input | |
id="password" | |
type="password" | |
placeholder="Enter your password" | |
className="w-full" | |
/> | |
</div> | |
</div> | |
<Button className="w-full bg-blue-600 hover:bg-blue-700 text-white"> | |
Log In | |
</Button> | |
<p className="text-center text-gray-600"> | |
Don't have an account?{' '} | |
<a href="#signup" className="text-blue-600 hover:text-blue-700 hover:underline"> | |
Sign Up | |
</a> | |
</p> | |
</Card> | |
</div> | |
); | |
}; | |
export default LoginPage; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment