Skip to content
Merged
Binary file added images/icons/eyesIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/metaImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/mobileLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 14 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:type" content="website" />
<meta property="og:title" content="판다마켓" />
<meta property="og:description" content="일상의 모든 물건을 거래해보세요" />
<meta property="og:image" content="images\metaImage.png" />
Comment on lines +6 to +9
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ 수정요청
이러한 og 설정이 제대로 되어 있는지 확인할 수 있는 방법이 여러가지 있습니다~
확인해보시고 meta 태그를 수정해보세요~

<title>판다마켓</title>
<link rel="stylesheet" href="style.css" />
</head>
Expand All @@ -22,22 +26,21 @@
<div class="top-content">
<div class="top-content-text">
<h2>일상의 모든 물건을<br />거래해 보세요</h2>
<a href="/pages/items.html" class="items-button button"
>구경하러 가기</a
>
<a href="/pages/items.html" class="items-button button">
구경하러 가기
</a>
</div>

<img class="topLandingImg" src="/images/topImg.png" alt="topImg" />
</div>
</div>
<!-- 섹션 -->
<section class="section">
<div class="section-content">
<div class="section-card">
<img class="sectionImg" src="/images/card1.png" alt="sectionImg1" />
<img class="section-Img" src="/images/card1.png" alt="sectionImg1" />
<div class="section-text card1">
<p class="section-text-tag">Hot item</p>
<p class="section-text-title">인기 상품을<br />확인해 보세요</p>
<p class="section-text-title">인기 상품을 확인해 보세요</p>
<p class="section-text-subtitle">
가장 HOT한 중고거래 물품을<br />판다 마켓에서 확인해 보세요
</p>
Expand All @@ -46,29 +49,27 @@ <h2>일상의 모든 물건을<br />거래해 보세요</h2>
</div>

<div class="section-content">
<div class="section-card">
<div class="section-card reverse">
<div class="section-text card2">
<p class="section-text-tag">Search</p>
<p class="section-text-title">
구매를 원하는<br />상품을 검색하세요
</p>
<p class="section-text-subtitle">
구매하고 싶은 물품은 검색해서<br />쉽게 찾아보세요
구매하고 싶은 물품은 검색해서 쉽게 찾아보세요
</p>
</div>

<img class="sectionImg" src="/images/card2.png" alt="sectionImg2" />
<img class="section-Img" src="/images/card2.png" alt="sectionImg2" />
</div>
</div>

<div class="section-content">
<div class="section-card card3">
<img class="sectionImg" src="/images/card3.png" alt="sectionImg3" />
<img class="section-Img" src="/images/card3.png" alt="sectionImg3" />
<div class="section-text">
<p class="section-text-tag">Register</p>
<p class="section-text-title">
판매를 원하는<br />상품을 등록하세요
</p>
<p class="section-text-title">판매를 원하는 상품을 등록하세요</p>
<p class="section-text-subtitle">
어떤 물건이든 판매하고싶은 상품을<br />쉽게 등록하세요
</p>
Expand Down
243 changes: 203 additions & 40 deletions login.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
font-style: normal;
}

body p {
font-size: 1.6rem;
}

.container {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
}
Expand All @@ -29,108 +31,269 @@
display: flex;
flex-direction: column;
flex-shrink: 0;
width: 640px;
height: 618px;
margin: 231px 640px;
width: 64rem;
height: 61.8rem;
margin: 23.1rem 64rem;
}

.header-logo {
height: 132px;
margin: 0 122px;
height: 13.2rem;
margin: 0 auto;
}

.loginLogoImg {
width: 396px;
height: 132px;
width: 39.6rem;
height: 13.2rem;
}

.input-form-container {
margin-top: 40px;
margin-top: 4rem;
display: flex;
flex-direction: column;
width: 640px;
height: 300px;
gap: 24px;
width: 64rem;
height: 30rem;
gap: 2.4rem;
}

.input-box-container {
width: 100%;
height: 98px;
height: 9.8rem;
position: relative;
}

.input-box-container label {
font-size: 18px;
font-size: 1.8rem;
font-weight: 700;
}

.wrapper-for-icon {
position: relative;
display: flex;
align-items: center;
justify-items: center;
}

.input-box {
margin-top: 16px;
margin-top: 1.6rem;
width: 100%;
height: 56px;
border-radius: 12px;
padding: 16px 24px;
font-weight: 400px;
border: 1px soild var(--cool-gray-100);
height: 5.6rem;
border-radius: 1.2rem;
padding: 1.6rem 2.4rem;
font-weight: 400;
border: 0.1rem solid var(--cool-gray-100);
background-color: #f3f4f6;
font-size: 1.6rem;
}

