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 .DS_Store
Binary file not shown.
Binary file added images/fav.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions images/logo_typo_only.svg
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/preview_panda.jpg
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤣

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 41 additions & 34 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,72 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>판다마켓</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="/styles/landing.css">
<link rel="icon" href="/images/fav.ico">
<meta name="description" content="일상의 모든 물건을 거래해보세요">
<meta property="og:title" content="판다마켓">
<meta property="og:description" content="일상의 모든 물건을 거래해보세요">
<meta property="og:url" content="/">
<meta property="og:image" content="images/preview_panda.jpg">
<script src="/main.js"></script>
</head>
<body>
<header class="land-header" role="navigation">
<div class="land-header--container">
<a href="/" class="logo"><img src="images/logo.svg" alt="판다마켓 로고"></a>
<a href="/login.html" class="button button--normal">로그인</a>
<header class="flex-center" role="navigation">
<div class="container flex flex-between">
<a href="/" class="logo"></a>
<a href="/login.html" class="button button--small-48">로그인</a>
</div>
</header>
<main class="land-main">
<section class="land-section land-section--extend">
<div class="land-section__container">
<img src="images/landing_top.svg" alt="판다마켓 랜딩 이미지">
<div class="texts">
<h1 class="land-h1">일상의 모든 물건을<br>거래해 보세요</h1>
<a href="/items" class="button button--wide">구경하러 가기</a>
<main class="flex flex-column">
<section class="section section--extend flex flex-center flex-bottom">
<div class="section__container">
<div class="text-left">
<h1>일상의 모든 물건을 <br>거래해 보세요</h1>
<a href="/items" class="button button--large">구경하러 가기</a>
</div>
<img src="images/landing_top.svg" alt="판다마켓 랜딩 이미지">
</div>
</section>
<section class="land-section land-section--normal">
<section class="section section--normal flex flex-left gap-64">
<img src="images/landing_01.svg" alt="판다마켓 랜딩 이미지">
<div class="texts">
<h3 class="land-section__tag">Hot item</h3>
<h2 class="land-h2">인기 상품을<br>확인해 보세요</h2>
<div class="text-left">
<h3 class="section__tag">Hot item</h3>
<h2>인기 상품을 <br>확인해 보세요</h2>
<p class="description">가장 HOT한 중고거래 물품을<br>판다 마켓에서 확인해 보세요</p>
</div>
</section>
<section class="land-section land-section--normal">
<img src="images/landing_02.svg" alt="판다마켓 랜딩 이미지">
<div class="texts">
<h3 class="land-section__tag">Search</h3>
<h2 class="land-h2">구매를 원하는<br>상품을 검색하세요</h2>
<section class="section section--normal flex flex-right gap-64">
<div class="text-right">
<h3 class="section__tag">Search</h3>
<h2>구매를 원하는 <br>상품을 검색하세요</h2>
<p class="description">구매하고 싶은 물품은 검색해서<br>쉽게 찾아보세요</p>
</div>
<img src="images/landing_02.svg" alt="판다마켓 랜딩 이미지">
</section>
<section class="land-section land-section--normal">
<section class="section section--normal flex flex-left gap-64">
<img src="images/landing_03.svg" alt="판다마켓 랜딩 이미지">
<div class="texts">
<h3 class="land-section__tag">Register</h3>
<h2 class="land-h2">판매를 원하는<br>상품을 등록하세요</h2>
<div class="text-left">
<h3 class="section__tag">Register</h3>
<h2>판매를 원하는 <br>상품을 등록하세요</h2>
<p class="description">어떤 물건이든 판매하고 싶은 상품을<br>쉽게 등록하세요</p>
</div>
</section>
<section class="land-section land-section--extend">
<div class="land-section__container">
<img src="images/landing_bottom.svg" alt="판다마켓 랜딩 이미지">
<div class="texts">
<h2 class="land-h2">믿을 수 있는<br>판다마켓 중고 거래</h2>
<section class="section section--extend flex flex-center flex-bottom">
<div class="section__container">
<div class="text-left">
<h2>믿을 수 있는<br>판다마켓 중고 거래</h2>
</div>
<img src="images/landing_bottom.svg" alt="판다마켓 랜딩 이미지">
</div>
</section>
</main>
<footer class="land-footer">
<div class="land-footer__begin">©codeit - 2024</div>
<div class="land-footer__middle">
<footer class="flex flex-between flex-top">
<div>©codeit - 2024</div>
<div class="flex gap-30">
<a href="/privacy">Privacy Policy</a>
<a href="/faq">FAQ</a>
</div>
<div class="land-footer__end">
<div class="flex gap-12">
<a class="icon icon--18" href="https://www.facebook.com" target="_blank" style="background-image: url(images/ico_facebook.svg);"></a>
<a class="icon icon--18" href="https://www.twitter.com" target="_blank" style="background-image: url(images/ico_twitter.svg);"></a>
<a class="icon icon--18" href="https://www.youtube.com" target="_blank" style="background-image: url(images/ico_youtube.svg);"></a>
Expand Down
7 changes: 4 additions & 3 deletions login.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>로그인 - 판다마켓</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="/images/fav.ico">
<link rel="stylesheet" href="/styles/sign.css">
</head>
<body class="sign">
<div class="sign-container">
<a href="/" class="logo"><img src="images/logo.svg" alt="판다마켓 로고"></a>
<a href="/" class="logo"></a>
<form class="sign-form" action="">
<label for="email">이메일</label>
<input class="sign-form__input" placeholder="이메일을 입력해주세요" type="text" name="email" id="email">
<label for="password">비밀번호</label>
<div class="password-container">
<input class="sign-form__input" placeholder="비밀번호를 입력해주세요" type="password" name="password" id="password">
<button id="password__toggle" class="icon icon--24" style="background-image: url(images/ico_eye-close.svg);"></button>
<button id="password__toggle" class="icon icon--24" type="button" style="background-image: url(images/ico_eye-close.svg);"></button>
</div>
<input class="button button--wide" type="submit" value="로그인">
</form>
Expand Down
14 changes: 14 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
window.addEventListener('resize', () => {
const elements = document.querySelectorAll('.section--normal');

//for tablet
elements.forEach((element) => {
if (window.innerWidth <= 1200) {
element.classList.remove('gap-64');
element.classList.add('gap-24');
} else {
element.classList.remove('gap-24');
element.classList.add('gap-64');
}
});
});
6 changes: 3 additions & 3 deletions signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>회원가입 - 판다마켓</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="/styles/sign.css">
</head>
<body class="sign">
<div class="sign-container">
<a href="/" class="logo"><img src="images/logo.svg" alt="판다마켓 로고"></a>
<a href="/" class="logo"></a>
<form class="sign-form" action="">

<label for="email">이메일</label>
Expand All @@ -20,7 +20,7 @@
<label for="password">비밀번호</label>
<div class="password-container">
<input class="sign-form__input" placeholder="비밀번호를 입력해주세요" type="password" name="password" id="password">
<button id="password__toggle" class="icon icon--24" style="background-image: url(images/ico_eye-close.svg);"></button>
<button id="password__toggle" class="icon icon--24" type="button" style="background-image: url(images/ico_eye-close.svg);"></button>
</div>

<label for="password--check">비밀번호 확인</label>
Expand Down
9 changes: 0 additions & 9 deletions style.css.map

This file was deleted.

Loading
Loading