-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 스프린트 미션 1 업로드 * 코드 리뷰 - 질문 주석 추가 --------- Co-authored-by: envvoo <[email protected]>
- Loading branch information
Showing
22 changed files
with
456 additions
and
0 deletions.
There are no files selected for viewing
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,52 @@ | ||
.footer__wrap { | ||
background: var(--Secondary-900); | ||
padding: 32px 400px; | ||
} | ||
|
||
.footer__content { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: flex-start; | ||
} | ||
|
||
.footer__copyright { | ||
color: var(--Secondary-400); | ||
text-align: center; | ||
|
||
font-size: 16px; | ||
font-weight: 400; | ||
line-height: normal; | ||
} | ||
|
||
.footer__info-wrap { | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
|
||
.footer__info { | ||
text-decoration: none; | ||
color: var(--Secondary-200); | ||
text-align: center; | ||
|
||
font-size: 16px; | ||
font-weight: 400; | ||
line-height: normal; | ||
} | ||
|
||
.footer__info:first-child { | ||
margin: 0 30px 0 0; | ||
} | ||
|
||
.footer__shortcut-btns { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.footer__shortcut-btn { | ||
display: flex; | ||
} | ||
|
||
.footer__shortcut-btn:not(:last-child) { | ||
margin: 0 12px 0 0; | ||
} |
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,31 @@ | ||
.header__wrap { | ||
border-bottom: 1px solid #dfdfdf; | ||
} | ||
|
||
.header__content { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.header__logo { | ||
display: flex; | ||
} | ||
|
||
/* Q. height의 높이가 차이 나는 이유? | ||
div, div > a !== div > a > img | ||
height = 55 !== 51 | ||
display: inline-block or flex로 해결 */ | ||
|
||
.header__login-btn { | ||
text-decoration: none; | ||
padding: 12px 23px; | ||
border-radius: 8px; | ||
color: var(--Secondary-100); | ||
background-color: var(--Primary-100); | ||
|
||
/* pretendard/lg-16px-semibold */ | ||
font-size: 16px; | ||
font-weight: 600; | ||
line-height: 26px; | ||
} |
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,126 @@ | ||
.landing-vertical { | ||
display: flex; | ||
justify-content: center; | ||
align-items: flex-end; | ||
height: 540px; | ||
background: #cfe5ff; | ||
} | ||
|
||
.landing-vertical__wrap { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin: 200px 405px 0 405px; | ||
} | ||
|
||
.landing-vertical__content { | ||
display: flex; | ||
flex-direction: column; | ||
padding: 0 0 60px 0; | ||
gap: 32px; | ||
} | ||
|
||
.landing-vertical__title { | ||
color: var(--Secondary-700); | ||
font-size: 40px; | ||
font-weight: 700; | ||
line-height: 140%; /* 56px */ | ||
margin: 0; | ||
} | ||
|
||
.landing-vertical__btn-link { | ||
text-decoration: none; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 10px; | ||
height: 56px; | ||
border-radius: 40px; | ||
padding: 16px 124px; | ||
color: var(--Secondary-50); | ||
background-color: var(--Primary-100); | ||
} | ||
|
||
.landing-vertical__btn-text { | ||
/* pretendard/xl-20px-semibold */ | ||
font-size: 20px; | ||
font-weight: 600; | ||
line-height: 32px; | ||
} | ||
|
||
.landing-vertical__wrap--bottom { | ||
gap: 69px; | ||
} | ||
|
||
.landing-main { | ||
background-color: #fcfcfc; | ||
padding: 0 0 138px 0; | ||
} | ||
|
||
.landing-main__wrap { | ||
display: flex; | ||
background-color: #ffffff; | ||
} | ||
|
||
.landing-main__wrap:first-child { | ||
padding: 138px 605px 138px 360px; | ||
} | ||
|
||
.landing-main__wrap--right { | ||
justify-content: flex-end; | ||
padding: 138px 360px 138px 591px; | ||
} | ||
|
||
.landing-main__wrap:last-child { | ||
padding: 138px 573px 138px 360px; | ||
} | ||
|
||
.landing-main__card { | ||
display: flex; | ||
align-items: center; | ||
background: #fcfcfc; | ||
gap: 64px; | ||
} | ||
|
||
.landing-main__card--right { | ||
justify-content: flex-end; | ||
} | ||
|
||
.landing-main__content { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.landing-main__content--right { | ||
text-align: right; | ||
} | ||
|
||
.landing-main__keyword { | ||
color: var(--Primary-100); | ||
|
||
/* pretendard/2lg-18px-bold */ | ||
font-size: 18px; | ||
font-weight: 700; | ||
line-height: 26px; | ||
margin: 0; | ||
} | ||
|
||
.landing-main__title { | ||
color: var(--Secondary-700); | ||
margin: 12px 0 24px; | ||
|
||
font-size: 40px; | ||
font-weight: 700; | ||
line-height: 140%; | ||
letter-spacing: 0.8px; | ||
} | ||
|
||
.landing-main__desc { | ||
color: var(--Secondary-700); | ||
margin: 0; | ||
|
||
/* pretendard/2xl-24px-medium */ | ||
font-size: 24px; | ||
font-weight: 500; | ||
line-height: 32px; | ||
} |
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,45 @@ | ||
@import "variables.css"; | ||
|
||
/* components */ | ||
@import "components/header.css"; | ||
@import "components/footer.css"; | ||
|
||
/* screens */ | ||
@import "screens/landing-page.css"; | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
html { | ||
width: 100vw; | ||
overflow-x: hidden; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: Pretendard; | ||
font-style: normal; | ||
} | ||
|
||
.landing-vertical__wrap, | ||
.landing-main__wrap, | ||
.footer__wrap { | ||
text-wrap: nowrap; | ||
} | ||
|
||
@media (min-width: 1920px) { | ||
.header__wrap { | ||
padding: 9px 400px; | ||
} | ||
} | ||
|
||
@media (max-width: 1919px) { | ||
.header__wrap { | ||
padding: 9px 200px; | ||
} | ||
} | ||
|
||
/* Q. header__wrap에 padding: 9px 200px을, | ||
@media (min-width: 1920px)로 9px 400px을 할당했을 때 | ||
미디어 쿼리가 작동하지 않는 이유? */ |
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,17 @@ | ||
:root { | ||
/* Primary color */ | ||
--Primary-100: #3692ff; | ||
--Primary-200: #1967d6; | ||
--Primary-300: #1251aa; | ||
|
||
/* Secondary color */ | ||
--Secondary-900: #111827; | ||
--Secondary-800: #1f2937; | ||
--Secondary-700: #374151; | ||
--Secondary-600: #4b5563; | ||
--Secondary-500: #6b7280; | ||
--Secondary-400: #9ca3af; | ||
--Secondary-200: #e5e7eb; | ||
--Secondary-100: #f3f4f6; | ||
--Secondary-50: #f9fafb; | ||
} |
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.
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.
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.
Oops, something went wrong.