diff --git a/my-app/src/components/AuthButton.tsx b/my-app/src/components/AuthButton.tsx
index c84579f..4fa5db5 100644
--- a/my-app/src/components/AuthButton.tsx
+++ b/my-app/src/components/AuthButton.tsx
@@ -37,10 +37,22 @@ const AuthButtons: React.FC = () => {
) : (
<>
-
+
-
+
>
)}
diff --git a/my-app/src/components/LoginPage.tsx b/my-app/src/components/LoginPage.tsx
index bed857f..2bdb4c7 100644
--- a/my-app/src/components/LoginPage.tsx
+++ b/my-app/src/components/LoginPage.tsx
@@ -44,13 +44,15 @@ const LoginPage: React.FC = () => {
return (
);
};
diff --git a/my-app/src/components/Messages.tsx b/my-app/src/components/Messages.tsx
index 6f91fd4..17614a5 100644
--- a/my-app/src/components/Messages.tsx
+++ b/my-app/src/components/Messages.tsx
@@ -1,22 +1,27 @@
interface Messages {
- [key: string]: {
- fileSelectAlert: string;
- uploadSuccess: (name: string) => string;
- uploadFail: string;
- };
- }
-
- const messages: Messages = {
- ko: {
- fileSelectAlert: "파일을 선택해주세요.",
- uploadSuccess: (name: string) => `${name} 파일 업로드가 완료되었습니다. 변환을 시작하시겠습니까?`,
- uploadFail: "파일 업로드에 실패했습니다. 다시 시도해주세요.",
- },
- en: {
- fileSelectAlert: "Please select a file.",
- uploadSuccess: (id: string) => `File ${id} has been uploaded. Would you like to start the conversion?`,
- uploadFail: "File upload failed. Please try again.",
- },
+ [key: string]: {
+ fileSelectAlert: string;
+ uploadSuccess: (name: string) => string;
+ uploadFail: string;
+ AuthFail: string;
};
-
- export default messages;
\ No newline at end of file
+}
+
+const messages: Messages = {
+ ko: {
+ fileSelectAlert: "파일을 선택해주세요.",
+ uploadSuccess: (name: string) =>
+ `${name} 파일 업로드가 완료되었습니다. 변환을 시작하시겠습니까?`,
+ uploadFail: "파일 업로드에 실패했습니다. 다시 시도해주세요.",
+ AuthFail: "로그인 후 이용해 주세요.",
+ },
+ en: {
+ fileSelectAlert: "Please select a file.",
+ uploadSuccess: (id: string) =>
+ `File ${id} has been uploaded. Would you like to start the conversion?`,
+ uploadFail: "File upload failed. Please try again.",
+ AuthFail: "Please log in to use this service.",
+ },
+};
+
+export default messages;
diff --git a/my-app/src/components/SignUpPage.tsx b/my-app/src/components/SignUpPage.tsx
index 8b3032c..0b7216f 100644
--- a/my-app/src/components/SignUpPage.tsx
+++ b/my-app/src/components/SignUpPage.tsx
@@ -38,8 +38,8 @@ const SignUpPage: React.FC = () => {
loginId,
password,
});
- if (response.status === 200) {
- navigate("*");
+ if (response.status === 201) {
+ navigate("/");
}
} catch (error) {
if (axios.isAxiosError(error)) {
@@ -57,7 +57,7 @@ const SignUpPage: React.FC = () => {
-
+
{translationsId && (