From c94a2651acd6ccc687ccabb44370c6655586d14a Mon Sep 17 00:00:00 2001
From: JustDevRae
Date: Tue, 18 Jun 2024 21:32:18 +0900
Subject: [PATCH 1/3] commit test
From 902146bc82ded63126ae650514147b1d45e355ea Mon Sep 17 00:00:00 2001
From: JustDevRae
Date: Tue, 18 Jun 2024 23:51:19 +0900
Subject: [PATCH 2/3] =?UTF-8?q?chore:=20eslint=20no-spreading=20=EB=A3=B0?=
=?UTF-8?q?=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.eslintrc.json | 1 +
pages/_app.tsx | 1 -
pages/login/index.tsx | 1 -
pages/signup/index.tsx | 1 -
4 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/.eslintrc.json b/.eslintrc.json
index e50f4bff9..09492be68 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -40,6 +40,7 @@
"prettier/prettier": ["error", { "endOfLine": "lf", "singleQuote": true }],
"react/react-in-jsx-scope": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
+ "react/jsx-props-no-spreading": "off",
"jsx-a11y/label-has-associated-control": [
"error",
{
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 4cf7bf1e9..fcbcb0425 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable react/jsx-props-no-spreading */
import type { AppProps } from 'next/app';
import Header from '@/components/layout/Header/Header';
import Container from '@/components/layout/Container/Container';
diff --git a/pages/login/index.tsx b/pages/login/index.tsx
index 23e66bc81..1e2c010d7 100644
--- a/pages/login/index.tsx
+++ b/pages/login/index.tsx
@@ -1,5 +1,4 @@
/* eslint-disable no-alert */
-/* eslint-disable react/jsx-props-no-spreading */
import Link from 'next/link';
import Image from 'next/image';
import Logo from '@/public/images/logo/logo.svg';
diff --git a/pages/signup/index.tsx b/pages/signup/index.tsx
index c6b77ad48..7bb62ffa7 100644
--- a/pages/signup/index.tsx
+++ b/pages/signup/index.tsx
@@ -1,5 +1,4 @@
/* eslint-disable no-alert */
-/* eslint-disable react/jsx-props-no-spreading */
import Link from 'next/link';
import Image from 'next/image';
import Logo from '@/public/images/logo/logo.svg';
From f848605bb8c2eb88b8caf733a39a1fea3456e397 Mon Sep 17 00:00:00 2001
From: JustDevRae
Date: Tue, 18 Jun 2024 23:54:27 +0900
Subject: [PATCH 3/3] =?UTF-8?q?chore:=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?=
=?UTF-8?q?=ED=83=80=EC=9E=85=20=EC=84=A0=EC=96=B8=20=ED=8C=8C=EC=9D=BC=20?=
=?UTF-8?q?=EC=84=A4=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
declarations.d.ts | 9 +++++++
pages/signup/index.tsx | 56 +++++++++++++++++++++---------------------
2 files changed, 37 insertions(+), 28 deletions(-)
create mode 100644 declarations.d.ts
diff --git a/declarations.d.ts b/declarations.d.ts
new file mode 100644
index 000000000..c917e38cc
--- /dev/null
+++ b/declarations.d.ts
@@ -0,0 +1,9 @@
+declare module '*.svg' {
+ const content: string;
+ export default content;
+}
+
+declare module '*.png' {
+ const content: string;
+ export default content;
+}
diff --git a/pages/signup/index.tsx b/pages/signup/index.tsx
index 7bb62ffa7..38eb6c4d3 100644
--- a/pages/signup/index.tsx
+++ b/pages/signup/index.tsx
@@ -49,11 +49,11 @@ export default function SignUpPage() {
passwordConfirmation,
})
.then(() => {
- alert('회원가입성공');
+ alert('ȸԼ');
router.replace('/login');
})
.catch(() => {
- alert('회원가입실패');
+ alert('ȸԽ');
});
};
@@ -70,7 +70,7 @@ export default function SignUpPage() {
@@ -80,20 +80,20 @@ export default function SignUpPage() {
htmlFor="email"
className="mb-[16px] text-[18px] font-bold leading-[21px]"
>
- 이메일
+ ̸
{errors?.email?.message && (
@@ -108,15 +108,15 @@ export default function SignUpPage() {
htmlFor="nickname"
className="mb-[16px] text-[18px] font-bold leading-[21px]"
>
- 닉네임
+ г
{errors?.nickname?.message && (
@@ -131,22 +131,22 @@ export default function SignUpPage() {
htmlFor="password"
className="mb-[16px] text-[18px] font-bold leading-[21px]"
>
- 비밀번호
+ йȣ
{showedPW ? (
- 비밀번호 확인
+ йȣ Ȯ
value === formValues.passwordConfirmation,
})}
type={showedPWCheck ? 'text' : 'password'}
id="checkpassword"
- placeholder="비밀번호를 다시 한 번 입력해주세요"
+ placeholder="йȣ ٽ Էּ"
className={`mb-[30px] h-[56px] w-[640px] rounded-[12px] bg-gray-200 px-[24px] py-[16px] text-[16px] font-normal leading-[24px] outline-none outline-offset-0 ${errors.passwordConfirmation ? 'outline-red-error' : 'outline-blue-active'}`}
/>
{showedPWCheck ? (
- 비밀번호가 일치하지 않습니다
+ йȣ ġ ʽϴ
)}
@@ -230,22 +230,22 @@ export default function SignUpPage() {
disabled={!isFormValid}
className="hover: h-[56px] w-[640px] cursor-pointer rounded-[40px] bg-blue-active text-[20px] font-semibold leading-[24px] text-white hover:bg-blue-hover disabled:bg-gray-400"
>
- 회원가입
+ ȸ
- 판다마켓이 처음이신가요?
+ Ǵٸ ó̽Ű?
- 로그인
+ α