-
Notifications
You must be signed in to change notification settings - Fork 3
랜딩페이지 및 인증페이지 개발 완료 #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
294172b
chore: sync 랜딩페이지 assets 그리고 페이지
yooolleee 336b57a
chore: sync sidebar styles from landing-v2
yooolleee 0779115
feat: 인증페이지 개발 및 modal 도메인 컴포넌트중 리셋패스워드 컴포넌트 코드 수정 리액트 훅폼 설치 및 zod 설치
yooolleee 8ccf2f9
chore: origin/main merge 및 Sidebar.module.css 충돌 해결
yooolleee 45de105
chore: origin/main merge 및 Sidebar.module.css 충돌 해결
yooolleee a73cab7
feat: 인증페이지 개발 카카오톡 로그인 기능 구현 및 랜딩페이지 idebar 비로그인시 그리고 로그인시 출력되는 부분 l…
yooolleee 886fd11
fix: 미사용 kakao callback 라우트 제거
yooolleee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| .wrapper { | ||
| width: 100%; | ||
| max-width: 550px; | ||
| } | ||
|
|
||
| .card { | ||
| width: 100%; | ||
| background-color: var(--color-background-primary); | ||
| border-radius: 20px; | ||
| /* figma 시안: top 72px, right 45px, bottom 70px, left 45px */ | ||
| padding: 72px 45px 70px; | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| gap: 24px; | ||
| } | ||
|
|
||
| .logoLink { | ||
| display: flex; | ||
| align-items: center; | ||
| margin-bottom: 16px; | ||
| } | ||
|
|
||
| /* PC/태블릿: logoLarge 표시 */ | ||
| .logoLarge { | ||
| display: block; | ||
| } | ||
|
|
||
| /* 모바일: logoSmall 표시 */ | ||
| .logoSmall { | ||
| display: none; | ||
| } | ||
|
|
||
| @media (max-width: 767px) { | ||
| .logoLarge { | ||
| display: none; | ||
| } | ||
|
|
||
| .logoSmall { | ||
| display: block; | ||
| } | ||
|
|
||
| .card { | ||
| padding: 48px 22px 40px; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import Link from 'next/link'; | ||
| import Image from 'next/image'; | ||
| import logoLarge from '@/assets/logos/logoLarge.svg'; | ||
| import logoSmall from '@/assets/logos/logoSmall.svg'; | ||
| import styles from './AuthCard.module.css'; | ||
|
|
||
| interface AuthCardProps { | ||
| children: React.ReactNode; | ||
| } | ||
|
|
||
| export default function AuthCard({ children }: AuthCardProps) { | ||
| return ( | ||
| <div className={styles.wrapper}> | ||
| <div className={styles.card}> | ||
| <Link href="/" className={styles.logoLink} aria-label="홈으로 이동"> | ||
| <Image src={logoLarge} alt="Coworkers 로고" className={styles.logoLarge} priority /> | ||
| <Image src={logoSmall} alt="Coworkers 로고" className={styles.logoSmall} priority /> | ||
| </Link> | ||
| {children} | ||
| </div> | ||
| </div> | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| .layout { | ||
| min-height: 100vh; | ||
| background-color: var(--color-background-secondary); | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| padding: 48px 16px; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import styles from './layout.module.css'; | ||
|
|
||
| export default function AuthLayout({ children }: { children: React.ReactNode }) { | ||
| return <div className={styles.layout}>{children}</div>; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,136 @@ | ||
| .form { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 24px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .fields { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 24px; | ||
| } | ||
|
|
||
| .fieldGroup { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 12px; | ||
| } | ||
|
|
||
| .label { | ||
| font-size: 16px; | ||
| font-weight: 500; | ||
| color: var(--color-text-primary); | ||
| } | ||
|
|
||
| /* 버튼으로 변경 - 페이지 이동이 아닌 모달 오픈 동작이므로 */ | ||
| .forgotButton { | ||
| align-self: flex-end; | ||
| background: none; | ||
| border: none; | ||
| padding: 0; | ||
| cursor: pointer; | ||
| font-size: 14px; | ||
| font-weight: 500; | ||
| color: var(--color-brand-primary); | ||
| font-family: inherit; | ||
| } | ||
|
|
||
| .forgotButton:hover { | ||
| text-decoration: underline; | ||
| } | ||
|
|
||
| .actions { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| gap: 24px; | ||
| } | ||
|
|
||
| .signupPrompt { | ||
| display: flex; | ||
| align-items: center; | ||
| gap: 12px; | ||
| margin: 0; | ||
| } | ||
|
|
||
| .promptText { | ||
| font-size: 16px; | ||
| font-weight: 500; | ||
| color: var(--color-text-primary); | ||
| } | ||
|
|
||
| .signupLink { | ||
| font-size: 16px; | ||
| font-weight: 500; | ||
| color: var(--color-brand-primary); | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .signupLink:hover { | ||
| text-decoration: underline; | ||
| } | ||
|
|
||
| /* ─── OR 구분선 ─── */ | ||
| .divider { | ||
| display: flex; | ||
| align-items: center; | ||
| gap: 16px; | ||
| } | ||
|
|
||
| .dividerLine { | ||
| flex: 1; | ||
| height: 1px; | ||
| background-color: var(--color-background-tertiary); | ||
| } | ||
|
|
||
| .dividerText { | ||
| font-size: 14px; | ||
| font-weight: 500; | ||
| color: var(--color-text-default); | ||
| white-space: nowrap; | ||
| } | ||
|
|
||
| /* ─── 간편 로그인 ─── */ | ||
| .social { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| } | ||
|
|
||
| .socialLabel { | ||
| font-size: 16px; | ||
| font-weight: 500; | ||
| color: var(--color-text-default); | ||
| } | ||
|
|
||
| .kakaoButton { | ||
| background: none; | ||
| border: none; | ||
| padding: 0; | ||
| cursor: pointer; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| } | ||
|
|
||
| .kakaoButton:disabled { | ||
| cursor: not-allowed; | ||
| opacity: 0.5; | ||
| } | ||
|
|
||
| /* 모바일 */ | ||
| @media (max-width: 767px) { | ||
| .label { | ||
| font-size: 14px; | ||
| } | ||
|
|
||
| .promptText, | ||
| .signupLink { | ||
| font-size: 14px; | ||
| } | ||
|
|
||
| .socialLabel { | ||
| font-size: 14px; | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http프로토콜을 통한 이미지 로드는 보안에 취약할 수 있습니다. 중간자 공격(MITM)에 노출될 위험이 있으므로, 특별한 이유가 없다면https프로토콜만 사용하도록 제한하는 것이 좋습니다.