diff --git a/app/(auth)/log-in/page.tsx b/app/(auth)/log-in/page.tsx
index 98fff1f..cda3971 100644
--- a/app/(auth)/log-in/page.tsx
+++ b/app/(auth)/log-in/page.tsx
@@ -1,4 +1,4 @@
-import LoginCard from "@/widgets/login/loginCard/Index";
+import LoginCard from "@/widgets/authentication/login/LoginCard";
import React from "react";
const page = () => {
diff --git a/app/(auth)/sign-up/page.tsx b/app/(auth)/sign-up/page.tsx
index 73db833..28f22be 100644
--- a/app/(auth)/sign-up/page.tsx
+++ b/app/(auth)/sign-up/page.tsx
@@ -1,10 +1,10 @@
-import { Link } from "@heroui/react";
+import SignupCard from "@/widgets/authentication/signup/SignupCard";
import React from "react";
const page = () => {
return (
-
-
Hello world
+
+
);
};
diff --git a/features/auth/ui/LoginForm.tsx b/features/auth/ui/LoginForm.tsx
deleted file mode 100644
index 74a2dfb..0000000
--- a/features/auth/ui/LoginForm.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-"use client";
-
-import { Card, CardBody, CardHeader, Input } from "@heroui/react";
-import React from "react";
-
-const LoginForm = () => {
- return (
-
-
- Welcome Back
-
-
-
-
-
- );
-};
-
-export default LoginForm;
diff --git a/features/login/ui/EmailForm.tsx b/features/login/ui/EmailForm.tsx
new file mode 100644
index 0000000..d97df1a
--- /dev/null
+++ b/features/login/ui/EmailForm.tsx
@@ -0,0 +1,27 @@
+"use client";
+
+import { Button, Form, Input } from "@heroui/react";
+import React from "react";
+
+const EmailForm = () => {
+ return (
+ // Form component to handle email input
+
+ );
+};
+
+export default EmailForm;
diff --git a/widgets/login/loginCard/EmailForm.tsx b/features/signup/ui/EmailForm.tsx
similarity index 100%
rename from widgets/login/loginCard/EmailForm.tsx
rename to features/signup/ui/EmailForm.tsx
diff --git a/widgets/login/loginCard/ContinueWithProviders.tsx b/widgets/authentication/ContinueWithProviders.tsx
similarity index 93%
rename from widgets/login/loginCard/ContinueWithProviders.tsx
rename to widgets/authentication/ContinueWithProviders.tsx
index d57b3c9..d7bdd29 100644
--- a/widgets/login/loginCard/ContinueWithProviders.tsx
+++ b/widgets/authentication/ContinueWithProviders.tsx
@@ -20,9 +20,10 @@ const ContinueWithProviders = () => {
return (
- {oAuthProviders.map((provider) => {
+ {oAuthProviders.map((provider, index) => {
return (
}
diff --git a/widgets/login/loginCard/Index.tsx b/widgets/authentication/login/LoginCard.tsx
similarity index 90%
rename from widgets/login/loginCard/Index.tsx
rename to widgets/authentication/login/LoginCard.tsx
index b9ead72..a9d5d57 100644
--- a/widgets/login/loginCard/Index.tsx
+++ b/widgets/authentication/login/LoginCard.tsx
@@ -1,10 +1,10 @@
"use client";
import { Card, Divider, Link } from "@heroui/react";
-import React from "react";
-import EmailForm from "./EmailForm";
-import ContinueWithProviders from "./ContinueWithProviders";
import { routes } from "@/shared/config/routes";
+import React from "react";
+import ContinueWithProviders from "../ContinueWithProviders";
+import EmailForm from "@/features/login/ui/EmailForm";
const LoginCard = () => {
return (
diff --git a/widgets/authentication/signup/SignupCard.tsx b/widgets/authentication/signup/SignupCard.tsx
new file mode 100644
index 0000000..2439f31
--- /dev/null
+++ b/widgets/authentication/signup/SignupCard.tsx
@@ -0,0 +1,38 @@
+"use client";
+
+import { Card, Divider, Link } from "@heroui/react";
+import { routes } from "@/shared/config/routes";
+import React from "react";
+import ContinueWithProviders from "../ContinueWithProviders";
+import EmailForm from "@/features/signup/ui/EmailForm";
+
+const SignupCard = () => {
+ return (
+
+ Create an account
+
+ {/* Email form */}
+
+
+ {/* Log in link */}
+
+ Already have an account?{" "}
+
+ Log in
+
+
+
+ {/* Divider between email form and third-party login options */}
+
+
+ {/* Buttons for third-party login options */}
+
+
+ );
+};
+
+export default SignupCard;