-
Notifications
You must be signed in to change notification settings - Fork 39
[명지우] sprint1 #23
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-\uBA85\uC9C0\uC6B0-sprint1"
[명지우] sprint1 #23
Changes from all commits
79774ad
bd69ddd
a2deb41
5a3735f
d5c4207
080c138
dddc7da
267a516
b68e7e4
9310fc8
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,26 @@ | ||
| ## 판다마켓 | ||
|
|
||
| ### 기본 요구사항 | ||
|
|
||
| - [x] 피그마 디자인에 맞게 페이지 제작 | ||
| - [x] UI 라이브러리 없이 진행 | ||
| - [x] HTML, CSS 파일을 Netlify로 배포 | ||
| -> https://myungjiwoo-panda-market.netlify.app/ | ||
| - [x] PC 사이즈 기준 | ||
|
|
||
| ### 체크 리스트 (기본) | ||
|
|
||
| - [x] 랜딩 페이지의 url path는 루트로 설정 | ||
| - [x] title은 "판다마켓" | ||
| - [x] 화면의 너비가 1920px 이상이면 하늘색 배경은 너비를 꽉 채우고, 내부 요소들의 위치는 고정되며, 여백만 커지도록 함 | ||
| - [x] 화면의 너비가 1920px보다 작아질 때, "판다마켓" 로고의 왼쪽 여백 200px "로그인" 버튼의 오른쪽 여백 200px이 유지되고, 화면의 너비가 작아질수록 두 요소 간의 거리가 가까워짐 | ||
| - [x] 클릭으로 동작해야 하는 경우, 마우스 커서의 모양을 pointer로 변경 | ||
| - [x] "판다마켓" 클릭 시 루트 페이지로 이동 | ||
| - [x] "로그인" 버튼 클릭 시 로그인 페이지("/login")로 이동 (빈 페이지) | ||
| - [x] "구경하러가기" 버튼 클릭 시 ("/items")로 이동 (빈 페이지) | ||
| - [x] "Priacy Policy", "FAQ"는 클릭 시 각각 Privacy 페이지("/privacy"), FAQ 페이지("/faq")로 이동 (빈 페이지) | ||
| - [x] 페이스북, 트위터, 유튜브, 인스타그램 아이콘을 클릭 시 각각의 홈페이지로 새로운 창이 열리면서 이동 | ||
|
|
||
| ### 체크 리스트 (심화) | ||
|
|
||
| - [x] 브라우저가 크고 작아짐에 따라 페이지의 요소간 간격, 요소의 크기, font-size 등 모든 크기와 관련된 값이 크고 작아지도록 설정 (상세 설정은 자유) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>판다마켓 - FAQ</title> | ||
| </head> | ||
| <body></body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,130 @@ | ||||||||||||||||||||||
| <!DOCTYPE html> | ||||||||||||||||||||||
| <html lang="ko"> | ||||||||||||||||||||||
| <head> | ||||||||||||||||||||||
| <meta charset="UTF-8" /> | ||||||||||||||||||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||||||||||||||||||
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | ||||||||||||||||||||||
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||||||||||||||||||||||
| <link | ||||||||||||||||||||||
| href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&family=Poppins:wght@400;700&display=swap" | ||||||||||||||||||||||
| rel="stylesheet" | ||||||||||||||||||||||
| /> | ||||||||||||||||||||||
|
Comment on lines
+8
to
+11
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. ❗️ 수정요청 |
||||||||||||||||||||||
| <link rel="stylesheet" href="styles/base.css" /> | ||||||||||||||||||||||
| <link rel="stylesheet" href="styles/header.css" /> | ||||||||||||||||||||||
| <link rel="stylesheet" href="styles/banner.css" /> | ||||||||||||||||||||||
| <link rel="stylesheet" href="styles/section.css" /> | ||||||||||||||||||||||
| <link rel="stylesheet" href="styles/footer.css" /> | ||||||||||||||||||||||
| <!-- 반응형 : 타블렛, 핸드폰 지원 --> | ||||||||||||||||||||||
| <link rel="stylesheet" href="styles/tablet.css" /> | ||||||||||||||||||||||
| <link rel="stylesheet" href="styles/phone.css" /> | ||||||||||||||||||||||
|
Comment on lines
+12
to
+19
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. 💊 제안
Suggested change
페이지에 대응하는 css 파일을 만들고 내부적으로 해당 페이지 구현을 위해 필요한 css 들을 import하는 방식입니다. |
||||||||||||||||||||||
| <title>판다마켓</title> | ||||||||||||||||||||||
| </head> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| <body> | ||||||||||||||||||||||
| <header> | ||||||||||||||||||||||
| <a href="/"> | ||||||||||||||||||||||
| <img src="images/Img_logo.png" alt="로고 이미지" class="image-logo" /> | ||||||||||||||||||||||
|
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. 💊 제안 img 태그의 alt 속성은 alternative 라는 의미로, 이미지 파일을 다운로드하는 것에 실패해서 이미지 파일을 보여줄 수 없을 때
Suggested change
|
||||||||||||||||||||||
| </a> | ||||||||||||||||||||||
| <a href="login.html"> | ||||||||||||||||||||||
| <div class="btn-login">로그인</div> | ||||||||||||||||||||||
| </a> | ||||||||||||||||||||||
| </header> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| <div class="home-top-banner"> | ||||||||||||||||||||||
| <div> | ||||||||||||||||||||||
| <div class="banner-content"> | ||||||||||||||||||||||
| <p class="banner-title"> | ||||||||||||||||||||||
| 일상의 모든 물건을<br /> | ||||||||||||||||||||||
| 거래해 보세요 | ||||||||||||||||||||||
| </p> | ||||||||||||||||||||||
| <a href="items.html"> | ||||||||||||||||||||||
| <div class="btn-explore">구경하러 가기</div> | ||||||||||||||||||||||
| </a> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| <img | ||||||||||||||||||||||
| src="images/Img_home_top.png" | ||||||||||||||||||||||
| alt="상단 배너 이미지" | ||||||||||||||||||||||
| class="image-top-banner" | ||||||||||||||||||||||
| /> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| <section> | ||||||||||||||||||||||
| <div class="section-hot-item"> | ||||||||||||||||||||||
| <img src="images/Img_home_01.png" alt="인기 상품 이미지" /> | ||||||||||||||||||||||
| <div> | ||||||||||||||||||||||
| <p class="section-badge">Hot item</p> | ||||||||||||||||||||||
| <p class="section-title"> | ||||||||||||||||||||||
| 인기 상품을<br /> | ||||||||||||||||||||||
| 확인해 보세요 | ||||||||||||||||||||||
| </p> | ||||||||||||||||||||||
| <p class="section-content"> | ||||||||||||||||||||||
| 가장 HOT한 중고거래 물품을<br /> | ||||||||||||||||||||||
| 판다 마켓에서 확인해 보세요 | ||||||||||||||||||||||
| </p> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| <div class="section-search"> | ||||||||||||||||||||||
| <div class="right"> | ||||||||||||||||||||||
| <p class="section-badge">Search</p> | ||||||||||||||||||||||
| <p class="section-title"> | ||||||||||||||||||||||
| 구매를 원하는<br /> | ||||||||||||||||||||||
| 상품을 검색하세요 | ||||||||||||||||||||||
| </p> | ||||||||||||||||||||||
| <p class="section-content"> | ||||||||||||||||||||||
| 구매하고 싶은 물품은 검색해서<br />쉽게 찾아보세요 | ||||||||||||||||||||||
| </p> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| <img src="images/Img_home_02.png" alt="상품 검색 이미지" /> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| <div class="section-register"> | ||||||||||||||||||||||
| <img src="images/Img_home_03.png" alt="상품 등록 이미지" /> | ||||||||||||||||||||||
| <div> | ||||||||||||||||||||||
| <p class="section-badge">Register</p> | ||||||||||||||||||||||
| <p class="section-title">판매를 원하는<br />상품을 등록하세요</p> | ||||||||||||||||||||||
| <p class="section-content"> | ||||||||||||||||||||||
| 어떤 물건이든 판매하고 싶은 상품을<br /> | ||||||||||||||||||||||
| 쉽게 등록하세요 | ||||||||||||||||||||||
| </p> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| </section> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| <div class="bottom-banner"> | ||||||||||||||||||||||
| <div> | ||||||||||||||||||||||
| <p class="banner-title">믿을 수 있는<br />판다마켓 중고 거래</p> | ||||||||||||||||||||||
| <img | ||||||||||||||||||||||
| src="images/Img_home_bottom.png" | ||||||||||||||||||||||
| alt="하단 배너 이미지" | ||||||||||||||||||||||
| class="image-bottom-banner" | ||||||||||||||||||||||
| /> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| <footer> | ||||||||||||||||||||||
| <div> | ||||||||||||||||||||||
| <p class="footer-company">@codeit - 2024</p> | ||||||||||||||||||||||
| <div class="footer-links"> | ||||||||||||||||||||||
| <a href="privacy.html">Privacy Policy</a> | ||||||||||||||||||||||
| <a href="faq.html">FAQ</a> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| <div class="footer-sns"> | ||||||||||||||||||||||
| <a href="https://www.facebook.com/" target="_blank"> | ||||||||||||||||||||||
| <img src="images/Ic_facebook.png" alt="페이스북 아이콘" | ||||||||||||||||||||||
| /></a> | ||||||||||||||||||||||
| <a href="https://x.com/" target="_blank"> | ||||||||||||||||||||||
| <img src="images/Ic_twitter.png" alt="트위터 아이콘" | ||||||||||||||||||||||
| /></a> | ||||||||||||||||||||||
| <a href="https://www.youtube.com/" target="_blank"> | ||||||||||||||||||||||
| <img src="images/Ic_youtube.png" alt="유튜브 아이콘" | ||||||||||||||||||||||
| /></a> | ||||||||||||||||||||||
| <a href="https://www.instagram.com/" target="_blank"> | ||||||||||||||||||||||
| <img src="images/Ic_instagram.png" alt="인스타그램 아이콘" | ||||||||||||||||||||||
| /></a> | ||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
|
Comment on lines
+113
to
+126
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. 💊 제안 <ul class="footer-sns">
<li>
<a href="https://www.facebook.com/" target="_blank">
<img src="images/Ic_facebook.png" alt="페이스북" />
</a>
</li>
</ul> |
||||||||||||||||||||||
| </div> | ||||||||||||||||||||||
| </footer> | ||||||||||||||||||||||
| </body> | ||||||||||||||||||||||
| </html> | ||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>판다마켓 - Items</title> | ||
| </head> | ||
| <body></body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>판다마켓 - Login</title> | ||
| </head> | ||
| <body></body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>판다마켓 - Privacy</title> | ||
| </head> | ||
| <body></body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| /* top banner */ | ||
| .home-top-banner { | ||
| width: 100%; | ||
| padding-top: 200px; | ||
|
|
||
| display: flex; | ||
| justify-content: center; | ||
| align-items: flex-end; | ||
|
|
||
| background-color: #cfe5ff; | ||
| } | ||
|
|
||
| .home-top-banner > div { | ||
| max-width: 1920px; | ||
| width: 100%; | ||
|
|
||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 7px; | ||
| } | ||
|
|
||
| .banner-content { | ||
| width: 357px; | ||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| .banner-title, | ||
| .section-title { | ||
| font-weight: 700; | ||
| font-size: 40px; | ||
| line-height: 56px; | ||
| color: #374151; | ||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| .btn-explore { | ||
| width: 100%; | ||
| border-radius: 40px; | ||
| padding: 16px 124px; | ||
| margin-top: 32px; | ||
|
|
||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
|
|
||
| background-color: #3692ff; | ||
| color: #ffffff; | ||
|
|
||
| cursor: pointer; | ||
| } | ||
|
|
||
| .image-top-banner { | ||
| width: 746px; | ||
| height: auto; | ||
|
|
||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| /* bottom banner */ | ||
| .bottom-banner { | ||
| width: 100%; | ||
| padding-top: 143px; | ||
|
|
||
| display: flex; | ||
| justify-content: center; | ||
| align-items: flex-end; | ||
| gap: 69px; | ||
|
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. 💊 제안 (만약 피그마를 따르셨다면, 피그마는 디자인 파일 기반으로 css 를 생성하기 때문에 특이한 값들을 자주 준답니다!) |
||
|
|
||
| background-color: #cfe5ff; | ||
|
Comment on lines
+62
to
+70
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. ❓ 질문 만약 기준이 없다면 공백이 없는게 가독성 측면에서 더 좋을 것 같아요~
Collaborator
Author
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. 개인적으로는 스타일링 코드가 길어지면 보기 힘들 때가 있어서,
이런 기준으로 나눠서 작성하고 있습니다!
Collaborator
Author
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. 혹시 공백외에 css 코드가 길어질 때 관리하는 다른 방법이 있을까요?? |
||
| } | ||
|
|
||
| .bottom-banner > div { | ||
| display: flex; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .image-bottom-banner { | ||
| width: 746px; | ||
| height: auto; | ||
|
|
||
| flex-shrink: 0; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| @import url(../styles/reset.css); | ||
|
|
||
| body { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
|
Comment on lines
+4
to
+6
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. 💊 제안 |
||
|
|
||
| background-color: #ffffff; | ||
| } | ||
|
|
||
| * { | ||
| transition: all 0.3s ease-in-out; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| footer { | ||
| width: 100%; | ||
| padding: 32px 0 108px; | ||
|
|
||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
|
|
||
| background-color: #111827; | ||
| } | ||
|
|
||
| footer > div { | ||
| max-width: 1920px; | ||
| width: 100%; | ||
| padding: 0 200px; | ||
|
|
||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .footer-company { | ||
| font-weight: 400; | ||
| font-size: 16px; | ||
| line-height: 19px; | ||
| text-align: center; | ||
| text-wrap: nowrap; | ||
| color: #9ca3af; | ||
|
|
||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| .footer-links { | ||
| display: flex; | ||
| gap: 30px; | ||
| text-wrap: nowrap; | ||
|
|
||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| .footer-links > a, | ||
| .footer-links > a:visited { | ||
| color: #ffffff; | ||
| } | ||
|
|
||
| .footer-sns { | ||
| display: flex; | ||
| gap: 12px; | ||
|
|
||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| .footer-sns img { | ||
| width: 20px; | ||
| height: 20px; | ||
|
|
||
| cursor: pointer; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| header { | ||
| max-width: 1920px; | ||
| width: 100%; | ||
| padding: 9.5px 200px; | ||
|
|
||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
|
|
||
| position: relative; | ||
|
|
||
| background-color: #ffffff; | ||
| } | ||
|
|
||
| .image-logo { | ||
| width: 153px; | ||
| flex-shrink: 0; | ||
|
|
||
| cursor: pointer; | ||
| } | ||
|
|
||
| .btn-login { | ||
| width: 128px; | ||
| height: 48px; | ||
|
|
||
| flex-shrink: 0; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
|
|
||
| border-radius: 8px; | ||
| background-color: #3692ff; | ||
|
|
||
| font-weight: 600; | ||
| font-size: 16px; | ||
| line-height: 26px; | ||
| color: #ffffff; | ||
|
|
||
| cursor: pointer; | ||
| } |
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.
💊 제안
한 레포안에서는 동일한 룰을 따르는 것이 좋습니다.
따라서 다른 이미지 파일명처럼 소문자로 이루어지게 img_home_01.png로 변경하시는 걸 추천드려요~