-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
3,565 additions
and
34 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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,9 @@ | ||
import { SignInLayout } from "../../src/page-layout/SignInLayout/SignInLayout.jsx"; | ||
|
||
export default function SignInPage() { | ||
return ( | ||
<> | ||
<SignInLayout></SignInLayout> | ||
</> | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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,82 @@ | ||
import classNames from "classnames/bind"; | ||
import styles from "./SigninLayout.module.css"; | ||
import Link from "next/link"; | ||
|
||
const LOGO_IMAGE = "images/linkbrary.svg"; | ||
export function SignInLayout() { | ||
const cx = classNames.bind(styles); | ||
return ( | ||
<body className={cx("body")}> | ||
<header> | ||
<Link className={cx("logo-link")} href="/"> | ||
<img | ||
className={cx("header-logo")} | ||
src={LOGO_IMAGE} | ||
alt="홈으로 연결된 Linkbrary 로고" | ||
/> | ||
</Link> | ||
<p className={cx("header-message")}> | ||
회원이 아니신가요? | ||
<a className={cx("header-link")} href="signup.html"> | ||
회원 가입하기 | ||
</a> | ||
</p> | ||
</header> | ||
<div className={cx("sign-box")}> | ||
<form id="form" className={cx("sign-form")}> | ||
<div className={cx("sign-inputs")}> | ||
<div className={cx("sign-input-box")}> | ||
<label className={cx("sign-input-label")}>이메일</label> | ||
<input | ||
id="email" | ||
className={cx("sign-input")} | ||
placeholder="이메일을 입력해 주세요" | ||
/> | ||
<p id="email-error-message" className={cx("error-message")}></p> | ||
</div> | ||
<div className={cx("sign-input-box", "sign-password")}> | ||
<label className={cx("sign-input-label")}>비밀번호</label> | ||
<input | ||
id="password" | ||
className={cx("sign-input")} | ||
type="password" | ||
placeholder="영문, 숫자를 조합해 8자 이상 입력해 주세요." | ||
/> | ||
<p | ||
id="password-error-message" | ||
className={cx("error-message")} | ||
></p> | ||
<button | ||
id="password-toggle" | ||
className={cx("eye-button")} | ||
type="button" | ||
> | ||
<img src="./images/eye-off.svg" /> | ||
</button> | ||
</div> | ||
</div> | ||
<button className={cx("cta")} type="submit"> | ||
로그인 | ||
</button> | ||
</form> | ||
<div className={cx("sns-box")}> | ||
<span className={cx("sns-text")}>소셜 로그인</span> | ||
<div className={cx("sns-links")}> | ||
<a | ||
className={cx("sns-link", "google-link")} | ||
href="https://www.google.com/" | ||
> | ||
<img src="./images/google.png" /> | ||
</a> | ||
<a | ||
className={cx("sns-link", "kakao-link")} | ||
href="https://www.kakaocorp.com/page/" | ||
> | ||
<img src="./images/kakao.svg" /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
); | ||
} |
This file contains 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,184 @@ | ||
.body { | ||
height: 98.2rem; | ||
background: #f0f6ff; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
row-gap: 3rem; | ||
padding: 12rem 3.2rem 0; | ||
|
||
@media (min-width: 768px) { | ||
padding: 20rem 0 0; | ||
} | ||
|
||
@media (min-width: 1200px) { | ||
padding: 23.8rem 0 0; | ||
} | ||
} | ||
|
||
.header { | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: 1.6rem; | ||
} | ||
|
||
.logo-link { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.header-logo { | ||
height: 3.8rem; | ||
} | ||
|
||
.header-message { | ||
display: flex; | ||
column-gap: 0.8rem; | ||
font-size: 1.6rem; | ||
font-weight: 400; | ||
line-height: 150%; | ||
} | ||
|
||
.header-link { | ||
height: fit-content; | ||
font-size: 1.6rem; | ||
font-weight: 600; | ||
line-height: normal; | ||
color: #6d6afe; | ||
border-bottom: 0.1rem solid #6d6afe; | ||
} | ||
|
||
.sign-box { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
row-gap: 3.2rem; | ||
width: 100%; | ||
max-width: 40rem; | ||
|
||
@media (min-width: 768px) { | ||
width: 40rem; | ||
} | ||
} | ||
|
||
.sign-form { | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: 3rem; | ||
width: 100%; | ||
} | ||
|
||
.sign-inputs { | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: 2.4rem; | ||
} | ||
|
||
.sign-input-box { | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: 1.2rem; | ||
} | ||
|
||
.sign-password { | ||
position: relative; | ||
} | ||
|
||
.sign-input-label { | ||
font-size: 1.4rem; | ||
font-weight: 400; | ||
} | ||
|
||
.sign-input { | ||
padding: 1.8rem 1.5rem; | ||
border-radius: 0.8rem; | ||
border: 0.1rem solid #ccd5e3; | ||
font-size: 1.6rem; | ||
line-height: 150%; | ||
} | ||
|
||
.sign-input:focus { | ||
border-color: #6d6afe; | ||
} | ||
|
||
.sign-input.sign-input-error { | ||
border-color: #ff5b56; | ||
} | ||
|
||
.sign-input.sign-input-error:focus { | ||
border-color: #ff5b56; | ||
} | ||
|
||
.error-message { | ||
display: none; | ||
margin-top: -0.4rem; | ||
font-size: 1.4rem; | ||
font-weight: 400; | ||
color: #ff5b56; | ||
} | ||
|
||
.error-message.error-message-on { | ||
display: inline-block; | ||
} | ||
|
||
.eye-button { | ||
position: absolute; | ||
top: 5.1rem; | ||
right: 1.5rem; | ||
width: 1.6rem; | ||
height: 1.6rem; | ||
} | ||
|
||
.cta { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 5.4rem; | ||
background-image: linear-gradient(135deg, #6d6afe 0%, #6ae3fe 100%); | ||
border-radius: 0.8rem; | ||
color: #f5f5f5; | ||
font-size: 1.8rem; | ||
font-weight: 600; | ||
} | ||
|
||
.sns-box { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 100%; | ||
padding: 1.2rem 2.4rem; | ||
border-radius: 0.8rem; | ||
border: 0.1rem solid #ccd5e3; | ||
background-color: #e7effb; | ||
} | ||
|
||
.sns-links { | ||
display: flex; | ||
column-gap: 1.6rem; | ||
} | ||
|
||
.sns-link { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 4.2rem; | ||
height: 4.2rem; | ||
border-radius: 50%; | ||
} | ||
|
||
.sns-text { | ||
font-size: 1.4rem; | ||
font-weight: 400; | ||
color: var(--gray100); | ||
} | ||
|
||
.google-link { | ||
background-color: #ffffff; | ||
border: 0.1rem solid #d3d4dd; | ||
} | ||
|
||
.kakao-link { | ||
padding-top: 0.2rem; | ||
background-color: #f5e14b; | ||
} |
This file contains 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 @@ | ||
export * from "./SignInLayout"; |
This file contains 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,3 @@ | ||
export function SignHeader() { | ||
return <></>; | ||
} |
Empty file.
This file contains 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