Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added image/og_img.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: 17 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@
<head>
<meta charset="utf-8">
<title>판다마켓 </title>
<meta property="og:image" content="image/og_img.png">
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 property="og:url" content="https://golden-valkyrie-b92196.netlify.app/">
<meta property="og:title" content="판다 마켓">
<meta property="og:description" content="일상의 모든 물건을 거래해보세요">

<link rel="stylesheet" href="style.css">
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css" />
<link rel="stylesheet" href="responsive.css">
<link rel="stylesheet" href="root.css">
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css" />
</head>
<body>
<header class="main-header">
Expand All @@ -13,21 +20,21 @@
<a href="/login.html" class="login">로그인</a>
</div>
</header>
<section>
<div class="top-section">
<section class="top-section">
<div class="top-div">
<div class="content">
<div class="top-content">일상의 모든 물건을<br>거래해 보세요</div>
<a href="/items.html" class="top-btn">구경하러 가기</a>
</div>
<img src="image/img_home.png" class="img_home" alt="배너이미지">
<img src="image/img_home.png" class="img-home" alt="배너이미지">
</div>
</section>
<main>
<div class="main-left">
<img src="image/main_01.png" class="main-img" alt="첫 번째 본문 이미지">
<div class="main-div">
<div class="title">Hot Item</div>
<div class="main-content-bold">인기 상품을<br>확인해 보세요</div>
<div class="main-content-bold">인기 상품을<br> 확인해 보세요</div>
<div class="main-content">가장 HOT한 중고거래 물품을<br> 판다 마켓에서 확인해 보세요</div>
</div>
</div>
Expand All @@ -36,25 +43,25 @@
<div class="main-div-right">
<div class="title">Search</div>
<div class="main-content-bold">구매를 원하는<br>상품을 검색하세요</div>
<div class="main-content">구매하고 싶은 물품은 검색해서<br>쉽게 찾아보세요</div>
<div class="main-content">구매하고 싶은 물품은 검색해서<br> 쉽게 찾아보세요</div>
</div>

</div>
<div class="main-left">
<img src="image/main_03.png" class="main-img" alt="세 번째 본문 이미지">
<div class="main-div">
<div class="title">Register</div>
<div class="main-content-bold">판매를 원하는<br>상품을 등록하세요</div>
<div class="main-content-bold">판매를 원하는<br> 상품을 등록하세요</div>
<div class="main-content">어떤 물건이든 판매하고 싶은 상품을<br> 쉽게 등록하세요</div>
</div>
</div>

<section>
<div class="top-section">
<section class="top-section">
<div class="top-div">
<div class="content">
<div class="top-content">믿을 수 있는<br>판다마켓 중고 거래</div>
</div>
<img src="image/footer.png" class="img_home" alt="푸터 이미지">
<img src="image/footer.png" class="img-home" alt="푸터 이미지">
</div>
</section>
</main>
Expand Down
6 changes: 4 additions & 2 deletions login.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="sign.css">
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css" />
<link rel="stylesheet" href="responsive.css">
<link rel="stylesheet" href="root.css">
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css" />
<title>로그인</title>
</head>
<body>
<body class="sign-body">
<a href="/"><img src="image/logo_large.png" alt="로그인 로고" class="sign-logo"></a>
<form class="sign-form">
<div class="sign-form-label">
Expand Down
84 changes: 84 additions & 0 deletions responsive.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/*style.css*/
/* common */
@media (min-width:375px)and (max-width:1199px){
Copy link
Collaborator

Choose a reason for hiding this comment

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

같은 목적의 코드를 모아두시려는 의도는 너무 좋습니다~! 👍
다만 다른 페이지의 소스를 한 곳에 담게 되어 페이지마다 불필요한 css를 다운 받게 됩니다 🤔

footer-div{
flex-flow:wrap;
}
.main-left, .main-right {
width: 100%;
background-color: #ffffff;
flex-wrap: wrap;
}
.main-div, .main-div-right {
padding: 0 20px;
}
.main-img{
width: 100%;
}
.top-section {
height: auto;
}
.top-div{
flex-direction: column;
align-items: center;
}
.content {
height: 40vh;
Copy link
Collaborator

Choose a reason for hiding this comment

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

image
vh의 경우 뷰포트 기준이라 화면에 따라 많이 달라질 수 있습니다~!

text-align: center;
}
.img-home{
width: 100%;
}
.footer-div {
Copy link
Collaborator

Choose a reason for hiding this comment

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

image
요구 사항을 다시 확인해주세요~! :)

flex-flow:wrap;
}

}
/* Mobile */
@media (min-width:375px) and (max-width:767px){
.main-header-div {
margin: 0 16px;
}
.img-home{
width: 100%;
}

}
/* Tablet */
@media (min-width:768px) and (max-width:1199px){
.main-header-div {
margin: 0 24px;
}
.main-left, .main-right {
max-width: 900px;
}
}

/* sign.css */

/* Mobile */
@media (min-width:375px) and (max-width:767px) {
.sign-body {
width: 100%;
padding-left: 16px;
padding-right: 16px;
}
.sign-logo{
width: 55%;
height: 20%;
}

.sign-form * , .sign-logo {
max-width: 400px;
display: block;
margin-left: auto;
margin-right: auto;
}

.simple-login-div{
Copy link
Collaborator

Choose a reason for hiding this comment

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

image
radius가 안 들어가고 있네요 🤣

max-width: 400px;
margin-left: auto;
margin-right: auto;
Copy link
Collaborator

Choose a reason for hiding this comment

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

margin: 0 auto; 

이렇게 표현할 수도 있습니다~!

}

}
13 changes: 13 additions & 0 deletions root.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
:root {
--gray900 : #111827;
--gray800 : #1f2937;
--gray700 : #374151;
--gray600 : #4b5563;
--gray500 : #6b7280;
--gray400 : #9ca3af;
--gray200 : #e5e7eb;
--gray100 : #f3f4f6;
--gray50 : #f9fafb;
--blue:#3692ff;
--white:#ffffff;
}
19 changes: 4 additions & 15 deletions sign.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,14 @@
box-sizing: border-box;
}

:root {
--gray900 : #111827;
--gray800 : #1f2937;
--gray700 : #374151;
--gray600 : #4b5563;
--gray500 : #6b7280;
--gray400 : #9ca3af;
--gray200 : #e5e7eb;
--gray100 : #f3f4f6;
--gray50 : #f9fafb;
--blue:#3692ff;
}

body {
.sign-body {
font-family: "pretendard", sans-serif;
margin: 0 auto;
width: 640px;
margin-top: 231px;
padding-top: 231px;
}


.sign-logo {
display: block;
width: 396px;
Expand Down Expand Up @@ -117,6 +105,7 @@ body {
.footer {
display: flex;
justify-content: center;
align-content: center;
font-size: 14px;
color: var(--gray800);
gap: 4px;
Expand Down
6 changes: 4 additions & 2 deletions signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="sign.css">
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css" />
<link rel="stylesheet" href="responsive.css">
<link rel="stylesheet" href="root.css">
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css" />
<title>회원가입</title>
</head>
<body>
<body class="sign-body">
<a href="/"><img src="image/logo_large.png" alt="회원가입 로고" class="sign-logo"></a>
<form class="sign-form">
<div class="sign-form-label">
Expand Down
Loading
Loading