diff --git a/src/frontend/src/pages/signUpPage/index.tsx b/src/frontend/src/pages/signUpPage/index.tsx index 448fd5804..0fe5accc8 100644 --- a/src/frontend/src/pages/signUpPage/index.tsx +++ b/src/frontend/src/pages/signUpPage/index.tsx @@ -1,12 +1,15 @@ import * as Form from "@radix-ui/react-form"; import { FormEvent, useState } from "react"; +import { Link } from "react-router-dom"; +import IconComponent from "../../components/genericIconComponent"; import InputComponent from "../../components/inputComponent"; import { Button } from "../../components/ui/button"; import { Input } from "../../components/ui/input"; import { CONTROL_INPUT_STATE } from "../../constants/constants"; -import { inputHandlerEventType, signUpInputStateType } from "../../types/components"; -import { Link } from "react-router-dom"; -import IconComponent from "../../components/genericIconComponent"; +import { + inputHandlerEventType, + signUpInputStateType, +} from "../../types/components"; export default function SignUp(): JSX.Element { const [inputState, setInputState] = @@ -22,7 +25,7 @@ export default function SignUp(): JSX.Element { return ( ) => { - if (password === "") { + if (password === "") { event.preventDefault(); return; } @@ -30,7 +33,7 @@ export default function SignUp(): JSX.Element { const data = Object.fromEntries(new FormData(event.currentTarget)); event.preventDefault(); }} - className="w-full h-full" + className="h-full w-full" >
@@ -40,26 +43,17 @@ export default function SignUp(): JSX.Element {
or -
+
Username * @@ -82,7 +76,7 @@ export default function SignUp(): JSX.Element {
-
+
Password * diff --git a/src/frontend/src/types/components/index.ts b/src/frontend/src/types/components/index.ts index ba6e0da87..aa3de1bca 100644 --- a/src/frontend/src/types/components/index.ts +++ b/src/frontend/src/types/components/index.ts @@ -223,4 +223,4 @@ export type UserManagementType = { export type loginInputStateType = { username: string; password: string; -} +}; diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index 4ffba0c21..79c1603d7 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -70,6 +70,7 @@ import { XCircle, Zap, } from "lucide-react"; +import { FaApple, FaGithub } from "react-icons/fa"; import { AirbyteIcon } from "../icons/Airbyte"; import { AnthropicIcon } from "../icons/Anthropic"; import { BingIcon } from "../icons/Bing"; @@ -96,7 +97,6 @@ import SvgWikipedia from "../icons/Wikipedia/Wikipedia"; import SvgWolfram from "../icons/Wolfram/Wolfram"; import { HackerNewsIcon } from "../icons/hackerNews"; import { SupabaseIcon } from "../icons/supabase"; -import { FaApple, FaGithub } from "react-icons/fa"; export const gradients = [ "bg-gradient-to-br from-gray-800 via-rose-700 to-violet-900",