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/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/_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..38eb6c4d3 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'; @@ -50,11 +49,11 @@ export default function SignUpPage() { passwordConfirmation, }) .then(() => { - alert('회원가입성공'); + alert('ȸԼ'); router.replace('/login'); }) .catch(() => { - alert('회원가입실패'); + alert('ȸԽ'); }); }; @@ -71,7 +70,7 @@ export default function SignUpPage() { 회원가입 페이지 로고 @@ -81,20 +80,20 @@ export default function SignUpPage() { htmlFor="email" className="mb-[16px] text-[18px] font-bold leading-[21px]" > - 이메일 + ̸ {errors?.email?.message && ( @@ -109,15 +108,15 @@ export default function SignUpPage() { htmlFor="nickname" className="mb-[16px] text-[18px] font-bold leading-[21px]" > - 닉네임 + г {errors?.nickname?.message && ( @@ -132,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 ? ( 보이기 - 비밀번호가 일치하지 않습니다 + йȣ ġ ʽϴ

)} @@ -231,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" > - 회원가입 + ȸ

- 간편 로그인하기 + αϱ

- 구글 로그인 - 카카오톡 로그인 +  α + īī α
- 판다마켓이 처음이신가요? + Ǵٸ ó̽Ű? - 로그인 + α