-
Notifications
You must be signed in to change notification settings - Fork 70
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
1 parent
7d2a025
commit b6e5dd2
Showing
22 changed files
with
543 additions
and
480 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,46 +5,53 @@ import { Button } from '@/components/ui/button'; | |
import { Checkbox } from '@/components/ui/checkbox'; | ||
|
||
export default function Login() { | ||
return ( | ||
<div className="flex items-center md:w-1/3 w-full p-6"> | ||
<div className="w-full mx-auto space-y-8"> | ||
<div className="space-y-2 text-center"> | ||
<h1 className="text-3xl font-bold">Login</h1> | ||
<p className="text-gray-500 text-sm">Enter your email below to login to your account</p> | ||
</div> | ||
<div className="space-y-4"> | ||
<div className="space-y-2"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input id="email" placeholder="[email protected]" required type="email" /> | ||
</div> | ||
<div className="space-y-2"> | ||
<div className="flex items-center"> | ||
<Label htmlFor="password">Password</Label> | ||
<Link className="ml-auto inline-block text-sm underline" href="#"> | ||
Forgot your password? | ||
</Link> | ||
</div> | ||
<Input id="password" required type="password" /> | ||
</div> | ||
<div className="flex items-center space-x-2"> | ||
<Checkbox id="remember" /> | ||
<Label className="text-sm" htmlFor="remember"> | ||
Remember me | ||
</Label> | ||
</div> | ||
<Button className="w-full">Login</Button> | ||
<Button className="w-full" variant="outline"> | ||
Login with Google | ||
</Button> | ||
</div> | ||
return ( | ||
<div className="flex w-full items-center p-6 md:w-1/3"> | ||
<div className="mx-auto w-full space-y-8"> | ||
<div className="space-y-2 text-center"> | ||
<h1 className="text-3xl font-bold">Login</h1> | ||
<p className="text-sm text-gray-500"> | ||
Enter your email below to login to your account | ||
</p> | ||
</div> | ||
<div className="space-y-4"> | ||
<div className="space-y-2"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input | ||
id="email" | ||
placeholder="[email protected]" | ||
required | ||
type="email" | ||
/> | ||
</div> | ||
<div className="space-y-2"> | ||
<div className="flex items-center"> | ||
<Label htmlFor="password">Password</Label> | ||
<Link className="ml-auto inline-block text-sm underline" href="#"> | ||
Forgot your password? | ||
</Link> | ||
</div> | ||
<Input id="password" required type="password" /> | ||
</div> | ||
<div className="flex items-center space-x-2"> | ||
<Checkbox id="remember" /> | ||
<Label className="text-sm" htmlFor="remember"> | ||
Remember me | ||
</Label> | ||
</div> | ||
<Button className="w-full">Login</Button> | ||
<Button className="w-full" variant="outline"> | ||
Login with Google | ||
</Button> | ||
</div> | ||
|
||
<div className="mt-4 text-center text-sm"> | ||
Don't have an account?{' '} | ||
<Link className="underline" href="/signup"> | ||
Sign up | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
<div className="mt-4 text-center text-sm"> | ||
Don't have an account?{' '} | ||
<Link className="underline" href="/signup"> | ||
Sign up | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
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 |
---|---|---|
|
@@ -5,47 +5,47 @@ import Link from 'next/link'; | |
import { Button } from '@/components/ui/button'; | ||
|
||
export default function Page() { | ||
return ( | ||
<div className="flex items-center md:w-1/3 w-full p-6"> | ||
<div className="w-full mx-auto space-y-8"> | ||
<div className="space-y-2 text-center"> | ||
<h1 className="text-3xl font-bold">Create an account</h1> | ||
<p className="text-gray-500">Enter your information to get started</p> | ||
</div> | ||
<div className="space-y-2"> | ||
<Label htmlFor="name">Name</Label> | ||
<Input id="name" placeholder="John Doe" required /> | ||
</div> | ||
<div className="space-y-2"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input id="email" placeholder="[email protected]" required /> | ||
</div> | ||
<div className="space-y-2"> | ||
<Label htmlFor="password">Password</Label> | ||
<Input id="password" required type="password" /> | ||
</div> | ||
<div className="space-y-2"> | ||
<div className="flex items-center"> | ||
<Checkbox id="terms" /> | ||
<Label className="ml-2 leading-none" htmlFor="terms"> | ||
I agree to the{' '} | ||
<Link className="underline" href="#"> | ||
terms and conditions | ||
</Link> | ||
</Label> | ||
</div> | ||
</div> | ||
<Button className="w-full" type="submit"> | ||
Register | ||
</Button> | ||
return ( | ||
<div className="flex w-full items-center p-6 md:w-1/3"> | ||
<div className="mx-auto w-full space-y-8"> | ||
<div className="space-y-2 text-center"> | ||
<h1 className="text-3xl font-bold">Create an account</h1> | ||
<p className="text-gray-500">Enter your information to get started</p> | ||
</div> | ||
<div className="space-y-2"> | ||
<Label htmlFor="name">Name</Label> | ||
<Input id="name" placeholder="John Doe" required /> | ||
</div> | ||
<div className="space-y-2"> | ||
<Label htmlFor="email">Email</Label> | ||
<Input id="email" placeholder="[email protected]" required /> | ||
</div> | ||
<div className="space-y-2"> | ||
<Label htmlFor="password">Password</Label> | ||
<Input id="password" required type="password" /> | ||
</div> | ||
<div className="space-y-2"> | ||
<div className="flex items-center"> | ||
<Checkbox id="terms" /> | ||
<Label className="ml-2 leading-none" htmlFor="terms"> | ||
I agree to the{' '} | ||
<Link className="underline" href="#"> | ||
terms and conditions | ||
</Link> | ||
</Label> | ||
</div> | ||
</div> | ||
<Button className="w-full" type="submit"> | ||
Register | ||
</Button> | ||
|
||
<div className="mt-4 text-center text-sm"> | ||
Already have an account?{' '} | ||
<Link className="underline" href="/login"> | ||
Login | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
<div className="mt-4 text-center text-sm"> | ||
Already have an account?{' '} | ||
<Link className="underline" href="/login"> | ||
Login | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.