Skip to content

Commit

Permalink
Merge pull request #5 from eomsung/basic-엄성민-sprint1,2
Browse files Browse the repository at this point in the history
Basic 엄성민 sprint1,2
  • Loading branch information
seobew authored Nov 12, 2024
2 parents 5b1fbb2 + 8b289c6 commit 64523de
Show file tree
Hide file tree
Showing 26 changed files with 745 additions and 0 deletions.
1 change: 1 addition & 0 deletions project/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
성민의 판다마켓 프로젝트입니다.
Empty file added project/faq.html
Empty file.
Binary file added project/img/Ic_google.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 project/img/Ic_kakao.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 project/img/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 project/img/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 project/img/Img_section2.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 project/img/Img_section3.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 project/img/btn_visibility_off.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 project/img/btn_visibility_on.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 project/img/ic_facebook.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 project/img/ic_instagram.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 project/img/ic_twitter.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 project/img/ic_youtube.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 project/img/img_section1.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 project/img/logo.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 project/img/panda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
125 changes: 125 additions & 0 deletions project/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
<!DOCTYPE html>
<html lang="ko">

<head>
<meta charset="utf-8">
<title>판다마켓</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable.min.css" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-66ECRB99MR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-66ECRB99MR');
</script>
</head>

<body>
<div id="container">
<nav id="NavigationBar">
<div id="NavigationBar_inner">
<a href="index.html"><img id="img_panda" src="img/panda.png"></a>
<span id="box1">
<a id ="LoginButton" href="login.html">
로그인
</a>
<div id="box2"></div>
</span>
</div>
</nav>

<header id="header">
<div id="header_inner">
<div id="header_inner_left">
<span id="header_text">일상의 모든 물건을 <br>거래해 보세요</span>
<a id ="button" href="items.html">
구경하러 가기
</a>
</div>
<div id="header_inner_right">
</div>
</div>
</header>

<section class="section">
<div class="section_box">
<img src="img/img_section1.png">
<div class="section_inner">
<div class="text_top">Hot item</div>
<div class="text_mid">인기 상품을<br>확인해 보세요</div>
<div class="text_bot">가장 HOT 한 중고거래 물품을<br>판다 마켓에서 확인해 보세요</div>
</div>
</div>
</section>

<section class="section">
<div class="section_box">
<div class="section_inner opp">
<div class="text_top">Search</div>
<div class="text_mid">구매를 원하는<br>상품을 검색하세요</div>
<div class="text_bot">구매하고 싶은 물품은 검색해서<br>쉽게 찾아보세요</div>
</div>
<img src="img/img_section2.png">
</div>
</section>

<section class="section">
<div class="section_box btw">
<img src="img/img_section3.png">
<div class="section_inner">
<div class="text_top">Register</div>
<div class="text_mid">판매를 원하는<br>상품을 등록하세요</div>
<div class="text_bot">어떤 물건이든 판매하고 싶은 상품을<br>쉽게 등록하세요</div>
</div>
</div>
</section>


<div class="section2">
<div class="section2_inner">
<div class="text">믿을 수 있는 <br>판다마켓 중고 거래</div>
<div class="img_box"><img src="img/Img_home_bottom.png"></div>
</div>
</div>


<footer id="bottom">
<div id="bottom_inner">

<span id="group1">©codeit - 2024 </span>

<span id="group2">
<a class="bottom_text" href="privacy.html" >
Privacy Policy
</a>
<a class="bottom_text" href="faq.html">
FAQ
</a>
</span>

<span id="group3">
<a class="icon" href="https://www.facebook.com/">
<img src="img/ic_facebook.png">
</a>
<a class="icon" href="https://www.twitter.com/">
<img src="img/ic_twitter.png">
</a>
<a class="icon" href="https://www.youtube.com/">
<img src="img/ic_youtube.png">
</a>
<a class="icon" href="https://www.instagram.com/">
<img src="img/ic_instagram.png">
</a>
</span>

</div>
</div>


</footer>
</body>

</html>
Empty file added project/items.html
Empty file.
46 changes: 46 additions & 0 deletions project/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<title>판다마켓</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="style_login.css">
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable.min.css" />
</head>
<body>
<div id="box">
<a id="section0" href="index.html"></a>

