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
16 changes: 9 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:image" content="./resource/img/preview.png">
<meta property="og:title" content="판다마켓">
<meta name="og:description" content="일상의 모든 물건을 거래해보세요">
<title>판다마켓</title>
<link rel="stylesheet" href="./resource/css/font.css">
<link rel="stylesheet" href="./resource/css/style.css">
<link rel="stylesheet" href="./resource/css/main.css">
</head>
<body>
<div class="layout">
<header class="header">
<div class="inner">
<div class="head-logo">
<h1><a href="./"><img src="./resource/img/head_logo.png" alt="판다마켓 로고"></a></h1>
<h1><a href="./"><img class="pc tablet" src="./resource/img/head_logo.png" alt="판다마켓 로고"><img class="mobile" src="./resource/img/head_logo_mo.png" alt="판다마켓 로고"></a></h1>
Copy link
Collaborator

Choose a reason for hiding this comment

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

반응형 이미지로 picture를 사용해보시면 좋아요!

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture

</div>
<div class="head-login">
<a href="./page/login.html" class="el-btn btn-sm">로그인</a>
Expand All @@ -23,7 +25,7 @@ <h1><a href="./"><img src="./resource/img/head_logo.png" alt="판다마켓 로
<div class="color-sec">
<div class="banner">
<div class="text-wrap">
<p class="text">일상의 모든 물건을<br>거래해 보세요</p>
<p class="text">일상의 모든 물건을 <br class="pc mobile">거래해 보세요</p>
<a href="./page/items.html" class="el-btn btn-l">구경하러 가기</a>
</div>
<div class="img-wrap">
Expand All @@ -39,7 +41,7 @@ <h1><a href="./"><img src="./resource/img/head_logo.png" alt="판다마켓 로
</div>
<div class="box-text">
<span class="keyword">Hot item</span>
<p class="text">인기 상품을<br>확인해 보세요</p>
<p class="text">인기 상품을 <br class="pc">확인해 보세요</p>
<p class="info">가장 HOT한 중고거래 물품을<br>판다 마켓에서 확인해 보세요</p>
</div>
</div>
Expand All @@ -48,7 +50,7 @@ <h1><a href="./"><img src="./resource/img/head_logo.png" alt="판다마켓 로
<div class="cont-box ty-revers">
<div class="box-text">
<span class="keyword">Search</span>
<p class="text">구매를 원하는<br>상품을 검색하세요</p>
<p class="text">구매를 원하는 <br class="pc">상품을 검색하세요</p>
<p class="info">구매하고 싶은 물품은 검색해서<br>쉽게 찾아보세요</p>
</div>
<div class="box-img">
Expand All @@ -63,7 +65,7 @@ <h1><a href="./"><img src="./resource/img/head_logo.png" alt="판다마켓 로
</div>
<div class="box-text">
<span class="keyword">Register</span>
<p class="text">판매를 원하는<br>상품을 등록하세요</p>
<p class="text">판매를 원하는 <br class="pc">상품을 등록하세요</p>
<p class="info">어떤 물건이든 판매하고 싶은 상품을<br>쉽게 등록하세요</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions page/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>판다마켓 - 로그인</title>
<link rel="stylesheet" href="../resource/css/style.css">
<link rel="stylesheet" href="../resource/css/sub/sign.css">
</head>
<body>
<div class="layout-sign">
Expand All @@ -21,7 +21,7 @@
<div class="input-box el-txt-input">
<label for="login-password">비밀번호</label>
<input id="login-password" type="password" placeholder="비밀번호를 입력해주세요">
<button type="button" class="el-btn btn-password"></button>
<button type="button" class="el-btn btn-password" aria-label="비밀번호 표시"></button>
</div>
<button type="submit" class="el-btn btn-l" disabled>로그인</button>
</form>
Expand Down
4 changes: 2 additions & 2 deletions page/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>판다마켓 - 회원가입</title>
<link rel="stylesheet" href="../resource/css/style.css">
<link rel="stylesheet" href="../resource/css/sub/sign.css">
</head>
<body>
<div class="layout-sign">
Expand All @@ -20,7 +20,7 @@
</div>
<div class="input-box el-txt-input">
<label for="signup-name">닉네임</label>
<input id="signup-name" type="text" placeholder="닉네임임을 입력해주세요">
<input id="signup-name" type="text" placeholder="닉네임을 입력해주세요">
</div>
<div class="input-box el-txt-input">
<label for="signup-password">비밀번호</label>
Expand Down
45 changes: 45 additions & 0 deletions resource/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,49 @@ button.el-btn {
position: absolute;
bottom: 14px;
right: 24px;
}



/* 반응형 */
.mobile {
Copy link
Collaborator

Choose a reason for hiding this comment

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

늘 재사용성이나 공통 부분을 생각하고 정의 하시려는 게 코드에 나타나는 거 같아요💯

display: none;
}
.tablet {
display: none;
}
.pc {
display: block;
}

@media (width < 1200px) {
.pc {
display: none;
}
.tablet {
display: block;
}
}

@media (width < 768px) {
.pc {
display: none;
}
.mobile {
display: block;
}

/* button */
.el-btn.btn-l {
font-size: var(--text-2lg);
line-height: 48px;
}

/* input */
.el-txt-input label {
font-size: var(--text-md);
}
.el-txt-input label + input {
margin-top: 8px;
}
}
Loading
Loading