-
+
);
}
diff --git a/src/pages/AuthPage/SigninPage.tsx b/src/pages/AuthPage/SigninPage.tsx
index 94790e4..db592e2 100644
--- a/src/pages/AuthPage/SigninPage.tsx
+++ b/src/pages/AuthPage/SigninPage.tsx
@@ -3,13 +3,12 @@ import { useState, useEffect } from "react";
import { AxiosError } from "axios";
import { useNavigate, Link } from "react-router-dom";
-import Logo from "../../assets/landing/logo-white.svg?react";
+import Logo from "../../assets/logo/thejulge.svg?react";
import Spinner from "./components/Spinner";
import { useAuthForm } from "./hooks/useAuthForm";
import { postAuthentication } from "@/apis/services/authenticationService";
-import LandingImage from "@/assets/landing/landing-img.webp";
import Button from "@/components/Button";
import TextField from "@/components/TextField";
import { ROUTES } from "@/constants/router";
@@ -36,8 +35,7 @@ export default function SigninPage() {
}
}, [user, navigate]);
- const handleSubmit = async (e: React.FormEvent
) => {
- e.preventDefault();
+ const handleSubmit = async () => {
if (isSubmitting) return;
setIsSubmitting(true);
@@ -99,78 +97,60 @@ export default function SigninPage() {
};
return (
-
-
-
-
+
+
+
+
+
+
+
+
+ 회원이 아니신가요?{" "}
+
+ 회원가입하기
-
-
-
-
-
- 더 나은
- 조건,
-
- 더 나은 선택
-
-
- 당신에게{" "}
- 더
- 줄게요.
-
-
-
-
-
-
-
-
- 아직 계정이 없으신가요?{" "}
-
- 회원가입
-
-
-
-
-
-
+
+
);
}
diff --git a/src/pages/AuthPage/SignupPage.tsx b/src/pages/AuthPage/SignupPage.tsx
index 967c58a..9f34e09 100644
--- a/src/pages/AuthPage/SignupPage.tsx
+++ b/src/pages/AuthPage/SignupPage.tsx
@@ -5,13 +5,12 @@ import clsx from "clsx";
import { useNavigate, Link } from "react-router-dom";
import IconCheck from "../../assets/icon/check.svg?react";
-import Logo from "../../assets/landing/logo-white.svg?react";
+import Logo from "../../assets/logo/thejulge.svg?react";
import Spinner from "./components/Spinner";
import { useAuthForm } from "./hooks/useAuthForm";
import { postUser } from "@/apis/services/userService";
-import LandingImage from "@/assets/landing/landing-img.webp";
import Button from "@/components/Button";
import TextField from "@/components/TextField";
import { ROUTES } from "@/constants/router";
@@ -35,7 +34,6 @@ export default function SignupPage() {
const [isSubmitting, setIsSubmitting] = useState(false);
useEffect(() => {
- if (!user || location.pathname === ROUTES.AUTH.SIGNUP) return;
if (user) {
if (user.type === "employer") {
navigate(ROUTES.SHOP.ROOT);
@@ -103,175 +101,141 @@ export default function SignupPage() {
};
return (
-
-
-
-
-
-
-
-
-
- 더 나은
- 조건,
-
- 더 나은 선택
-
-
- 당신에게{" "}
- 더
- 줄게요.
-
-
-
-
-
-
+
+
+
+
+
+
+ 이미 가입하셨나요?{" "}
+
+ 로그인하기
+
+
+
);
}