Skip to content

Commit 1217073

Browse files
committed
Add signup portion in Login Page
1 parent 6925ddf commit 1217073

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

frontend/src/app/components/auth/LoginForm.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Button } from "@/components/ui/button";
44
import { Card, CardTitle, CardHeader, CardContent } from "@/components/ui/card";
55
import { Input } from "@/components/ui/input";
66
import { Label } from "@/components/ui/label";
7+
import Link from "next/link";
78

89
export default function LoginForm() {
910

@@ -34,12 +35,21 @@ export default function LoginForm() {
3435
</Input>
3536
</div>
3637

37-
<div className="flex justify-center mt-10">
38-
<Button>
38+
<div className="flex justify-center ">
39+
<Button className="w-full">
3940
Login
4041
</Button>
4142
</div>
4243

44+
<div className="flex">
45+
<div>
46+
Don't have an account?
47+
</div>
48+
<Link href="/auth/signup" className="ml-3 text-blue-500 hover:underline">
49+
Signup
50+
</Link>
51+
</div>
52+
4353
</div>
4454
</form>
4555
</CardContent>

0 commit comments

Comments
 (0)