diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 0897bae..b40d056 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,116 +1,114 @@ // import { Inter } from 'next/font/google'; -import { userinfo } from '@/api/auth/auth.get.api'; -import Layout from '@/components/layout/Layout'; +// import { userinfo } from '@/api/auth/auth.get.api'; +// import Layout from '@/components/layout/Layout'; import Image from 'next/image'; -import { useEffect } from 'react'; +// import { useEffect } from 'react'; // const inter = Inter({ subsets: ['latin'] }); export default function Home() { - useEffect(() => { - userinfo(); - }, []); + // useEffect(() => { + // userinfo(); + // }, []); return (
- -
-

-
- - By{' '} - Vercel Logo - -
-
- -
- Next.js Logo -
- -
+
+

+
-

- Docs{' '} - - -> - -

-

- Find in-depth information about Next.js features and API. -

+ By{' '} + Vercel Logo
+
+
- -

- Learn{' '} - - -> - -

-

- Learn about Next.js in an interactive course with quizzes! -

-
+
+ Next.js Logo +
- -

- Templates{' '} - - -> - -

-

- Discover and deploy boilerplate example Next.js projects. -

-
+
+ +

+ Docs{' '} + + -> + +

+

+ Find in-depth information about Next.js features and API. +

+
- -

- Deploy{' '} - - -> - -

-

- Instantly deploy your Next.js site to a shareable URL with Vercel. -

-
-
- + +

+ Learn{' '} + + -> + +

+

+ Learn about Next.js in an interactive course with quizzes! +

+
+ + +

+ Templates{' '} + + -> + +

+

+ Discover and deploy boilerplate example Next.js projects. +

+
+ + +

+ Deploy{' '} + + -> + +

+

+ Instantly deploy your Next.js site to a shareable URL with Vercel. +

+
+
); } diff --git a/src/pages/sign/index.tsx b/src/pages/sign/index.tsx index 92aad37..8605686 100644 --- a/src/pages/sign/index.tsx +++ b/src/pages/sign/index.tsx @@ -1,4 +1,3 @@ -import Layout from '@/components/layout/Layout'; import MainContainer from '@/components/shared/MainContainer'; import SignInButton from '@/components/shared/sign/SignInButton'; import SignUpButton from '@/components/shared/sign/SignUpButton'; @@ -8,38 +7,36 @@ import Link from 'next/link'; const SignHomePage = () => { return ( - -
-
- -
-
- - 예약하고, 탐색하고, 성장하는 -
-
- - 멀티 서비스 오피스 - -
+
+
+
- -
- - +
+ + 예약하고, 탐색하고, 성장하는 +
+
+ + 멀티 서비스 오피스 +
+
-
- - 비밀번호를 잊으셨나요?{' '} +
+ + +
+ +
+ + 비밀번호를 잊으셨나요?{' '} + + + + 비밀번호 찾기{' '} - - - 비밀번호 찾기{' '} - - -
- + +
); }; diff --git a/src/pages/signup/index.tsx b/src/pages/signup/index.tsx index 8b7b29c..9ee3b24 100644 --- a/src/pages/signup/index.tsx +++ b/src/pages/signup/index.tsx @@ -16,16 +16,16 @@ const SignUpPage = () => { const { mutateAsync: signUpReq } = useMutation( ({ - memberEmail, - memberPassword, + email, + password, memberName, memberJob, memberPhone, memberSmsAgree }: ISignUp) => { return signup({ - memberEmail, - memberPassword, + email, + password, memberName, memberJob, memberPhone, @@ -57,24 +57,24 @@ const SignUpPage = () => { const handleNameAndEmail = ( name: ApplyValues['memberName'], - email: ApplyValues['memberEmail'] + email: ApplyValues['password'] ) => { setApplyValues((prev) => ({ ...prev, memberName: name, - memberEmail: email, + email: email, step: (prev.step as number) + 1 })); }; const handleRemainData = ( - password: ApplyValues['memberPassword'], + password: ApplyValues['password'], job: ApplyValues['memberJob'], smsAgree: ApplyValues['memberSmsAgree'] ) => { setApplyValues((prev) => ({ ...prev, - memberPassword: password, + password: password, memberJob: job, memberSmsAgree: smsAgree, step: (prev.step as number) + 1 @@ -84,8 +84,8 @@ const SignUpPage = () => { useEffect(() => { if (applyValues.step === 3) { signUpReq({ - memberEmail: applyValues.memberEmail as string, - memberPassword: applyValues.memberPassword as string, + email: applyValues.email as string, + password: applyValues.password as string, memberName: applyValues.memberName as string, memberJob: applyValues.memberJob as string, memberPhone: applyValues.memberPhone as string,