Skip to content
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

[김태훈] sprint2 #26

Closed
wants to merge 4 commits into from
Closed
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
32 changes: 32 additions & 0 deletions faq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!--
<VS Code에서 HTML 기본구조 자동생성하기>

- `!` 입력 후 tab 키를 누르면 HTML 기본 양식이 입력됩니다.

- 이때, <html lang="en"> 부분을 매번 lang="ko"로 바꾸는 것이 번거로우니 양식을 바꿔봅시다.
command/ctrl + 쉼표 를 눌러 VS Code 설정창을 열고 emmet을 검색해 주세요.
스크롤을 내려 Emmet: Variables 섹션에 Add Item을 누르고 lang Item의 Value를 ko로 바꿔 입력해 주세요.
마지막으로 Add Item 버튼을 눌러 저장하면 끝!
-->

<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- 기본 양식 생성 후, 제목을 수정하고 해당 페이지에 적용할 파비콘 및 스타일시트를 추가해 주세요. -->
<title>판다마켓 - FAQ</title>
<link rel="icon" href="images/logo/favicon.ico" />
<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="styles/global.css" />
</head>

<body>
<h1>임시 FAQ 페이지</h1>
</body>
</html>
Binary file added images/Component 2.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/Component [email protected]
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/Component [email protected]
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/Component 3.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/Component [email protected]
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/Component [email protected]
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/Img_home_01.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/[email protected]
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/[email protected]
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/Img_home_02-1.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/Img_home_02.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/[email protected]
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/Img_home_03.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/[email protected]
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/[email protected]
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/Img_home_bottom.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/[email protected]
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/[email protected]
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/Img_home_top.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/[email protected]
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/[email protected]
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/Property 1=Typo.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/Property [email protected]
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/Property 1=md.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/Property 1=sm.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/btn_large-1.png
Binary file added images/btn_large-2.png
Binary file added images/btn_large-3.png
Binary file added images/btn_large.png
Binary file added images/btn_small-1.png
Binary file added images/btn_small-2.png
Binary file added images/btn_small-3.png
Binary file added images/btn_small.png
Binary file added images/btn_visibility_off_24px.png
Binary file added images/btn_visibility_on_24px.png
Binary file added images/ic_facebook.png
3 changes: 3 additions & 0 deletions images/ic_facebook.svg
Binary file added images/[email protected]
Binary file added images/[email protected]
Binary file added images/ic_instagram.png
3 changes: 3 additions & 0 deletions images/ic_instagram.svg
Binary file added images/[email protected]
Binary file added images/[email protected]
Binary file added images/ic_twitter.png
3 changes: 3 additions & 0 deletions images/ic_twitter.svg
Binary file added images/[email protected]
Binary file added images/[email protected]
Binary file added images/ic_youtube.png
10 changes: 10 additions & 0 deletions images/ic_youtube.svg
Binary file added images/[email protected]
Binary file added images/[email protected]
Binary file added images/logo/favicon.ico
Binary file not shown.
Binary file added images/logo/panda-market-logo.png
Binary file added images/panda_logo_1.png
Binary file added images/panda_logo_1_2x.png
Binary file added images/pandaface.png
Binary file added images/pandamarket.png
112 changes: 112 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>판다마켓</title>
<link rel="stylesheet" href="styles/home.css">
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.css">
<link rel="icon" href="images/logo/favicon.ico" />
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/noonnu/[email protected]/rokaf-sans-medium.woff2">
</head>
<body>
<header>
<div class="header-logo-box">
<a href="/">
<img class="header-logo cursor_pointer" src="images/panda_logo_1.png" alt="판다마켓 로고">
</a>
</div>
<div class="header-login-box">
<a href="login.html">
<img class="login-button cursor_pointer" src="images/btn_small.png" alt="로그인 버튼">
</a>
</div>
</header>
<main>
<div class="main-box">
<div class="main-box-kid1">
<p class="main-box-kid1-p">일상의 모든 물건을<br> 거래해 보세요</p>
<a href="items.html">
<img class="sightseeing cursor_pointer" src="images/btn_large.png" alt="구경하러 가기 버튼">
</a>
</div>
<div class="main-box-kid2">
<img class="main-panda" src="images/[email protected]" alt="메인 판다 그림">
</div>
</div>
</main>
<div class="section-background">
<section class="section-container">
<div class="section-box">
<img class="section_content" src="images/Img_home_01.png" alt="Hot item 그림">
<div class="section_content_p_box">
<p class="section_content_p1">Hot item</p>
<p class="section_content_p2">인기 상품을<br> 확인해보세요</p>
<p class="section_content_p3">가장 HOT한 중고거래 물품을<br> 판다 마켓에서 확인해보세요</p>
</div>
</div>
</section>
<section class="section-container-right">
<div class="section-box-right">
<img class="section_content" src="images/Img_home_02.png" alt="Search 그림">
<div class="section_content_p_box">
<p class="section_content_p1">Search</p>
<p class="section_content_p2">구매를 원하는<br>상품을 검색하세요</p>
<p class="section_content_p3">구매하고 싶은 물품은 검색해서<br>쉽게 찾아보세요</p>
</div>
</div>
</section>
<section class="section-container">
<div class="section-box">
<img class="section_content" src="images/Img_home_03.png" alt="Register 그림">
<div class="section_content_p_box">
<p class="section_content_p1">Register</p>
<p class="section_content_p2">판매를 원하는<br>상품을 등록하세요</p>
<p class="section_content_p3">어떤 물건이든 판매하고 싶은 상품을<br>쉽게 등록하세요</p>
</div>
</div>
</section>
</div>
<div class="bottom-container">
<div class="bottom-box">
<div class="bottom-p">
믿을 수 있는<br>
판다마켓 중고 거래
</div>
<div class="bottom-img">
<img class="bottom-panda" src="images/[email protected]" alt="bottom 판다 그림">
</div>
</div>
</div>
<footer class="footer-container">
<div class="footer-box">
<div class="footer-kid1">
@codeit - 2024
</div>
<div class="footer-kid2">
<a class="footer-kid-a cursor_pointer" href="privacy.html">
Privacy Policy
</a>
<a class="footer-kid-a cursor_pointer" href="faq.html">
FAQ
</a>
</div>
<div class="footer-kid3">
<a href="https://www.facebook.com/codeit.kr/">
<img class="footer-link cursor_pointer" src="images/ic_facebook.png" alt="Facebook logo">
</a>
<a href="https://x.com/codeitkr">
<img class="footer-link cursor_pointer" src="images/ic_twitter.png" alt="X logo">
</a>
<a href="https://www.youtube.com/channel/UCCM79CPm2WbBYTRaiNEExbg">
<img class="footer-link cursor_pointer" src="images/ic_youtube.png" alt="Youtube logo">
</a>
<a href="https://www.instagram.com/codeit_kr/">
<img class="footer-link cursor_pointer" src="images/ic_instagram.png" alt="Instagram logo">
</a>
</div>
</div>
</footer>
<script src="index.js"></script>
</body>
</html>
31 changes: 31 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
document.addEventListener("click", function(event) {
if (event.target.closest(".toggle-password")) {
const toggle = event.target.closest(".toggle-password");
const passwordField = toggle.previousElementSibling;
const icon = toggle.querySelector("i");

const isPassword = passwordField.type === "password";
passwordField.type = isPassword ? "text" : "password";

icon.classList.toggle("fa-eye");
icon.classList.toggle("fa-eye-slash");
}
});


