diff --git a/features/auth/pages/LoginPage.tsx b/features/auth/pages/LoginPage.tsx index 673c0c7..28f4e00 100644 --- a/features/auth/pages/LoginPage.tsx +++ b/features/auth/pages/LoginPage.tsx @@ -5,7 +5,6 @@ import React, { useEffect, useState } from "react"; import Login from "@/features/auth/ui/Login"; import SecurityCheckup from "@/features/auth/ui/SecurityCheckup"; import SecurityCheckupFailed from "@/features/auth/ui/SecurityCheckupFailed"; -import disableDevtool from "disable-devtool"; const LoginPage = () => { /** diff --git a/widgets/authentication/ContinueWithProviders.tsx b/widgets/authentication/ContinueWithProviders.tsx deleted file mode 100644 index d7bdd29..0000000 --- a/widgets/authentication/ContinueWithProviders.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { Button } from "@heroui/react"; -import { Icon } from "@iconify/react"; -import React from "react"; - -const ContinueWithProviders = () => { - // set to true if there are other providers coming soon - const comingSoonProviders: boolean = true; - - // Provider for third-party auth - const oAuthProviders = [ - { - name: "Google", - icon: "logos:google-icon", - }, - { - name: "Discord", - icon: "logos:discord-icon", - }, - ]; - - return ( -
- {oAuthProviders.map((provider, index) => { - return ( - - ); - })} - - {comingSoonProviders && ( - - )} -
- ); -}; - -export default ContinueWithProviders; diff --git a/widgets/authentication/login/LoginCard.tsx b/widgets/authentication/login/LoginCard.tsx deleted file mode 100644 index a9d5d57..0000000 --- a/widgets/authentication/login/LoginCard.tsx +++ /dev/null @@ -1,38 +0,0 @@ -"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/login/ui/EmailForm"; - -const LoginCard = () => { - return ( - -

Welcome Back

- - {/* Email form */} - - - {/* Sign up link */} -

- Don't have an account?{" "} - - Sign Up - -

- - {/* Divider between email form and third-party login options */} -
- - or - -
- - {/* Buttons for third-party login options */} - -
- ); -}; - -export default LoginCard; diff --git a/widgets/authentication/signup/SignupCard.tsx b/widgets/authentication/signup/SignupCard.tsx deleted file mode 100644 index 2439f31..0000000 --- a/widgets/authentication/signup/SignupCard.tsx +++ /dev/null @@ -1,38 +0,0 @@ -"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 */} -
- - or - -
- - {/* Buttons for third-party login options */} - -
- ); -}; - -export default SignupCard;