-
Notifications
You must be signed in to change notification settings - Fork 26
[심예진] sprint3 #72
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-\uC2EC\uC608\uC9C4-sprint3"
[심예진] sprint3 #72
Changes from all commits
983460c
ada2d15
37ffef9
84d78ba
f5534d4
03e0069
12cf5cf
879d476
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
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. 앗 귀엽네요!🥹 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,16 +2,30 @@ | |
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <link rel="stylesheet" href="global.css"> | ||
| <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:[email protected]&display=swap" rel="stylesheet"> | ||
| <title>판다마켓</title> | ||
| <!-- Open Graph (페북, 카카오, 디스코드)--> | ||
| <meta property="og:title" content="판다 마켓"> | ||
|
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. 메타 태그 꼼꼼히 잘 적용해주셨습니다! 👏 |
||
| <meta property="og:description" content="일상의 모든 것을 거래해보세요."> | ||
| <meta property="og:image" content="https://yejinshim.github.io/17-SPRINT-MISSION/image/meta/meta_FuBao.jpg"> | ||
| <meta property="og:url" content="https://yejinshim.github.io/17-SPRINT-MISSION"> | ||
| <meta property="og:type" content="website"> | ||
| <!-- Twitter Card --> | ||
| <meta name="twitter:card" content="summary_large_image" /> | ||
| <meta name="twitter:title" content="판다 마켓" /> | ||
| <meta name="twitter:description" content="일상의 모든 물건을 거래해보세요" /> | ||
| <meta name="twitter:image" content="https://yejinshim.github.io/17-SPRINT-MISSION/image/meta/meta_FuBao.jpg"> | ||
| </head> | ||
| <body> | ||
| <!-- <div class="allContent"> --> | ||
| <header> | ||
| <a href="/" class="logo-link"> | ||
| <img class="logo-container" src="image/Panda=lg.png" alt="판다마켓로고"> | ||
| <img class="logo-container" src="image/logo/pandaHome_logo.png" alt="판다마켓로고"> | ||
| </a> | ||
| <a href="/login" class="login-button">로그인</a> | ||
| </header> | ||
|
|
@@ -20,34 +34,36 @@ | |
| <h1 class="top_text">일상의 모든 물건을<br>거래해보세요</h1> | ||
| <a href="/items" class="looking-button">구경하러 가기</a> | ||
| </div> | ||
| <img class="hi" src="image/Img_home_top.png" alt="상단배경"> | ||
| <div class="ppanda"> | ||
|
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. ppanda -> 오타인거같아요! |
||
| <img class="hi" src="/image/home/topPanda_home.png" alt="상단배경"> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| <div class="middle"> | ||
| <section class="box1"> | ||
| <section class="itembox"> | ||
| <div class="hot-item-pc"> | ||
| <img class="items" src="image/Img_home_01.png" alt="상품확인"> | ||
| <img class="items" src="/image/home/itemBox_home.png" alt="상품확인"> | ||
| </div> | ||
| <div class="hot-item-container"> | ||
| <span class="blue item"><b>Hot item</b></span> | ||
| <h1 class="content">인기 상품을<br>확인해 보세요</h1> | ||
| <p class="content2">가장 HOT한 중고거래 물품을<br>판다 마켓에서 확인해 보세요</p> | ||
| </div> | ||
| </section> | ||
| <section class="box2"> | ||
| <section class="searchbox"> | ||
| <div class="search-container"> | ||
| <span class="blue search"><b>Search</b></span> | ||
| <h1 class="content">구매를 원하는<br>상품을 검색하세요</h1> | ||
| <p class="content2">구매하고 싶은 물품은 검색해서<br>쉽게 찾아보세요</p> | ||
| </div> | ||
| <div class="search-pc"> | ||
| <img class="items" src="image/Img_home_02.png" alt="상품검색"> | ||
| <img class="items" src="/image/home/searchBox_home.png" alt="상품검색"> | ||
| </div> | ||
| </section> | ||
| <section class="box3"> | ||
| <section class="registerbox"> | ||
| <div class="register-pc"> | ||
| <img class="items" src="image/Img_home_03.png" alt="상품등록"> | ||
| <img class="items" src="/image/home/registerBox_home.png" alt="상품등록"> | ||
| </div> | ||
| <div class="register-container"> | ||
| <span class="blue register"><b>Resister</b></span> | ||
|
|
@@ -61,7 +77,9 @@ <h1 class="content">판매를 원하는<br>상품을 등록하세요</h1> | |
| <div class="bottom"> | ||
| <div class="bottom-center"> | ||
| <h1 class="bottom_text">믿을 수 있는<br>판다마켓 중고 거래</h1> | ||
| <img class="twopanda" src="image/Img_home_bottom.png" alt="하단배경"> | ||
| <div class="twoppanda"> | ||
| <img class="bye" src="/image/home/bottomPanda_home.png" alt="하단배경"> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
|
|
@@ -75,18 +93,19 @@ <h1 class="bottom_text">믿을 수 있는<br>판다마켓 중고 거래</h1> | |
| </div> | ||
| <div class="social"> | ||
| <a href="https://www.facebook.com" target="_blank"> | ||
| <img src="image/ic_facebook.png" alt="페이스북"> | ||
| <img src="image/icon/facebook_icon.png" alt="페이스북"> | ||
| </a> | ||
| <a href="https://x.com" target="_blank"> | ||
| <img src="image/ic_x.png" alt="트위터"> | ||
| <img src="image/icon/x_icon.png" alt="트위터"> | ||
| </a> | ||
| <a href="https://www.youtube.com" target="_blank"> | ||
| <img src="image/ic_youtube.png" alt="유튜브"> | ||
| <img src="image/icon/youtube_icon.png" alt="유튜브"> | ||
| </a> | ||
| <a href="https://www.instagram.com" target="_blank"> | ||
| <img src="image/ic_instagram.png" alt="인스타그램"> | ||
| <img src="image//icon/insta_icon.png" alt="인스타그램"> | ||
| </a> | ||
| </div> | ||
| </footer> | ||
| <!-- </div> --> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,37 @@ | ||
| body { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .container { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 700px; | ||
| height: auto; | ||
| margin-top: 150px; | ||
| margin-bottom: 150px; | ||
| } | ||
|
|
||
| form { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: space-around; | ||
| gap: 16px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| @media (max-width: 767px) { | ||
| .container { | ||
| padding: 0 16px; | ||
| width: 100%; | ||
| max-width: 700px; | ||
| } | ||
| } | ||
|
|
||
| .pandalogo { | ||
| width: 266px; | ||
| height: 90px; | ||
|
|
@@ -9,6 +43,7 @@ | |
| display: flex; | ||
| flex-direction: column; | ||
| gap: 10px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| label { | ||
|
|
@@ -17,7 +52,8 @@ label { | |
| } | ||
|
|
||
| input { | ||
| width: 640px; | ||
| width: 100%; | ||
| /* width: 640px; */ | ||
|
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. 여기도 dead code 가 보이네요! |
||
| height: 56px; | ||
| background-color: #F3F4F6; | ||
| border: 1px solid #F3F4F6; | ||
|
|
@@ -42,7 +78,8 @@ input { | |
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 640px; | ||
| width: 100%; | ||
| /* width: 640px; */ | ||
| height: 56px; | ||
| background-color: #3692FF; | ||
| margin-top: 24px; | ||
|
|
@@ -55,7 +92,8 @@ input { | |
| .simple-login { | ||
| display: flex; | ||
| flex-direction: column; | ||
| width: 640px; | ||
| width: 100%;; | ||
|
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
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. 고정값(640px)을 줄이고 width: 100% 사용해서 유연한 레이아웃으로 리팩토링한 점 훌륭합니다! 👏 |
||
| /* width: 640px; */ | ||
| height: 74px; | ||
| background-color: #E6F2FF; | ||
| margin: 24px; | ||
|
|
||
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.
학습 단계에서는 큰 상관 없지만, 나중에 협업이나 실무할 때 dead code 는 제거해주시는게 원칙입니다!