<form id="section1">
<label class="section1_box">이메일
<input name="email" placeholder="이메일을 입력해주세요" id="section1_emailbox" required>
</label>
<label class="section1_box">비밀번호
<div class="password-container">
<input type="password" name="password" placeholder="비밀번호를 입력해주세요" id="section1_pwbox" required>
<img src="img/btn_visibility_off.png" class="icon_eyes">
</div>
</label>
<button id="section1_button">로그인</button>

<div id="section1_social">
<div id="section1_socialinner">
간편 로그인하기
<span id="section1_socialbox">
<a href="https://www.google.com/">
<img src="img/ic_google.png">
</a>
<a href="https://www.kakaocorp.com/page/">
<img src="img/ic_kakao.png">
</a>
</span>
</div>
</div>

<div id="section1_signup">판다마켓이 처음이신가요? <a class="login_text" href="signup.html">회원가입</a>
</div>
</form>
</div>
<script src="login.js"></script>
</body>
</html>
42 changes: 42 additions & 0 deletions project/login.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@



// 비밀번호 암호화 해제/설정 버튼
let icons = document.querySelectorAll('.icon_eyes');
icons.forEach(icon => {
icon.addEventListener('click',function () {
const input = icon.previousElementSibling;
let type = input.getAttribute('type');
if(type === 'password'){
type ='text';
icon.setAttribute('src','img/btn_visibility_on.png')
}
else{
type='password';
icon.setAttribute('src','img/btn_visibility_off.png')
}
input.setAttribute('type',type);
})
});


// 버튼 색깔 활성화
let button = document.querySelector('#section1_button');
let inputbox = document.querySelectorAll('#section1 input')
function checkinput(){
let check =true;
inputbox.forEach(input => {
if(input.value === ''){
check=false
}
});
if(check === true){
button.style.backgroundColor ='#3692FF';
}
else{
button.style.backgroundColor ='#9CA3AF';
}
}
inputbox.forEach(input=>{
input.addEventListener('input',checkinput);
});
Empty file added project/privacy.html
Empty file.
67 changes: 67 additions & 0 deletions project/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
:root{
--maincolor: #f9fafc;
--white: #FFFFFF;
--text-color-basic: #374151;
--nav-background: #FFFFFF;
--header-background: #CFE5FF;
--section-background: #FCFCFC;
--section2-background: #CFE5FF;
--bottom-background: #111827;
--text-color-light: #E5E7EB;
--text-color-dark: #9CA3AF;
--blue: #3692FF;
--box-background-color: #F3F4F6;
--box-text-color: #9CA3AF;
--input-focus-color: #3692FF;
--button-background-color: #9CA3AF;
--button-text-color: #F3F4F6;
--social-background-color: #E6F2FF;
--text-color-dark: #1F2937;
--button-active-color: #3692FF;

}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
55 changes: 55 additions & 0 deletions project/signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<title>판다마켓</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="style_login.css">
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable.min.css" />
</head>
<body>
<div id="box">
<a id="section0" href="index.html"></a>

<form id="section1">
<label class="section1_box">이메일
<input name="email" placeholder="이메일을 입력해주세요" id="section1_emailbox" required>
</label>
<label class="section1_box">닉네임
<input name="nickname" placeholder="닉네임을 입력해주세요" id="section1_emailbox" required>
</label>
<label class="section1_box">비밀번호
<div class="password-container">
<input type="password" name="password" placeholder="비밀번호를 입력해주세요" id="section1_pwbox" required>
<img src="img/btn_visibility_off.png" class="icon_eyes">
</div>
</label>
<label class="section1_box">비밀번호 확인
<div class="password-container">
<input type="password" name="password" placeholder="비밀번호를 다시 한 번 입력해주세요" id="section1_pwbox" required>
<img src="img/btn_visibility_off.png" class="icon_eyes">
</div>
</label>
<button id="section1_button">회원가입</button>

<div id="section1_social">
<div id="section1_socialinner">
간편 로그인하기
<span id="section1_socialbox">
<a href="https://www.google.com/">
<img src="img/ic_google.png">
</a>
<a href="https://www.kakaocorp.com/page/">
<img src="img/ic_kakao.png">
</a>
</span>
</div>
</div>

<div id="section1_signup">이미 회원이신가요? <a class="login_text" href="login.html">로그인</a>
</div>
</form>
</div>
<script src="login.js"></script>
</body>
</html>
Loading

0 comments on commit 64523de

Please sign in to comment.