.passwordIcon {
position: absolute;
right: 3rem;
width: 2.4rem;
height: 2.4rem;
top: 45%;
cursor: pointer;
}

.button-container {
margin-top: 24px;
height: 56px;
margin-top: 2.4rem;
height: 5.6rem;
}

.login-button {
width: 100%;
height: 56px;
padding: 16px 124px;
border-radius: 40px;
background-color: var(--button-color);
border: 0 soild var(--button-color);
height: 5.6rem;
padding: 1.6rem 12.4rem;
border-radius: 4rem;
background-color: #9ca3af;
border: 0 solid #9ca3af;
color: #f3f4f6;
font-size: 20px;
font-size: 2rem;
font-weight: 600;
cursor: pointer;
}

.simple-login-box {
display: flex;
justify-content: center;
align-items: center;
margin-top: 24px;
height: 74px;
gap: 10px;
margin-top: 2.4rem;
height: 7.4rem;
gap: 1rem;
background-color: #e6f2ff;
}

.simple-login-content {
width: 100%;
height: 42px;
height: 4.2rem;
display: flex;
justify-content: space-between;
align-items: center;
margin: 16px 23px;
margin: 1.6rem 2.3rem;
}

.simple-login-text {
display: flex;
align-items: center;
font-weight: 500;
color: #1f2937;
height: 24px;
height: 2.4rem;
}

.logo-box {
display: flex;
gap: 16px;
gap: 1.6rem;
}

.logo-box img {
height: 4.2rem;
}

.register {
margin-top: 24px;
margin-top: 2.4rem;
display: flex;
justify-content: center;
align-items: center;
gap: 4px;
gap: 0.4rem;
}

.register-a {
font-size: 14px;
.register-navigate {
font-size: 1.4rem;
font-weight: 500;
color: var(--button-color);
}

/* 모바일 */
@media (min-width: 375px) and (max-width: 767px) {
.container {
display: flex;
justify-content: center;
align-items: center;
padding: 0 1.6rem;
}

.content-box {
display: flex;
flex-direction: column;
flex-shrink: 0;
width: 100%;
max-width: 40rem;
height: 50.1rem;
margin: 23.1rem auto;
}

.header-logo {
height: 13.2rem;
}

.loginLogoImg {
max-width: 19.8rem;
height: 6.6rem;
margin: 0 auto;
}

.input-form-container {
margin-top: 4rem;
display: flex;
flex-direction: column;
width: 100%;
max-width: 40rem;

gap: 2.4rem;
}

.input-box-container {
width: 100%;
}

.input-box-container label {
font-size: 1.8rem;
font-weight: 700;
}

.input-box {
margin-top: 1.6rem;
width: 100%;
height: 5.6rem;
border-radius: 1.2rem;
padding: 1.6rem 2.4rem;
font-weight: 400;
border: 0.1rem solid var(--cool-gray-100);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ 수정요청
선언되어있지 않은 css 변수라서 border와 background color가 나오지 않네요!
확인해보시고 디자인대로 나올 수 있게 수정해보세요~

background-color: var(--cool-gray-100);
font-size: 1.6rem;
}

.button-container {
margin-top: 2.4rem;
height: 5.6rem;
width: 100%;
max-width: 40rem;
}

.login-button {
width: 100%;
height: 5.6rem;
padding: 1.6rem;
border-radius: 4rem;
background-color: #9ca3af;
border: 0 solid #9ca3af;
color: #f3f4f6;
font-size: 2rem;
font-weight: 600;
cursor: pointer;
}

.simple-login-box {
display: flex;
justify-content: center;
align-items: center;
margin-top: 2.4rem;
height: 7.4rem;
gap: 1rem;
background-color: #e6f2ff;
width: 100%;
max-width: 40rem;
}

.simple-login-content {
width: 100%;
height: 4.2rem;
display: flex;
justify-content: space-between;
align-items: center;
margin: 1.6rem;
border-radius: 0.8rem;
}

.simple-login-text {
display: flex;
align-items: center;
font-weight: 500;
color: #1f2937;
height: 2.4rem;
}

.logo-box {
display: flex;
gap: 1.6rem;
}

.logo-box img {
height: 4.2rem;
}

.register {
margin-top: 2.4rem;
display: flex;
justify-content: center;
align-items: center;
gap: 0.4rem;
width: 100%;
max-width: 40rem;
}

.register-navigate {
font-size: 1.4rem;
font-weight: 500;
color: var(--button-color);
}
}
Loading
Loading