-
Notifications
You must be signed in to change notification settings - Fork 31
[홍수민] Sprint 1 #57
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
The head ref may contain hidden characters: "Basic-\uD64D\uC218\uBBFC-sprint1"
[홍수민] Sprint 1 #57
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,142 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>판다마켓</title> | ||
| <link rel="icon" href="images/logo/favicon.ico" /> | ||
| <link rel="stylesheet" href="styles/global.css" /> | ||
| <link rel="stylesheet" href="styles/styles.css" /> | ||
| </head> | ||
|
|
||
| <body> | ||
| <header> | ||
| <a href="/" | ||
| ><img | ||
| src="images/logo/panda-market-logo.png" | ||
| alt="판다마켓 홈" | ||
| width="153" | ||
| /></a> | ||
| <a href="login.html" class="btn btn-small btn-primary loginLinkButton" | ||
| >로그인</a | ||
| > | ||
| </header> | ||
|
|
||
| <main> | ||
| <section class="banner"> | ||
| <div id="banner" class="wrapper"> | ||
| <div> | ||
| <h1 id="banner-top" class="banner-font"> | ||
| 일상의 모든 물건을 | ||
| <br /> | ||
| 거래해 보세요 | ||
| </h1> | ||
| <a href="items.html" class="btn btn-large btn-primary" | ||
| >구경하러 가기</a | ||
| > | ||
| </div> | ||
| <img src="images/home/Img_home_top.png" width="60%" /> | ||
| </div> | ||
| </section> | ||
|
|
||
| <section class="wrapper section-wrapper"> | ||
| <div class="section-item"> | ||
| <div class="section-img-wrapper"> | ||
| <img src="images/home/Img_home_01.png" alt="인기 상품" /> | ||
| </div> | ||
| <div class="section-content"> | ||
| <div class="section-title"> | ||
| <h2 class="section-tag">Hot item</h2> | ||
| <h1> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. h tag 는 계층 구조로 사용하시는 것이 접근성에 좋습니다! h1은 페이지에 하나가 되어야합니다 :) https://developer.mozilla.org/ko/docs/Web/HTML/Element/Heading_Elements#사용_일람 |
||
| 인기 상품을<br /> | ||
| 확인해보세요 | ||
| </h1> | ||
| </div> | ||
| <p class="text-2xl section-des"> | ||
| 가장 HOT한 중고거래 물품을<br />판다 마켓에서 확인해 보세요 | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <div class="section-item"> | ||
| <div class="section-content"> | ||
| <div class="section-title"> | ||
| <h2 class="section-tag">Search</h2> | ||
| <h1>구매를 원하는<br />상품을 검색하세요</h1> | ||
| </div> | ||
| <p class="text-2xl section-des"> | ||
| 구매하고 싶은 물품은 검색해서<br />쉽게 찾아보세요 | ||
| </p> | ||
| </div> | ||
| <div class="section-img-wrapper"> | ||
| <img src="images/home/Img_home_02.png" /> | ||
| </div> | ||
| </div> | ||
| <div class="section-item"> | ||
| <div class="section-img-wrapper"> | ||
| <img src="images/home/Img_home_03.png" alt="판매 상품 등록" /> | ||
| </div> | ||
| <div class="section-content"> | ||
| <div class="section-title"> | ||
| <h2 class="section-tag">Register</h2> | ||
| <h1> | ||
| 판매를 원하는 | ||
| <br /> | ||
| 상품을 등록하세요 | ||
| </h1> | ||
| </div> | ||
| <p class="text-2xl section-des"> | ||
| 어떤 물건이든 판매하고 싶은 상품을 | ||
| <br /> | ||
| 쉽게 등록하세요 | ||
| </p> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| <section class="banner"> | ||
| <div id="banner" class="wrapper"> | ||
| <h1 class="banner-font"> | ||
| 믿을 수 있는 | ||
| <br /> | ||
| 판다마켓 중고 거래 | ||
| </h1> | ||
| <img src="images/home/Img_home_bottom.png" width="60%" /> | ||
| </div> | ||
| </section> | ||
| </main> | ||
|
|
||
| <footer> | ||
| <div>@codeit - 2024</div> | ||
| <div id="footerMenu"> | ||
| <a href="privacy.html">Privacy Policy</a> | ||
| <a href="faq.html">FAQ</a> | ||
| </div> | ||
| <div id="socialMedia"> | ||
| <a | ||
| href="https://www.facebook.com/" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. opener, referrer까지 꼼꼼하게 챙겨주셨군요! 💯 |
||
| ><img src="images/social/ic_facebook.png" alt="페이스북" width="20" | ||
| /></a> | ||
| <a href="https://twitter.com/" target="_blank" rel="noopener noreferrer" | ||
| ><img src="images/social/ic_twitter.png" alt="트위터" width="20" | ||
| /></a> | ||
| <a | ||
| href="https://www.youtube.com/" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| ><img src="images/social/ic_youtube.png" alt="유튜브" width="20" | ||
| /></a> | ||
| <a | ||
| href="https://www.instagram.com/" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| ><img | ||
| src="images/social/ic_instagram.png" | ||
| alt="인스타그램" | ||
| width="20" | ||
| /></a> | ||
| </div> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| :root { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 변수를 정의해 주셨네요! 👍 |
||
| /* Primary Colors */ | ||
| --primary-100: #3692FF; | ||
| --primary-200: #1967D6; | ||
| --primary-300: #1251AA; | ||
|
|
||
| /* Secondary Colors */ | ||
| --gray-900: #111827; | ||
| --gray-800: #1F2937; | ||
| --gray-700: #374151; | ||
| --gray-600: #4B5563; | ||
| --gray-500: #6B7280; | ||
| --gray-400: #9CA3AF; | ||
| --gray-300: #E5E7EB; | ||
| --gray-200: #F3F4F6; | ||
| --gray-100: #F9FAFB; | ||
| --gray-50: #F9FAFB; | ||
|
|
||
| /*Error Color */ | ||
| --error-red: #F74747; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| @import url(../color.css); | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 벌써 컴포넌트 단위로 스타일을 정의해 주셨군요!! 😮 |
||
| @import url(../typography.css); | ||
|
|
||
| /* Button Base Style*/ | ||
| .btn { | ||
| display: inline-block; | ||
| font-family: inherit; | ||
| font-weight: 600; | ||
| padding: 8px 0; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .btn:disabled { | ||
| cursor: default; | ||
| pointer-events: none; | ||
| } | ||
|
|
||
| /* Size Variants */ | ||
| .btn-large { | ||
| border-radius: 40px; | ||
| padding: 12px 124px; | ||
| font-size: var(--text-xl); | ||
| line-height: var(--text-xl); | ||
| } | ||
|
|
||
| .btn-medium { | ||
| border-radius: 40px; | ||
| padding: 11px 71px; | ||
| font-size: var(--text-2lg); | ||
| line-height: var(--text-2lg); | ||
| } | ||
|
|
||
| .btn-small { | ||
| border-radius: 8px; | ||
| padding: 8px 0; | ||
| font-size: var(--text-lg); | ||
| line-height: var(--text-lg); | ||
| } | ||
|
|
||
| /* Color Variants */ | ||
| .btn-primary { | ||
| background-color: var(--primary-100); | ||
| color: var(--gray-100); | ||
| } | ||
|
|
||
| .btn-primary:hover { | ||
| background-color: var(--primary-200); | ||
| } | ||
|
|
||
| .btn-primary:active { | ||
| background-color: var(--primary-300); | ||
| } | ||
|
|
||
| .btn-primary:disabled { | ||
| background-color: var(--gray-400); | ||
| } | ||
|
|
||
| .btn-outline { | ||
| background-color: var(--gray-50); | ||
| color: var(--primary-100); | ||
| border: 10x solid var(--primary-100); | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| * { | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| a { | ||
| text-decoration: none; | ||
| color: inherit; | ||
| } | ||
|
|
||
| button { | ||
| cursor: pointer; | ||
| background: none; | ||
| border: none; | ||
| } | ||
|
|
||
| h1 { | ||
| font-weight: 700; | ||
| font-size: 40px; | ||
| line-height: 56px; | ||
| } | ||
|
|
||
| img { | ||
| vertical-align: bottom; | ||
| } | ||
|
|
||
| body { | ||
| width: 100%; | ||
| } | ||
|
|
||
| header { | ||
| width: 100%; | ||
| height: 70px; | ||
| border-bottom: 1px solid #dfdfdf; | ||
| padding: 0 200px; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| } | ||
|
|
||
| footer { | ||
| background-color: #111827; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| padding: 32px 200px 108px 200px; | ||
| font-weight: 400; | ||
| font-size: 16px; | ||
| line-height: 19.09px; | ||
| text-align: center; | ||
| } | ||
|
|
||
| #footerMenu { | ||
| display: flex; | ||
| gap: 30px; | ||
| color: #f3f4f6; | ||
| } | ||
|
|
||
| #socialMedia { | ||
| display: flex; | ||
| gap: 12px; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| /* tokens */ | ||
| @import url(./color.css); | ||
| @import url(./typography.css); | ||
|
|
||
| /* components */ | ||
| @import url(./components/button.css); | ||
|
|
||
| .loginLinkButton { | ||
| padding: 11px 43px; | ||
| } | ||
|
|
||
| .banner { | ||
| height: 540px; | ||
| background-color: #cfe5ff; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: flex-end; | ||
| } | ||
|
|
||
| #banner-top { | ||
| margin-bottom: 32px; | ||
| } | ||
|
|
||
| .banner-font { | ||
| font-weight: 700; | ||
| font-size: 40px; | ||
| line-height: 56px; | ||
| color: var(--gray-700); | ||
| } | ||
|
|
||
| .wrapper { | ||
| width: 100%; | ||
| max-width: 1200px; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| .wrapper#banner { | ||
| display: flex; | ||
| justify-content: center; | ||
| flex: 1; | ||
| } | ||
|
|
||
| .section-wrapper { | ||
| padding-bottom: 138px; | ||
| } | ||
|
|
||
| .section-item { | ||
| margin: 138px 0; | ||
| display: flex; | ||
| align-items: center; | ||
| gap: 5%; | ||
| background-color: #fcfcfc; | ||
| } | ||
|
|
||
| .section-img-wrapper { | ||
| height: 444px; | ||
| } | ||
|
|
||
| .section-img-wrapper img { | ||
| width: 100%; | ||
| height: 100%; | ||
| object-fit: cover; | ||
| } | ||
|
|
||
| .section-content { | ||
| flex: 1; | ||
| } | ||
|
|
||
| .section-tag { | ||
| font-size: var(--text-21g); | ||
| font-weight: 700; | ||
| line-height: var(--line-height-2lg); | ||
| color: var(--primary-100); | ||
| margin-bottom: 12px; | ||
| } | ||
|
|
||
| .section-title h1 { | ||
| letter-spacing: 2%; | ||
| } | ||
|
|
||
| .section-des { | ||
| font-weight: 500; | ||
| color: var(--gray-700); | ||
| margin-top: 24px; | ||
| } | ||
|
|
||
| .section-item:nth-child(2) { | ||
| text-align: right; | ||
| } | ||
|
|
||
| footer > div { | ||
| color: #9ca3af; | ||
| } |
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.
<html lang="ko">lang에 신경써주세요.SEO, 접근성에 도움이 됩니다!