-
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
The head ref may contain hidden characters: "Basic-\uCD5C\uC7AC\uD638"
[최재호] sprint1 #39
Changes from 1 commit
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,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> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,149 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="kr"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <link rel="stylesheet" href="./style.css" /> | ||
| <title>판다마켓</title> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <nav> | ||
| <div class="top-header"> | ||
Alex-Choi0 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <div class="logo"> | ||
| <a href="index.html" | ||
| ><img | ||
| class="logo-img" | ||
| src="./logo.png" | ||
| alt="판다마켓 로고" | ||
| /></a> | ||
|
||
| </div> | ||
| <div class="login"> | ||
| <a href="./login.html" class="login-button button">로그인</a> | ||
| </div> | ||
| </div> | ||
| </nav> | ||
| </header> | ||
|
|
||
| <main> | ||
| <section class="section1"> | ||
|
||
| <div class="section1-div"> | ||
| <div class="part1"> | ||
|
||
| <div class="text"> | ||
| <h2>일상의 모든 물건을</h2> | ||
| <h2>거래해보세요</h2> | ||
| </div> | ||
| <div class="section1-button"> | ||
| <a href="./items.html" class="look-button button" | ||
| >구경하러 가기</a | ||
| > | ||
| </div> | ||
| </div> | ||
| <div class="part2"> | ||
| <div class="part2-img"> | ||
| <img | ||
| class="section1-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> | ||
|
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. 여러가지 네이밍케이스가 혼재되어있네요 :) 아티클 추천해드릴게요! 두개 참고해보시고, 일관적인 네이밍 규칙을 적용해보시면 좋을 것 같습니다! |
||
| <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="section1"> | ||
| <div class="section1-div"> | ||
| <div class="part1"> | ||
| <div class="text"> | ||
| <h2>믿을 수 있는</h2> | ||
| <h2>판다마켓 중고 거래</h2> | ||
| </div> | ||
| </div> | ||
| <div class="part2"> | ||
| <div class="part2-img"> | ||
| <img | ||
| class="section1-img" | ||
| src="./image5.png" | ||
| alt="메인이미지" | ||
| /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <section class="section2"> | ||
| <div class="licence"> | ||
| <p>©codeit - 2024</p> | ||
| </div> | ||
| <div class="btn"> | ||
| <a href="./privacy.html" class="privacy">Privacy Policy</a> | ||
| <a href="./faq.html" class="FAQ">FAQ</a> | ||
| </div> | ||
| <div class="social-icon button"> | ||
| <a href="https://www.facebook.com/?locale=ko_KR" target="_blank"><img src="./icon_facebook.png" alt="facebook link" /> | ||
|
||
| <a href="https://x.com/?lang=ko" target="_blank"><img src="./icon_twiter.png" alt="twiter link" /></a> | ||
| <a href="https://www.youtube.com/?hl=ko&gl=KR&app=desktop" target="_blank"><img src="./icon_youtube.png" alt="youtube link" /></a> | ||
| <a href="https://www.instagram.com/" target="_blank"><img src="./icon_instagram.png" alt="instagram link" /></a> | ||
| </div> | ||
| </section> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
| 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> |
| 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> |
| 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> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,160 @@ | ||
| * { | ||
| margin: 0 0; | ||
| padding: 0 0; | ||
| box-sizing: border-box; | ||
| } | ||
|
||
|
|
||
| a.button { | ||
| text-decoration: none; | ||
| color: #ffffff; | ||
| background-color: #3692ff; | ||
| padding: 10px 20px; | ||
| border-radius: 10px; | ||
| } | ||
|
|
||
| .button { | ||
| cursor: pointer; | ||
| } | ||
|
||
|
|
||
| /* 헤더부분 */ | ||
|
|
||
| nav { | ||
| align-items: center; | ||
| } | ||
|
|
||
| .top-header { | ||
| display: flex; | ||
| flex-direction: row; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| max-width: 1520px; | ||
| padding: 0 200px; | ||
| margin: 0 auto; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .logo-img { | ||
| height: 50px; | ||
| width: auto; | ||
| } | ||
|
|
||
| .section1 { | ||
| background-color: #cfe5ff; | ||
|
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 변수로 관리해서 재사용해볼까요? 예시) /* Variables */
:root {
--primary-color: #3692ff;
--text-primary: #374151;
--text-secondary: #9ca3af;
--text-light: #e5e7eb;
--background-primary: #fcfcfc;
--background-secondary: #cfe5ff;
--background-dark: #111827;
--border-radius-sm: 8px;
--border-radius-lg: 12px;
--border-radius-xl: 40px;
--container-width: 1120px;
--content-width: 988px;
} |
||
| height: 400px; | ||
| /* display: flex; */ | ||
| /* flex-direction: column; */ | ||
| } | ||
|
|
||
| .section1-img { | ||
| height: 250px; | ||
| width: auto; | ||
|
|
||
|
||
| position: relative; | ||
|
|
||
| top: 75px; | ||
| } | ||
|
|
||
| .section1-div { | ||
| display: flex; | ||
| gap: 10px; | ||
| align-items: center; | ||
| justify-content: center; | ||
| height: 400px; | ||
| width: auto; | ||
|
|
||
| position: relative; | ||
| } | ||
|
|
||
| .part2-img { | ||
| position: relative; | ||
| bottom: 0; | ||
| } | ||
|
|
||
| .section1-div .part1 { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 25px; | ||
| } | ||
|
|
||
| .section1-button { | ||
| width: 100%; | ||
| } | ||
|
|
||
| .look-button { | ||
| border-radius: 50px; | ||
| } | ||
|
|
||
| .section2-div .part1, | ||
| .section2-div .part3 { | ||
| display: flex; | ||
| flex-direction: row; | ||
| align-items: center; | ||
| justify-content: center; | ||
| gap: 50px; | ||
| margin-top: 50px; | ||
| } | ||
|
|
||
| .subImage { | ||
| height: 300px; | ||
| width: auto; | ||
| } | ||
|
|
||
| .sub-title { | ||
| width: 250px; | ||
| } | ||
|
|
||
| .subTitle1 { | ||
| font-size: 12px; | ||
| font-weight: 1000; | ||
| color: #3692ff; | ||
| margin-bottom: 20px; | ||
| } | ||
|
|
||
| .subTitle2 { | ||
| font-size: 25px; | ||
| font-weight: 1000; | ||
| margin-bottom: 20px; | ||
| } | ||
|
|
||
| .section2-div .part2 { | ||
| display: flex; | ||
| flex-direction: row-reverse; | ||
| align-items: center; | ||
| justify-content: center; | ||
| gap: 50px; | ||
| margin-top: 50px; | ||
| } | ||
|
|
||
| .right { | ||
| text-align: right; | ||
| } | ||
|
|
||
| footer .section2 { | ||
| background-color: #000000; | ||
|
|
||
| display: flex; | ||
| justify-content: space-around; | ||
| height: 200px; | ||
|
|
||
| padding-top: 50px; | ||
| } | ||
|
|
||
| .licence { | ||
| color: #ffffff; | ||
| } | ||
|
|
||
| .privacy, | ||
| .FAQ { | ||
| margin: 0; | ||
| padding: 0; | ||
| background-color: #000000; | ||
| margin-left: 20px; | ||
| color: #ffffff; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .social-icon img { | ||
| height: 20px; | ||
| width: auto; | ||
| margin-left: 10px; | ||
| } | ||
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.
요거 조금 헷갈리죠 ㅎㅎ kr이 아니라 ko로 변경해주셔야 올바른 문법입니다!
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.
이거 기억하도록 하겠습니다. 감사합니다.