diff --git a/frontend/app/auth/page.tsx b/frontend/app/auth/page.tsx deleted file mode 100644 index f77f08d..0000000 --- a/frontend/app/auth/page.tsx +++ /dev/null @@ -1,82 +0,0 @@ -import { Input } from "@/components/ui/input"; -import { Button } from "@/components/ui/button"; -import ForgotPasswordModal from "./forgot-password-modal"; -import WaterDrop from "./waterdrop"; - -import Link from "next/link"; -import Image from "next/image"; - -export default function Signin() { - return ( -
-
-
- {/*
-

Welcome back!

-

Log in to personalize your planting adventure!

-
*/} - {/* water pot and dripping animation */} - {/*
- Water Pot -
- -
-
*/} -
-
- -
- {/* login box */} -
-
-

Log In

-
- Don't have an account? - - Sign up - -
-
- - {/* OAUTH */} -
- {/* Google */} -
- Google Logo -
-
- -
-
-

- EMAIL * -

-
- -
-
-
-

- PASSWORD * -

-
- -
-
- -
-
- -
-
-
-
-
- ); -} diff --git a/frontend/app/auth/forgot-password-modal.tsx b/frontend/app/auth/signin/forgot-password-modal.tsx similarity index 75% rename from frontend/app/auth/forgot-password-modal.tsx rename to frontend/app/auth/signin/forgot-password-modal.tsx index 7a2e20a..c2eb19c 100644 --- a/frontend/app/auth/forgot-password-modal.tsx +++ b/frontend/app/auth/signin/forgot-password-modal.tsx @@ -15,19 +15,18 @@ import { Label } from "@/components/ui/label"; export default function ForgotPasswordModal() { return ( -
+
- What's your email? - Please verify your email for us. Once you do, we'll send - instructions to reset your password + Please verify your email for us. Once you do, we'll send instructions to reset your password
@@ -35,11 +34,7 @@ export default function ForgotPasswordModal() { - +
diff --git a/frontend/app/auth/signin/page.tsx b/frontend/app/auth/signin/page.tsx new file mode 100644 index 0000000..55dc3dd --- /dev/null +++ b/frontend/app/auth/signin/page.tsx @@ -0,0 +1,76 @@ +import { Input } from "@/components/ui/input"; +import { Label } from "@/components/ui/label"; +import { Checkbox } from "@/components/ui/checkbox"; +import { Button } from "@/components/ui/button"; +import ForgotPasswordModal from "./forgot-password-modal"; + +import Link from "next/link"; +import Image from "next/image"; + +export default function SigninPage() { + return ( +
+
+
+ +
+ {/* login box */} +
+
+ + Forfarm + +

Welcome back.

+
+ New to Forfarm? + + + Sign up + + +
+
+ +
+
+ + +
+
+
+ + +
+
+ + +
+ + + +
+

Or log in with

+ {/* OAUTH */} +
+ {/* Google */} +
+ Google Logo +
+
+
+
+
+
+
+ ); +} diff --git a/frontend/app/auth/waterdrop.tsx b/frontend/app/auth/signin/waterdrop.tsx similarity index 100% rename from frontend/app/auth/waterdrop.tsx rename to frontend/app/auth/signin/waterdrop.tsx diff --git a/frontend/app/auth/signup/page.tsx b/frontend/app/auth/signup/page.tsx new file mode 100644 index 0000000..5657830 --- /dev/null +++ b/frontend/app/auth/signup/page.tsx @@ -0,0 +1,69 @@ +import { Input } from "@/components/ui/input"; +import { Label } from "@/components/ui/label"; +import { Checkbox } from "@/components/ui/checkbox"; +import { Button } from "@/components/ui/button"; + +import Link from "next/link"; +import Image from "next/image"; + +export default function SignupPage() { + return ( +
+
+
+ +
+ {/* login box */} +
+
+ + Forfarm + +

Hi! Welcome

+
+ Already have accounts? + + + Sign in + + +
+
+ +
+
+ + +
+
+
+ + +
+
+
+
+ + +
+
+ + +
+ +
+

Or log in with

+ {/* OAUTH */} +
+ {/* Google */} +
+ Google Logo +
+
+
+
+
+
+
+ ); +}