-
Notifications
You must be signed in to change notification settings - Fork 39
[이상달] Sprint1 #9
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
Merged
addiescode-sj
merged 12 commits into
codeit-bootcamp-frontend:Basic-이상달
from
asksa1256:part1-이상달-sprint1
Apr 4, 2025
The head ref may contain hidden characters: "part1-\uC774\uC0C1\uB2EC-sprint1"
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
8a4700b
refactor(mentor): var를 let으로 수정
asksa1256 65df166
refactor(mentor): img alt 속성 텍스트 추가
asksa1256 cda31f2
refactor(mentor): class 네이밍 수정
asksa1256 6355e6c
refactor(mentor): 접근성 향상을 위한 role, aria-label 속성 추가
asksa1256 f3ba04e
refactor(mentor): css 용도에 따라 외부 파일로 분리
asksa1256 8329ef4
refactor(mentor): css 변수 사용
asksa1256 d75aebb
refactor(mentor): css nth-of-type > 클래스명 지정으로 변경
asksa1256 a7705ad
refactor(mentor): css 외부 파일 @import 방식으로 변경
asksa1256 81e6010
refactor(mentor): img srcset, sizes 속성 사용
asksa1256 0fce52c
btn css hover, active 스타일 추가
asksa1256 5939c9c
연결 페이지 경로 수정 (pages/items.html > items.html)
asksa1256 98b4296
refactor(mentor): 미디어쿼리로 반응형 처리
asksa1256 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 @@ | ||
| <!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> |
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.
This file contains hidden or 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,107 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>판다마켓</title> | ||
| <link | ||
| rel="stylesheet" | ||
| as="style" | ||
| crossorigin | ||
| href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css" | ||
| /> | ||
| <link rel="stylesheet" href="style.css" /> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <div class="inner"> | ||
| <a href="/"> | ||
| <img src="images/logo.png" alt="판다마켓 로고" /> | ||
| </a> | ||
| <a href="login.html" class="login-button">로그인</a> | ||
| </div> | ||
| </header> | ||
| <div class="content"> | ||
| <div class="banner top"> | ||
| <div class="inner"> | ||
| <div class="info"> | ||
| <h2>일상의 모든 물건을<br />거래해 보세요</h2> | ||
| <a href="items.html">구경하러 가기</a> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <section> | ||
| <div class="inner"> | ||
| <img src="images/Img_home_01.png" alt="" /> | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <div class="info"> | ||
| <div class="tagline">Hot item</div> | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <h2>인기 상품을<br />확인해 보세요</h2> | ||
| <p> | ||
| 가장 HOT한 중고거래 물품을<br /> | ||
| 판다 마켓에서 확인해 보세요 | ||
| </p> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <section> | ||
| <div class="inner"> | ||
| <img src="images/Img_home_02.png" alt="" /> | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <div class="info"> | ||
| <div class="tagline">Search</div> | ||
| <h2> | ||
| 구매를 원하는<br /> | ||
| 상품을 검색하세요 | ||
| </h2> | ||
| <p>구매하고 싶은 물품은 검색해서<br />쉽게 찾아보세요</p> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <section> | ||
| <div class="inner"> | ||
| <img src="images/Img_home_03.png" alt="" /> | ||
| <div class="info"> | ||
| <div class="tagline">Register</div> | ||
| <h2>판매를 원하는<br />상품을 등록하세요</h2> | ||
| <p>어떤 물건이든 판매하고 싶은 상품을<br />쉽게 등록하세요</p> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <div class="banner bottom"> | ||
| <div class="inner"> | ||
| <div class="info"> | ||
| <h2> | ||
| 믿을 수 있는<br /> | ||
| 판다마켓 중고 거래 | ||
| </h2> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <footer> | ||
| <div class="inner"> | ||
| <div class="copyright">©codeit - 2024</div> | ||
| <div class="footer-menu"> | ||
| <a href="privacy.html">Privacy Policy</a> | ||
| <a href="faq.html">FAQ</a> | ||
| </div> | ||
| <div class="sns"> | ||
| <a href="https://www.facebook.com/?locale=ko_KR" target="_blank"> | ||
| <img src="images/ic_facebook.png" alt="페이스북 바로가기" /> | ||
| </a> | ||
| <a href="https://x.com/login?lang=ko" target="_blank"> | ||
| <img src="images/ic_twitter.png" alt="트위터 바로가기" /> | ||
| </a> | ||
| <a | ||
| href="https://www.youtube.com/?hl=ko&gl=KR&app=desktop" | ||
| 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> | ||
| </div> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
This file contains hidden or 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 @@ | ||
| <!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> |
This file contains hidden or 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 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>판다마켓 로그인</title> | ||
| </head> | ||
| <body></body> | ||
| </html> |
This file contains hidden or 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 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>판다마켓 privacy policy</title> | ||
| </head> | ||
| <body></body> | ||
| </html> |
This file contains hidden or 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,212 @@ | ||
| @charset "utf-8"; | ||
| /* common */ | ||
| * { | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| } | ||
| html { | ||
| font-size: 16px; | ||
| } | ||
| body { | ||
| font-family: "Pretendard", sans-serif; | ||
| background: #fcfcfc; | ||
| overflow-x: hidden; | ||
| } | ||
| a { | ||
| text-decoration: none; | ||
| color: inherit; | ||
| cursor: pointer; | ||
| font-size: 1rem; | ||
| } | ||
| h2 { | ||
| font-size: 2.5rem; | ||
| line-height: 1.4; | ||
| color: #374151; | ||
| } | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| .content { | ||
| padding-top: 4.375rem; | ||
| } | ||
|
|
||
| .inner { | ||
| width: 70rem; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| /* header */ | ||
| header { | ||
| position: fixed; | ||
| left: 0; | ||
| top: 0; | ||
| width: 100%; | ||
| height: 4.375rem; | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| padding: 0 12.5rem; | ||
| z-index: 9; | ||
| background: #fff; | ||
| display: flex; | ||
| } | ||
|
|
||
| header .inner { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| width: 100%; | ||
| max-width: 70rem; | ||
| padding: 0.625rem 0; | ||
| } | ||
|
|
||
| header .logo { | ||
| width: 9.625rem; | ||
| height: 3.25rem; | ||
| } | ||
|
|
||
| header .login-button { | ||
| display: inline-flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 8rem; | ||
| height: 3rem; | ||
| padding: 0.75rem 1.5rem; | ||
| background: #3692ff; | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| color: #fff; | ||
| border-radius: 8px; | ||
| } | ||
|
|
||
| /* section */ | ||
| section { | ||
| padding: 8.625rem 0; | ||
| background: #fff; | ||
| } | ||
|
|
||
| section .inner { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| width: 61.75rem; | ||
| gap: 4rem; | ||
| background: #fcfcfc; | ||
| border-radius: 20px; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| section .inner img { | ||
| width: 36.25rem; | ||
| height: 27.75rem; | ||
| } | ||
|
|
||
| section .info .tagline { | ||
| margin-bottom: 0.75rem; | ||
| font-size: 1.125rem; | ||
| font-weight: 700; | ||
| color: #3692ff; | ||
| } | ||
|
|
||
| section .info h2 { | ||
| margin-bottom: 1.5rem; | ||
| } | ||
|
|
||
| section .info p { | ||
| font-size: 1.5rem; | ||
| font-weight: 500; | ||
| line-height: 2rem; | ||
| color: #374151; | ||
| } | ||
|
|
||
| section:nth-of-type(2) { | ||
| text-align: right; | ||
| } | ||
| section:nth-of-type(2) .inner img { | ||
| order: 2; | ||
| } | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| section:last-of-type .inner { | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| justify-content: flex-start; | ||
| } | ||
|
|
||
| /* banner */ | ||
| .banner { | ||
| background: #cfe5ff; | ||
| } | ||
|
|
||
| .banner .inner { | ||
| height: 33.75rem; | ||
| background-repeat: no-repeat; | ||
| background-position: right bottom; | ||
| } | ||
|
|
||
| .banner.top .inner { | ||
| background-image: url("images/Img_home_top.png"); | ||
| background-size: 46.625rem 21.25rem; | ||
| } | ||
|
|
||
| .banner.bottom { | ||
| margin-top: 8.625rem; | ||
| } | ||
|
|
||
| .banner.bottom .inner { | ||
| background-image: url("images/Img_home_bottom.png"); | ||
| background-size: 46.625rem 24.875rem; | ||
| } | ||
|
|
||
| .banner .info { | ||
| padding-top: 15rem; | ||
| } | ||
|
|
||
| .banner.bottom .banner .info { | ||
| padding-top: 16rem; | ||
| } | ||
|
|
||
| .banner .info h2 { | ||
| margin-bottom: 2rem; | ||
| } | ||
|
|
||
| .banner .info a { | ||
| display: inline-block; | ||
| margin-bottom: 6.25rem; | ||
| padding: 1rem 7.75rem; | ||
| text-align: center; | ||
| background: #3692ff; | ||
| color: #fff; | ||
| border-radius: 40px; | ||
| font-size: 1.25rem; | ||
| } | ||
|
|
||
| /* footer */ | ||
| footer { | ||
| background: #111827; | ||
| color: #e5e7eb; | ||
| } | ||
|
|
||
| footer .inner { | ||
| display: flex; | ||
| justify-content: space-between; | ||
| padding: 2rem 0 6.75rem; | ||
| } | ||
|
|
||
| .copyright { | ||
| color: #9ca3af; | ||
| } | ||
|
|
||
| .footer-menu { | ||
| display: flex; | ||
| gap: 1.875rem; | ||
| } | ||
|
|
||
| .sns { | ||
| display: flex; | ||
| gap: 0.75rem; | ||
| } | ||
|
|
||
| /* 심화 요구사항 */ | ||
| @media (max-width: 1600px) { | ||
| html { | ||
| font-size: 15px; | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 1280px) { | ||
| html { | ||
| font-size: 14px; | ||
| } | ||
asksa1256 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.