-
Notifications
You must be signed in to change notification settings - Fork 26
[정상인] sprint3 #85
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-\uC815\uC0C1\uC778-sprint3"
[정상인] sprint3 #85
Changes from all commits
2f2ba51
6f814b1
a28ace1
f1fdcb4
b191eb6
af19623
c08402b
2734e3d
abac476
bad1c99
7459157
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 @@ | ||
| .DS_Store |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,6 +3,16 @@ | |||||||||||||||||
| <head> | ||||||||||||||||||
| <meta charset="UTF-8" /> | ||||||||||||||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||||||||||||||
| <meta property="og:title" content="판다마켓" /> | ||||||||||||||||||
| <meta | ||||||||||||||||||
| property="og:url" | ||||||||||||||||||
| content="https://panda-market-sanginjeong.netlify.app/" | ||||||||||||||||||
| /> | ||||||||||||||||||
| <meta property="og:description" content="일상의 모든 물건을 거래해보세요" /> | ||||||||||||||||||
|
Comment on lines
+6
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. 훌륭합니다 ! 메타태그를 잘 적용하셨네요 ~! 👍 |
||||||||||||||||||
| <meta | ||||||||||||||||||
| property="og:image" | ||||||||||||||||||
| content="https://panda-market-sanginjeong.netlify.app/images/logo.png" | ||||||||||||||||||
| /> | ||||||||||||||||||
|
Comment on lines
+12
to
+15
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. 굿굿 ! og 이미지까지 적용 너무 좋습니다 ! 👍다만, 도메인이 변경된다면 해당 코드도 수정되겠군요 !
Suggested change
|
||||||||||||||||||
| <title>판다마켓</title> | ||||||||||||||||||
| <link rel="shortcut icon" href="./images/favicon.ico" type="image/x-icon" /> | ||||||||||||||||||
| <link rel="stylesheet" href="./pages/homePage/index.style.css" /> | ||||||||||||||||||
|
|
@@ -17,18 +27,20 @@ | |||||||||||||||||
| alt="nav-logo" | ||||||||||||||||||
| style="width: 153px; height: 51px" | ||||||||||||||||||
| /></a> | ||||||||||||||||||
| <a href="./pages/login and signup/loginPage/login.html"><button class="login-btn">로그인</button></a> | ||||||||||||||||||
| <a href="./pages/loginAndSignupPage/loginPage/login.html" | ||||||||||||||||||
| ><button class="login-btn">로그인</button></a | ||||||||||||||||||
| > | ||||||||||||||||||
| </nav> | ||||||||||||||||||
| </header> | ||||||||||||||||||
|
|
||||||||||||||||||
| <section class="landing"> | ||||||||||||||||||
| <section class="landing landing-top"> | ||||||||||||||||||
| <div class="container"> | ||||||||||||||||||
| <div class="landing-area"> | ||||||||||||||||||
| <div class="landing-area-left"> | ||||||||||||||||||
| <h1 class="description"> | ||||||||||||||||||
| 일상의 모든 물건을<br /> | ||||||||||||||||||
| 거래해 보세요 | ||||||||||||||||||
| </h1> | ||||||||||||||||||
| <h2 class="description"> | ||||||||||||||||||
| <span>일상의 모든 물건을</span> | ||||||||||||||||||
| <span>거래해 보세요</span> | ||||||||||||||||||
| </h2> | ||||||||||||||||||
|
Comment on lines
+40
to
+43
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.
|
||||||||||||||||||
| <a href="/items" | ||||||||||||||||||
| ><button class="items-btn">구경하러 가기</button></a | ||||||||||||||||||
| > | ||||||||||||||||||
|
|
@@ -57,23 +69,23 @@ <h1 class="description"> | |||||||||||||||||
| <p class="title">Hot item</p> | ||||||||||||||||||
| <div> | ||||||||||||||||||
| <h2 class="description"> | ||||||||||||||||||
| 인기 상품을<br /> | ||||||||||||||||||
| 확인해 보세요 | ||||||||||||||||||
| <span>인기 상품을</span> | ||||||||||||||||||
| <span>확인해 보세요</span> | ||||||||||||||||||
| </h2> | ||||||||||||||||||
| <p class="sub-description"> | ||||||||||||||||||
| 가장 HOT한 중고거래 물품을<br /> | ||||||||||||||||||
| span가장 HOT한 중고거래 물품을<br /> | ||||||||||||||||||
| 판다 마켓에서 확인해 보세요 | ||||||||||||||||||
| </p> | ||||||||||||||||||
| </div> | ||||||||||||||||||
| </div> | ||||||||||||||||||
| </section> | ||||||||||||||||||
|
|
||||||||||||||||||
| <section class="main-wrap container"> | ||||||||||||||||||
| <section class="main-wrap container section-search"> | ||||||||||||||||||
| <div class="search-left"> | ||||||||||||||||||
| <p class="title">Search</p> | ||||||||||||||||||
| <h2 class="description"> | ||||||||||||||||||
| 구매를 원하는<br /> | ||||||||||||||||||
| 상품을 검색하세요 | ||||||||||||||||||
| <span>구매를 원하는</span> | ||||||||||||||||||
| <span>상품을 검색하세요</span> | ||||||||||||||||||
| </h2> | ||||||||||||||||||
| <p class="sub-description"> | ||||||||||||||||||
| 구매하고 싶은 물품은 검색해서<br /> | ||||||||||||||||||
|
|
@@ -101,8 +113,8 @@ <h2 class="description"> | |||||||||||||||||
| <p class="title">Register</p> | ||||||||||||||||||
| <div> | ||||||||||||||||||
| <h2 class="description"> | ||||||||||||||||||
| 판매를 원하는<br /> | ||||||||||||||||||
| 상품을 등록하세요 | ||||||||||||||||||
| <span>판매를 원하는</span> | ||||||||||||||||||
| <span>상품을 등록하세요</span> | ||||||||||||||||||
| </h2> | ||||||||||||||||||
| <p class="sub-description"> | ||||||||||||||||||
| 어떤 물건이든 판매하고 싶은 상품을<br /> | ||||||||||||||||||
|
|
||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,7 +40,7 @@ nav { | |
| } | ||
|
|
||
| .landing { | ||
| background-color: #CFE5FF; | ||
| background-color: #cfe5ff; | ||
| width: 100%; | ||
| height: 540px; | ||
| } | ||
|
|
@@ -55,24 +55,27 @@ nav { | |
| display: flex; | ||
| } | ||
|
|
||
| .landing-area-left{ | ||
| .landing-area-left { | ||
| flex: 4; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| gap: 32px; | ||
| } | ||
|
|
||
| .landing-area-right{ | ||
| .landing-area-right { | ||
| flex: 8; | ||
| } | ||
|
|
||
| .description { | ||
| font-weight: 700; | ||
| font-size: 40px; | ||
| line-height: 140%; | ||
| gap: 5px; | ||
| margin: 0; | ||
| color: var(--gray700); | ||
| display: flex; | ||
| flex-direction: column; | ||
| } | ||
|
|
||
| .sub-description { | ||
|
|
@@ -87,13 +90,16 @@ nav { | |
| gap: 64px; | ||
| width: 988px; | ||
| padding: 138px 0; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| .hot-item-left, .register-left { | ||
| .hot-item-left, | ||
| .register-left { | ||
| flex: 7; | ||
| } | ||
|
|
||
| .hot-item-right, .register-right { | ||
| .hot-item-right, | ||
| .register-right { | ||
| flex: 5; | ||
| display: flex; | ||
| flex-direction: column; | ||
|
|
@@ -138,7 +144,7 @@ footer { | |
| align-items: center; | ||
| } | ||
|
|
||
| .footer-left > p{ | ||
| .footer-left > p { | ||
| color: var(--gray400); | ||
| } | ||
|
|
||
|
|
@@ -158,3 +164,85 @@ footer { | |
| align-items: center; | ||
| gap: 12px; | ||
| } | ||
|
|
||
| @media screen and (max-width: 1199px) { | ||
|
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. 굿굿 ! 미디어 쿼리를 잘 적용하셨네요 👍 |
||
| header { | ||
| padding: 9px 24px; | ||
| } | ||
|
Comment on lines
+169
to
+171
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. (제안) 만약 스타일 선택자 목적이라면 태그보다는
|
||
| .container { | ||
| width: 100%; | ||
| } | ||
| .main-wrap { | ||
| padding: 24px; | ||
| } | ||
|
|
||
| .landing { | ||
| height: 927px; | ||
| } | ||
|
|
||
| .landing-top { | ||
| padding-top: 74px; | ||
| } | ||
|
|
||
| .landing-top a { | ||
| text-align: center; | ||
| } | ||
| .landing-area { | ||
| flex-direction: column; | ||
| align-items: center; | ||
| height: 100%; | ||
| } | ||
|
|
||
| .landing-area-right { | ||
| flex: none; | ||
| } | ||
|
|
||
| .description { | ||
| flex-direction: row; | ||
| } | ||
|
|
||
| .main-wrap { | ||
| flex-direction: column; | ||
| gap: 24px; | ||
| } | ||
|
|
||
| .section-search { | ||
| flex-direction: column-reverse; | ||
| } | ||
|
|
||
| .footer-area { | ||
| width: 536px; | ||
| } | ||
| } | ||
|
|
||
| @media screen and (max-width: 767px) { | ||
| header { | ||
| padding: 9px 16px; | ||
| } | ||
|
|
||
| .description{ | ||
| flex-direction: column; | ||
| } | ||
|
|
||
| .landing-top .description { | ||
| align-items: center; | ||
| } | ||
|
|
||
| .items-btn { | ||
| padding: 12px 71px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| footer { | ||
| position: relative; | ||
| } | ||
|
Comment on lines
+236
to
+238
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. 해당 태그 스타일도 같은 피드백에 해당됩니다 ~!
|
||
|
|
||
| .footer-area { | ||
| width: 311px; | ||
| } | ||
|
|
||
| .footer-left { | ||
| position: absolute; | ||
| bottom: 20%; | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,36 +3,42 @@ | |||||
| <meta charset="UTF-8" /> | ||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||
| <title>판다마켓 - 로그인</title> | ||||||
| <link rel="shortcut icon" href="../../../images/favicon.ico" type="image/x-icon"> | ||||||
| <link | ||||||
| rel="shortcut icon" | ||||||
| href="../../../images/favicon.ico" | ||||||
| type="image/x-icon" | ||||||
| /> | ||||||
| <link rel="stylesheet" href="../../../style.css" /> | ||||||
| <link rel="stylesheet" href="../login & signup.style.css" /> | ||||||
| <link rel="stylesheet" href="../loginAndSignup.style.css" /> | ||||||
| </head> | ||||||
| <body> | ||||||
| <main class="wrap"> | ||||||
| <div class="form-area"> | ||||||
| <div class="form-logo-area"> | ||||||
| <a href="../../../index.html"> | ||||||
| <img | ||||||
| src="../../../images/logo.png" | ||||||
| alt="logo" | ||||||
| style="width: 396px; height: 132px" | ||||||
| /> | ||||||
| <img class="form-logo" src="../../../images/logo.png" alt="logo" /> | ||||||
| </a> | ||||||
| </div> | ||||||
| <form class="login-signup-form"> | ||||||
| <label class="form-label">이메일</label> | ||||||
| <input class="form-input" type="email" /> | ||||||
| <input | ||||||
| class="form-input" | ||||||
| type="email" | ||||||
| placeholder="이메일을 입력해주세요" | ||||||
| /> | ||||||
| <label class="form-label">비밀번호</label> | ||||||
| <div class="password-input-area"> | ||||||
| <input class="form-input" type="password" style="width: 100%" /> | ||||||
| <input | ||||||
| class="form-input" | ||||||
| type="password" | ||||||
| style="width: 100%" | ||||||
| placeholder="비밀번호를 입력해주세요" | ||||||
| /> | ||||||
| <button type="button" class="visibility-img"> | ||||||
| <img | ||||||
| src="../../../images/btn_visibility_on_24px.png" | ||||||
| alt="visibility" | ||||||
| /> | ||||||
| <img src="../../../images/visibility-icon.svg" alt="visibility" /> | ||||||
| </button> | ||||||
| </div> | ||||||
| <button class="form-submit-btn">로그인</button> | ||||||
| <button class="form-submit-btn disabled" disabled>로그인</button> | ||||||
|
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. (심화/생각해보기/제안)
|
||||||
| <button class="form-submit-btn disabled" disabled>로그인</button> | |
| <button class="button button-primary">로그인</button> |
만약, 현재 submit-btn과 같은 스타일의 "장바구니에 담기" 라는 버튼이 존재한다면 클래스 이름이 어떻게 될까요?
submit-btn 클래스로 작성한다면 submit이라는 "기능"을 목적으로 하는 클래스 이름을 넣게 될거예요. 혹은 중복된 스타일과 다른 클래스 이름인 button-add-wish와 같은 클래스 이름을 가지게 돼요. 이는 재사용성을 저하시킬거예요.
차라리 해당 클래스가 "어떤 스타일을 포함하는가?"에 목적을 두어 네이밍을 한다면 더욱 재사용하기 용이할거라고 생각해서 제안드립니다 😊
priamry: 주로 브랜드의 주요 컬러를 의미합니다 ! 😊 판다마켓의 경우 파란색이죠 !
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.
굿굿!
gitignore를 추가하셨군요 👍👍이제 형상관리를 더욱 체계적으로 관리해봅시다 😉