Skip to content

Commit fd0442f

Browse files
김지윤envvoo
andauthored
[김지윤] Sprint1 (#11)
* 스프린트 미션 1 업로드 * 코드 리뷰 - 질문 주석 추가 --------- Co-authored-by: envvoo <eoni090@gmail.com>
1 parent 4dc5dd0 commit fd0442f

22 files changed

+456
-0
lines changed

css/components/footer.css

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
.footer__wrap {
2+
background: var(--Secondary-900);
3+
padding: 32px 400px;
4+
}
5+
6+
.footer__content {
7+
display: flex;
8+
justify-content: space-between;
9+
align-items: flex-start;
10+
}
11+
12+
.footer__copyright {
13+
color: var(--Secondary-400);
14+
text-align: center;
15+
16+
font-size: 16px;
17+
font-weight: 400;
18+
line-height: normal;
19+
}
20+
21+
.footer__info-wrap {
22+
display: flex;
23+
justify-content: space-between;
24+
}
25+
26+
.footer__info {
27+
text-decoration: none;
28+
color: var(--Secondary-200);
29+
text-align: center;
30+
31+
font-size: 16px;
32+
font-weight: 400;
33+
line-height: normal;
34+
}
35+
36+
.footer__info:first-child {
37+
margin: 0 30px 0 0;
38+
}
39+
40+
.footer__shortcut-btns {
41+
display: flex;
42+
justify-content: center;
43+
align-items: center;
44+
}
45+
46+
.footer__shortcut-btn {
47+
display: flex;
48+
}
49+
50+
.footer__shortcut-btn:not(:last-child) {
51+
margin: 0 12px 0 0;
52+
}

css/components/header.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.header__wrap {
2+
border-bottom: 1px solid #dfdfdf;
3+
}
4+
5+
.header__content {
6+
display: flex;
7+
justify-content: space-between;
8+
align-items: center;
9+
}
10+
11+
.header__logo {
12+
display: flex;
13+
}
14+
15+
/* Q. height의 높이가 차이 나는 이유?
16+
div, div > a !== div > a > img
17+
height = 55 !== 51
18+
display: inline-block or flex로 해결 */
19+
20+
.header__login-btn {
21+
text-decoration: none;
22+
padding: 12px 23px;
23+
border-radius: 8px;
24+
color: var(--Secondary-100);
25+
background-color: var(--Primary-100);
26+
27+
/* pretendard/lg-16px-semibold */
28+
font-size: 16px;
29+
font-weight: 600;
30+
line-height: 26px;
31+
}

css/screens/landing-page.css

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
.landing-vertical {
2+
display: flex;
3+
justify-content: center;
4+
align-items: flex-end;
5+
height: 540px;
6+
background: #cfe5ff;
7+
}
8+
9+
.landing-vertical__wrap {
10+
display: flex;
11+
justify-content: space-between;
12+
align-items: center;
13+
margin: 200px 405px 0 405px;
14+
}
15+
16+
.landing-vertical__content {
17+
display: flex;
18+
flex-direction: column;
19+
padding: 0 0 60px 0;
20+
gap: 32px;
21+
}
22+
23+
.landing-vertical__title {
24+
color: var(--Secondary-700);
25+
font-size: 40px;
26+
font-weight: 700;
27+
line-height: 140%; /* 56px */
28+
margin: 0;
29+
}
30+
31+
.landing-vertical__btn-link {
32+
text-decoration: none;
33+
display: flex;
34+
justify-content: center;
35+
align-items: center;
36+
gap: 10px;
37+
height: 56px;
38+
border-radius: 40px;
39+
padding: 16px 124px;
40+
color: var(--Secondary-50);
41+
background-color: var(--Primary-100);
42+
}
43+
44+
.landing-vertical__btn-text {
45+
/* pretendard/xl-20px-semibold */
46+
font-size: 20px;
47+
font-weight: 600;
48+
line-height: 32px;
49+
}
50+
51+
.landing-vertical__wrap--bottom {
52+
gap: 69px;
53+
}
54+
55+
.landing-main {
56+
background-color: #fcfcfc;
57+
padding: 0 0 138px 0;
58+
}
59+
60+
.landing-main__wrap {
61+
display: flex;
62+
background-color: #ffffff;
63+
}
64+
65+
.landing-main__wrap:first-child {
66+
padding: 138px 605px 138px 360px;
67+
}
68+
69+
.landing-main__wrap--right {
70+
justify-content: flex-end;
71+
padding: 138px 360px 138px 591px;
72+
}
73+
74+
.landing-main__wrap:last-child {
75+
padding: 138px 573px 138px 360px;
76+
}
77+
78+
.landing-main__card {
79+
display: flex;
80+
align-items: center;
81+
background: #fcfcfc;
82+
gap: 64px;
83+
}
84+
85+
.landing-main__card--right {
86+
justify-content: flex-end;
87+
}
88+
89+
.landing-main__content {
90+
display: flex;
91+
flex-direction: column;
92+
}
93+
94+
.landing-main__content--right {
95+
text-align: right;
96+
}
97+
98+
.landing-main__keyword {
99+
color: var(--Primary-100);
100+
101+
/* pretendard/2lg-18px-bold */
102+
font-size: 18px;
103+
font-weight: 700;
104+
line-height: 26px;
105+
margin: 0;
106+
}
107+
108+
.landing-main__title {
109+
color: var(--Secondary-700);
110+
margin: 12px 0 24px;
111+
112+
font-size: 40px;
113+
font-weight: 700;
114+
line-height: 140%;
115+
letter-spacing: 0.8px;
116+
}
117+
118+
.landing-main__desc {
119+
color: var(--Secondary-700);
120+
margin: 0;
121+
122+
/* pretendard/2xl-24px-medium */
123+
font-size: 24px;
124+
font-weight: 500;
125+
line-height: 32px;
126+
}

css/styles.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
@import "variables.css";
2+
3+
/* components */
4+
@import "components/header.css";
5+
@import "components/footer.css";
6+
7+
/* screens */
8+
@import "screens/landing-page.css";
9+
10+
* {
11+
box-sizing: border-box;
12+
}
13+
14+
html {
15+
width: 100vw;
16+
overflow-x: hidden;
17+
}
18+
19+
body {
20+
margin: 0;
21+
font-family: Pretendard;
22+
font-style: normal;
23+
}
24+
25+
.landing-vertical__wrap,
26+
.landing-main__wrap,
27+
.footer__wrap {
28+
text-wrap: nowrap;
29+
}
30+
31+
@media (min-width: 1920px) {
32+
.header__wrap {
33+
padding: 9px 400px;
34+
}
35+
}
36+
37+
@media (max-width: 1919px) {
38+
.header__wrap {
39+
padding: 9px 200px;
40+
}
41+
}
42+
43+
/* Q. header__wrap에 padding: 9px 200px을,
44+
@media (min-width: 1920px)로 9px 400px을 할당했을 때
45+
미디어 쿼리가 작동하지 않는 이유? */

css/variables.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
:root {
2+
/* Primary color */
3+
--Primary-100: #3692ff;
4+
--Primary-200: #1967d6;
5+
--Primary-300: #1251aa;
6+
7+
/* Secondary color */
8+
--Secondary-900: #111827;
9+
--Secondary-800: #1f2937;
10+
--Secondary-700: #374151;
11+
--Secondary-600: #4b5563;
12+
--Secondary-500: #6b7280;
13+
--Secondary-400: #9ca3af;
14+
--Secondary-200: #e5e7eb;
15+
--Secondary-100: #f3f4f6;
16+
--Secondary-50: #f9fafb;
17+
}

faq.html

Whitespace-only changes.

images/footer/ic_facebook.png

386 Bytes
Loading

images/footer/ic_instagram.png

396 Bytes
Loading

images/footer/ic_twitter.png

334 Bytes
Loading

images/footer/ic_youtube.png

286 Bytes
Loading

0 commit comments

Comments
 (0)