From 6a8b909afbe1560be95f7ad0a3e19cfe4717aec6 Mon Sep 17 00:00:00 2001 From: FifthWit Date: Thu, 14 Aug 2025 14:01:01 -0500 Subject: Switched to tailwind/vite --- frontend/src/components/Login.tsx | 53 ++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 18 deletions(-) (limited to 'frontend/src/components/Login.tsx') diff --git a/frontend/src/components/Login.tsx b/frontend/src/components/Login.tsx index 1858c48..ba85aeb 100644 --- a/frontend/src/components/Login.tsx +++ b/frontend/src/components/Login.tsx @@ -1,18 +1,18 @@ import React from "react"; import { Link, useNavigate } from "react-router-dom"; -import { ExitIcon, UserIcon, LoginIcon } from "@images/Images"; +import { ExitIcon, UserIcon, LoginIcon } from "../images/Images"; import { UserProfile } from "@customTypes/Profile"; import { API } from "@api/Api"; -import "@css/Login.css"; interface LoginProps { setToken: React.Dispatch>; profile?: UserProfile; setProfile: React.Dispatch>; + isOpen: boolean; } -const Login: React.FC = ({ setToken, profile, setProfile }) => { +const Login: React.FC = ({ setToken, profile, setProfile, isOpen }) => { const navigate = useNavigate(); const _login = () => { @@ -32,16 +32,16 @@ const Login: React.FC = ({ setToken, profile, setProfile }) => { <> {profile.profile ? ( <> - - - @@ -49,16 +49,16 @@ const Login: React.FC = ({ setToken, profile, setProfile }) => { ) : ( <> - - - @@ -67,11 +67,28 @@ const Login: React.FC = ({ setToken, profile, setProfile }) => { )} ) : ( - - -- cgit v1.2.3