document.querySelectorAll("form").forEach(function(form) {
form.addEventListener("input", function() {
const inputs = form.querySelectorAll("input");
const submitButton = form.querySelector("button");

const allFilled = Array.from(inputs).every(input => input.value.trim() !== "");

if (allFilled) {
submitButton.classList.add("button-on");
submitButton.classList.remove("button-off");
} else {
submitButton.classList.add("button-off");
submitButton.classList.remove("button-on");
}
});
});
20 changes: 20 additions & 0 deletions items.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>판다마켓 - 상품 리스트</title>
<link rel="icon" href="images/logo/favicon.ico" />
<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="styles/global.css" />
</head>

<body>
<h1>임시 상품 리스트 페이지</h1>
</body>
</html>
67 changes: 67 additions & 0 deletions login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>판다마켓 - 로그인</title>
<link rel="icon" href="images/logo/favicon.ico" />
<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="styles/login-signup.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<div class="login-background">
<div class="login-container">
<div class="login-logo-box">
<a class="gotohome" href="index.html">
<img class="login-logo1" src="images/pandaface.png" alt="판다얼굴 로고 그림">
<img class="login-logo2" src="images/pandamarket.png" alt="판다마켓 글씨 그림">
</a>
</div>
<div class="form-box">
<form>
<label>이메일</label>
<input
name="email"
type="email"
placeholder="이메일을 입력해주세요"
/>
<label>비밀번호</label>
<div class="password-container">
<input
class="password-input"
autocomplete="off"
name="password"
type="password"
placeholder="비밀번호를 입력해주세요"
/>
<span class="toggle-password">
<i class="fas fa-eye-slash"></i>
</span>
</div>
<button class="button-off">로그인</button>
</div>
<div class="social-login-box">
<p class="social-login-p">간편 로그인하기</p>
<div class="social-login-link">
<a class="social-login google" href="https://accounts.google.com/ServiceLogin?hl=ko&passive=true">
<img src="images/Component 2.png" alt="구글 로그인">
</a>
<a class="social-login kakao" href="https://accounts.kakao.com/login">
<img src="images/Component 3.png" alt="카카오톡 로그인">
</a>
</div>
</div>
<p class="sign-up-login">판다마켓이 처음이신가요?
<a href="signup.html">회원가입</a>
</p>
</div>
</div>
<script src="index.js"></script>
</body>
</html>
32 changes: 32 additions & 0 deletions privacy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!--
<VS Code에서 HTML 기본구조 자동생성하기>

- `!` 입력 후 tab 키를 누르면 HTML 기본 양식이 입력됩니다.

- 이때, <html lang="en"> 부분을 매번 lang="ko"로 바꾸는 것이 번거로우니 양식을 바꿔봅시다.
command/ctrl + 쉼표 를 눌러 VS Code 설정창을 열고 emmet을 검색해 주세요.
스크롤을 내려 Emmet: Variables 섹션에 Add Item을 누르고 lang Item의 Value를 ko로 바꿔 입력해 주세요.
마지막으로 Add Item 버튼을 눌러 저장하면 끝!
-->

<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- 기본 양식 생성 후, 제목을 수정하고 해당 페이지에 적용할 파비콘 및 스타일시트를 추가해 주세요. -->
<title>판다마켓 - 이용약관</title>
<link rel="icon" href="images/logo/favicon.ico" />
<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="styles/global.css" />
</head>

<body>
<h1>임시 이용약관 페이지</h1>
</body>
</html>
Loading
Loading