Skip to content

Commit 1a47c35

Browse files
authored
Feature/CDP-216-AuthState
* CDP-216 chore⚙️ (framer-motion): framer motion 설치 * CDP-216 feat✨ (landing): landing motion 모아놓은 ts 생성 * CDP-216 refactor🔨 (landing): framer motion 적용 * CDP-216 refactor🔨 (framer-motion): framer motion 적용 * CDP-216 feat✨ (signup): signup form 애니메이션 레이어 추가 * CDP-217 feat✨ (signup): 애니메이션 상태 추가 * CDP-217 feat✨ (signup-state): 회원가입 페이지 애니메이션 상태 추가 * CDP-216 refactor🔨 (signup): type 관련 공통으로 변경 * CDP-217 feat✨ (forgotpassword): 비밀번호 찾기 페이지 스타일 및 애니메이션 상태 추가 * CDP-217 refactor🔨 (forgotpassword): 이메일 인증 번호 자동넘김 훅 추가 및 적용 * CDP-219 feat✨ (login-state): 폼 기본동작 막기 hook & 비밀번호 토글 hook & 로그인 페이지 에러, input 데이터 관리 store 추가 * CDP-220 feat✨ (signup-state): signup state 추가 * CDP-220 refactor🔨 (signup-state): 삭제된 step field 복구 * CDP-220 refactor🔨 (signup-state): 삭제된 step field 복구 * CDP-221 feat✨ (forgot-state): 비밀번호 찾기 에러 & 결과 함수 상태 추가 * CDP-216 fix🐛 (signup-group-button): props 제거
1 parent ca7980f commit 1a47c35

50 files changed

Lines changed: 1815 additions & 661 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"axios": "^1.12.2",
3636
"class-variance-authority": "^0.7.1",
3737
"clsx": "^2.1.1",
38+
"framer-motion": "^12.23.24",
3839
"lucide-react": "^0.544.0",
3940
"next": "15.5.3",
4041
"next-seo": "^6.8.0",

pnpm-lock.yaml

Lines changed: 47 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1+
import { AuthMain } from "@/components/auth/AuthMain";
2+
import { ForgotPasswordForm } from "@/components/auth/forgotPassword/ForgotPasswordForm";
3+
import { ForgotPasswordHeader } from "@/components/auth/forgotPassword/ForgotPasswordHeader";
14
import { makePageMetadata } from "@/seo/metadata";
25

36
export const metadata = {
47
...makePageMetadata({
58
title: "비밀번호 찾기",
6-
description: "PlanMate 비밀번호 찾기 1단계: 이메일 입력 페이지",
9+
description: "PlanMate 비밀번호 찾기 페이지",
710
canonical: "/forgot-password",
811
}),
912
robots: { index: false, follow: false },
1013
};
1114

1215
export default function ForgotPasswordPage() {
13-
return <div>비밀번호 찾기 - 이메일 입력 페이지</div>;
16+
return (
17+
<>
18+
<ForgotPasswordHeader />
19+
<AuthMain flow="forgot">
20+
<ForgotPasswordForm />
21+
</AuthMain>
22+
</>
23+
);
1424
}

src/app/(auth)/forgot-password/reset/page.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/app/(auth)/forgot-password/verify/page.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { AuthMain } from "@/components/auth/AuthMain";
2+
import { SignupForm } from "@/components/auth/signup/SignupForm";
3+
import { SignupHeader } from "@/components/auth/signup/SignupHeader";
4+
import { makePageMetadata } from "@/seo/metadata";
5+
6+
export const metadata = {
7+
...makePageMetadata({
8+
title: "회원가입",
9+
description: "MyPlanMate 회원가입페이지",
10+
canonical: "/signup/basic",
11+
}),
12+
robots: { index: false, follow: false },
13+
};
14+
15+
export default function SignupEmailPage() {
16+
return (
17+
<>
18+
<SignupHeader />
19+
<AuthMain flow="signup">
20+
<SignupForm />
21+
</AuthMain>
22+
</>
23+
);
24+
}

src/app/(auth)/signup/email/page.tsx

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/app/(auth)/signup/name/page.tsx

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/app/(auth)/signup/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { makePageMetadata } from "@/seo/metadata";
77
export const metadata = {
88
...makePageMetadata({
99
title: "회원가입",
10-
description: "PlanMate 회원가입 페이지",
10+
description: "MyPlanMate 회원가입 페이지",
1111
canonical: "/signup",
1212
}),
1313
robots: { index: false, follow: false }, // 인증 관련 페이지는 검색 제외

src/app/(auth)/signup/password/page.tsx

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)