-
Notifications
You must be signed in to change notification settings - Fork 39
[최재호] sprint1 #39
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 2 commits into
codeit-bootcamp-frontend:Basic-최재호
from
Alex-Choi0:Basic-최재호
Apr 10, 2025
The head ref may contain hidden characters: "Basic-\uCD5C\uC7AC\uD638"
Merged
[최재호] sprint1 #39
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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,56 @@ | ||
| .btn { | ||
| cursor: pointer; | ||
| display: inline-block; | ||
| text-decoration: none; | ||
| text-align: center; | ||
| border: none; | ||
| background-color: #3692ff; | ||
| color: #ffffff; | ||
| padding: 10px 20px; | ||
| border-radius: 10px; | ||
| font-size: 16px; | ||
| transition: background-color 0.2s ease; | ||
| } | ||
|
|
||
| .btn--rounded { | ||
| border-radius: 50px; | ||
| } | ||
|
|
||
| .btn--small { | ||
| padding: 8px 16px; | ||
| font-size: 14px; | ||
| } | ||
|
|
||
| .btn--large { | ||
| padding: 12px 24px; | ||
| font-size: 18px; | ||
| } | ||
|
|
||
| .btn:hover { | ||
| background-color: #2b74cc; /* Darker shade for hover */ | ||
| } | ||
|
|
||
| .btn:active { | ||
| transform: translateY(1px); | ||
| } | ||
|
|
||
| .btn:focus { | ||
| outline: 2px solid #3692ff; | ||
| outline-offset: 2px; | ||
| } | ||
|
|
||
| .btn--primary { | ||
| background-color: #3692ff; | ||
| color: #ffffff; | ||
| } | ||
|
|
||
| .btn--secondary { | ||
| background-color: transparent; | ||
| color: #3692ff; | ||
| border: 2px solid #3692ff; | ||
| } | ||
|
|
||
| .btn--secondary:hover { | ||
| background-color: #3692ff; | ||
| color: #ffffff; | ||
| } |
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,11 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>items</title> | ||
| </head> | ||
| <body> | ||
| <h1>빈 페이지</h1> | ||
| </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.
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,156 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> <!-- kr을 ko로 변경 --> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <link rel="stylesheet" href="./reset.css" /> | ||
| <link rel="stylesheet" href="./common.css" /> | ||
| <link rel="stylesheet" href="./style.css" /> | ||
| <title>판다마켓</title> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <nav> | ||
| <div class="navbar"><!--네비게이션 역할의 테그--> | ||
| <div class="site-logo"> | ||
| <a href="index.html" | ||
| ><img | ||
| class="logo-img" | ||
| src="./logo.png" | ||
| alt="판다마켓 로고" | ||
| aria-label="홈으로 이동" | ||
| /></a><!-- aria-label을 추가하여 웹 접근성(WAI-ARIA) 준수 --> | ||
| </div> | ||
| <div class="user-auth"> | ||
| <a href="./login.html" class="btn" aria-label="로그인으로 이동">로그인</a><!-- aria-label을 추가하여 웹 접근성(WAI-ARIA) 준수 --> | ||
| </div> | ||
| </div> | ||
| </nav> | ||
| </header> | ||
|
|
||
| <main> | ||
| <section class="hero-section"><!--사이트의 첫 인트로--> | ||
| <div class="hero-container"> | ||
| <div class="hero-text-block"> | ||
| <div class="text"> | ||
| <h2>일상의 모든 물건을</h2> | ||
| <h2>거래해보세요</h2> | ||
| </div> | ||
| <div class="hero-button"> | ||
| <a href="./items.html" class="btn btn--rounded btn--large" | ||
| aria-label="구경하러 가기로 이동" | ||
| >구경하러 가기</a | ||
| ><!-- aria-label을 추가하여 웹 접근성(WAI-ARIA) 준수 --> | ||
| </div> | ||
| </div> | ||
| <div class="hero-image-block"> | ||
| <div class="hero-img"> | ||
| <img | ||
| class="hero-main-img" | ||
| src="./image1.png" | ||
| alt="메인이미지" | ||
| /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <section class="section2"> | ||
| <div class="section2-div"> | ||
| <div class="part1"> | ||
| <div class="sub-image"> | ||
| <img | ||
| class="subImage" | ||
| src="./image2.png" | ||
| alt="구매를 원하시는 상품을 검색하세요" | ||
| /> | ||
| </div> | ||
| <div class="sub-title left"> | ||
| <p class="subTitle1">Hot Item</p> | ||
| <p class="subTitle2"> | ||
| 구매를 원하는<br />상품을 검색하세요 확인해 보세요 | ||
| </p> | ||
| <p class="subTitle3"> | ||
| 구매하고 싶은 물품은 검색해서<br />쉽게 찾아보세요 | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <div class="part2"> | ||
| <div class="sub-image"> | ||
| <img | ||
| class="subImage" | ||
| src="./image3.png" | ||
| alt="인기상품 그림" | ||
| /> | ||
| </div> | ||
| <div class="sub-title right"> | ||
| <p class="subTitle1 right">Search</p> | ||
| <p class="subTitle2 right"> | ||
| 인기 상품을 <br /> | ||
| 확인해 보세요 | ||
| </p> | ||
| <p class="subTitle3 right"> | ||
| 가장 Hot한 중고고래물품을<br />판다 마켓에서 확인해 보세요 | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <div class="part3"> | ||
| <div class="sub-image"> | ||
| <img | ||
| class="subImage" | ||
| src="./image4.png" | ||
| alt="구매를 원하시는 상품을 검색하세요" | ||
| /> | ||
| </div> | ||
| <div class="sub-title left"> | ||
| <p class="subTitle1">Register</p> | ||
| <p class="subTitle2">판매를 원하는<br />상품을 등록하세요</p> | ||
| <p class="subTitle3"> | ||
| 어떤 물건이든 판매하고 싶은 상품을 쉽게 등록하세요 | ||
| </p><!--상품을쉽계 => 상품을 쉽게 변경--> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| </main> | ||
|
|
||
| <footer> | ||
| <section class="hero-section"> | ||
| <div class="hero-container"> | ||
| <div class="hero-text-block"> | ||
| <div class="text"> | ||
| <h2>믿을 수 있는</h2> | ||
| <h2>판다마켓 중고 거래</h2> | ||
| </div> | ||
| </div> | ||
| <div class="hero-image-block"> | ||
| <div class="hero-img"> | ||
| <img | ||
| class="hero-main-img" | ||
| src="./image5.png" | ||
| alt="메인이미지" | ||
| /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <section class="section2"> | ||
| <div class="licence"> | ||
| <p>©codeit - 2024</p> | ||
| </div> | ||
| <div> | ||
| <a href="./privacy.html" class="privacy" aria-label="정보보안 약관 페이지로 이동">Privacy Policy</a><!-- aria-label을 추가하여 웹 접근성(WAI-ARIA) 준수 --> | ||
| <a href="./faq.html" class="FAQ" aria-label="FAQ(질의응답) 페이지로 이동">FAQ</a> | ||
| </div> | ||
| <!--외부링크의 역우는 보안을 위해 rel="noopener noreferrer"추가--> | ||
| <!--noopener : 새탭에서 열린 페이지가 원본 페이지에 접근하는 겋을 방지--> | ||
| <!--noreferrer : 리퍼러 정보가 새 페이지로 전달되는 것을 방지--> | ||
| <div class="social-icon button"> | ||
| <a href="https://www.facebook.com/?locale=ko_KR" target="_blank" aria-label="페이스북 사이트로 이동" rel="noopener noreferrer"><img src="./icon_facebook.png" alt="facebook link" /> | ||
| <a href="https://x.com/?lang=ko" target="_blank" rel="noopener noreferrer"><img src="./icon_twiter.png" alt="twiter link" aria-label="트위터 사이트로 이동" /></a> | ||
| <a href="https://www.youtube.com/?hl=ko&gl=KR&app=desktop" target="_blank" rel="noopener noreferrer"><img src="./icon_youtube.png" alt="youtube link" aria-label="유튜브사이트로 이동" /></a> | ||
| <a href="https://www.instagram.com/" target="_blank" rel="noopener noreferrer"><img src="./icon_instagram.png" alt="instagram link" aria-label="인스타 사이트로 이동" /></a> | ||
| </div> | ||
| </section> | ||
| </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,11 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>items</title> | ||
| </head> | ||
| <body> | ||
| <h1>빈 페이지</h1> | ||
| </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,11 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Login</title> | ||
| </head> | ||
| <body> | ||
| <h1>빈 페이지</h1> | ||
| </body> | ||
| </html> |
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,11 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>items</title> | ||
| </head> | ||
| <body> | ||
| <h1>빈 페이지</h1> | ||
| </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,5 @@ | ||
| * { | ||
| margin: 0 0; | ||
| padding: 0 0; | ||
| box-sizing: border-box; | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
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.
여러가지 네이밍케이스가 혼재되어있네요 :)
항상 일관적인 네이밍케이스와 네이밍컨벤션을 고려해주시는게 좋습니다.
아티클 추천해드릴게요!
CSS 네이밍 컨벤션
자주 쓰는 네이밍케이스 정리
두개 참고해보시고, 일관적인 네이밍 규칙을 적용해보시면 좋을 것 같습니다!