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

[염정훈] Sprint1 #8

Merged
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
13 changes: 13 additions & 0 deletions .github/sprint1/css/reset.css
Copy link
Collaborator

Choose a reason for hiding this comment

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

오 역시 ㅎ ㅎ reset.css를 작성하시는군요 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

리뷰와 피드백 감사합니다! 참고하여 코드를 수정해보겠습니다!

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

a {
text-decoration: none;
}

ul, ol {
list-style: none;
}
199 changes: 199 additions & 0 deletions .github/sprint1/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
:root {
/* gray */
--gray900-color: #111827;
--gray800-color: #1F2937;
--gray700-color: #374151;
--gray600-color: #4B5563;
--gray500-color: #6B7280;
--gray400-color: #9CA3AF;
--gray200-color: #E5E7EB;
--gray100-color: #F3F4F6;
--gray50-color: #F9FAFB;

/* point */
--blue-color:#3692FF;

/* error */
--red-color: #F74747;
}

.header-wrap, .footer-wrap {
width: 100%;
max-width: 1520px;
}

.max-wrap {
width: 100%;
max-width: 1200px;
}

.login-btn {
font-size: 16px;
font-weight: 600;
padding: 12px 23px;
border-radius: 8px;
color: #ffffff;
background-color: var(--blue-color);
}

.item-btn {
font-size: 20px;
font-weight: 600;
padding: 16px 124px;
border-radius: 40px;
color: #ffffff;
background-color: var(--blue-color);
}

.login-btn:hover, .item-btn:hover {
background-color: #1967D6;
}

.login-btn:active, .item-btn:active {
background-color: #1251AA;
}

header {
padding: 0 200px;
border-bottom: 1px solid #DFDFDF;
}

header .header-wrap {
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
margin: 0 auto;
}

header .header-wrap h1 a {
display: flex;
justify-content: center;
align-items: center;
}

main .main-wrap .keyvisual {
background-color: #CFE5FF;
background-image: url("../images/keyvisual-small.png");
background-repeat: no-repeat;
background-position: 65% 100%;
}

main .main-wrap .keyvisual .keyvisual-wrap {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
height: 540px;
margin: 0 auto;
}

main .main-wrap .keyvisual .keyvisual-wrap h2 {
font-size: 40px;
font-weight: 700;
line-height: 1.5;
margin-bottom: 32px;
color: var(--gray700-color);
}

main .main-wrap .card {
padding: 138px 0;
}

main .main-wrap .card .card-wrap {
display: flex;
align-items: center;
margin: 0 auto;
gap: 64px;
}

main .main-wrap .card .card-wrap.right {
justify-content: flex-end;
}

main .main-wrap .card .card-wrap.right .card-txt {
text-align: right;
}

main .main-wrap .card .card-wrap .card-txt span {
Copy link
Collaborator

Choose a reason for hiding this comment

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

자식 선택자 " > 사용 " 을 더 애용하시는 걸 추천드려요!
나중에 예상치 못한 오류가 발생할 확률을 줄여준답니다 :)

font-size: 18px;
font-weight: 700;
color: var(--blue-color);
}

main .main-wrap .card .card-wrap .card-txt h2 {
font-size: 40px;
font-weight: 700;
margin: 12px 0 24px;
color: var(--gray700-color);
}

main .main-wrap .card .card-wrap .card-txt p {
font-size: 24px;
font-weight: 500;
color: var(--gray700-color);
}

main .main-wrap .banner {
background-color: #CFE5FF;
background-image: url("../images/banner-small.png");
background-repeat: no-repeat;
background-position: 65% 100%;
margin-top: 138px;
}

main .main-wrap .banner .banner-wrap {
position: relative;
display: flex;
align-items: center;
height: 540px;
margin: 0 auto;
}

main .main-wrap .banner .banner-wrap h2 {
font-size: 40px;
font-weight: 700;
line-height: 1.5;
margin-bottom: 32px;
color: var(--gray700-color);
}

footer {
background-color: var(--gray900-color);
}

footer .footer-wrap {
display: flex;
justify-content: space-between;
height: 160px;
margin: 0 auto;
padding-top: 32px;
}

footer .footer-wrap p {
width: 160px;
font-size: 16px;
font-weight: 400;
color: var(--gray400-color);
}

footer .footer-wrap ul {
display: flex;
}

footer .footer-wrap ul.footer-menu {
gap: 30px;
}

footer .footer-wrap ul.footer-menu li a {
font-size: 16px;
font-weight: 400;
color: var(--gray200-color);
}

footer .footer-wrap ul.sns {
width: 160px;
justify-content: flex-end;
gap: 12px;
}
11 changes: 11 additions & 0 deletions .github/sprint1/faq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>판다마켓</title>
</head>
<body>

</body>
</html>
Binary file added .github/sprint1/images/.DS_Store
Binary file not shown.
Binary file added .github/sprint1/images/banner-big.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 .github/sprint1/images/banner-middle.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 .github/sprint1/images/banner-small.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 .github/sprint1/images/card01-big.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 .github/sprint1/images/card01-middle.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 .github/sprint1/images/card01-small.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 .github/sprint1/images/card02-big.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 .github/sprint1/images/card02-middle.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 .github/sprint1/images/card02-small.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 .github/sprint1/images/card03-big.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 .github/sprint1/images/card03-middle.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 .github/sprint1/images/card03-small.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 .github/sprint1/images/i-facebook-big.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 .github/sprint1/images/i-facebook-middle.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 .github/sprint1/images/i-facebook-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions .github/sprint1/images/i-facebook.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 .github/sprint1/images/i-instagram-big.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 .github/sprint1/images/i-instagram-middle.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 .github/sprint1/images/i-instagram-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions .github/sprint1/images/i-instagram.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 .github/sprint1/images/i-twitter-big.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 .github/sprint1/images/i-twitter-middle.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 .github/sprint1/images/i-twitter-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions .github/sprint1/images/i-twitter.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 .github/sprint1/images/i-youtube-big.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 .github/sprint1/images/i-youtube-middle.png
Binary file added .github/sprint1/images/i-youtube-small.png
10 changes: 10 additions & 0 deletions .github/sprint1/images/i-youtube.svg
Binary file added .github/sprint1/images/keyvisual-big.png
Binary file added .github/sprint1/images/keyvisual-middle.png
Binary file added .github/sprint1/images/keyvisual-small.png
Binary file added .github/sprint1/images/logo-big.png
Binary file added .github/sprint1/images/logo-middle.png
Binary file added .github/sprint1/images/logo-small.png
141 changes: 141 additions & 0 deletions .github/sprint1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="판다마켓">
<meta property="og:type" content="website">
<meta property="og:description" content="일상의 모든 물건을 거래해 보세요">
<meta property="og:image" content="images/keyvisual-small.png">
<meta property="og:url" content="https://sprint-8-yeomjeonghug.netlify.app/">
<title>판다마켓</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/reset.css">
</head>
<body>
<div class="wrap">
<header>
<div class="header-wrap">
<h1>
<a href="/">
<img src="images/logo-small.png" alt="판다마켓 로고">
</a>
</h1>
<div class="header-button">
<a href="/login.html" class="login-btn">로그인</a>
</div>
</div>
</header>

<main>
<div class="main-wrap">
<article class="keyvisual">
Copy link
Collaborator

Choose a reason for hiding this comment

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

제목태그인 h2태그가 내부에 있다면 section 태그를 사용하셔도 의미있을 것 같아요 👍

<div class="keyvisual-wrap max-wrap">
<div>
<h2>
일상의 모든 물건을<br>
거래해 보세요
</h2>
<a href="/items.html" class="item-btn">구경하러 가기</a>
</div>
</div>
</article>

<section class="card">
<div class="card-wrap max-wrap">
<div class="card-img">
<img src="images/card01-small.png" alt="인기 사품을 확인해 보세요 이미지">
</div>
<div class="card-txt">
<span>Hot item</span>
<h2>
인기 상품을<br>
확인해 보세요
</h2>
<p>
가장 HOT한 중고거래 물품을<br>
판다 마켓에서 확인해 보세요
</p>
</div>
</div>
</section>

<section class="card">
<div class="card-wrap right max-wrap">
<div class="card-txt">
<span>Search</span>
<h2>
구매를 원하는<br>
상품을 검색하세요
</h2>
<p>
구매하고 싶은 물품은 검색해서<br>
쉽게 찾아보세요
</p>
</div>
<div class="card-img">
<img src="images/card02-small.png" alt="구매를 원하는 상품을 검색하세요 이미지">
</div>
</div>
</section>

<section class="card">
<div class="card-wrap max-wrap">
<div class="card-img">
<img src="images/card03-small.png" alt="판매를 원하는 상품을 등록하세요 이미지">
</div>
<div class="card-txt">
<span>Register</span>
<h2>
판매를 원하는<br>
상품을 등록하세요
</h2>
<p>
어떤 물건이든 판매하고 싶은 상품을<br>
쉽게 등록하세요
</p>
</div>
</div>
</section>

<article class="banner">
<div class="banner-wrap max-wrap">
<h2>
믿을 수 있는<br>
판다마켓 중고거래
</h2>
</div>
</article>
</div>
</main>

<footer>
<div class="footer-wrap">
<p>©codeit - 2024</p>
<ul class="footer-menu">
<li>
<a href="/privacy.html">Privacy Policy</a>
</li>
<li>
<a href="/faq.html">FAQ</a>
</li>
</ul>
<ul class="sns">
<li>
<a href="https://www.facebook.com/?locale=ko_KR" target="_blank"><img src="images/i-facebook-small.png" alt="페이스북 이미지" ></a>
</li>
<li>
<a href="https://www.facebook.com/?locale=ko_KR" target="_blank"><img src="images/i-twitter-small.png" alt="트위터 이미지"></a>
</li>
<li>
<a href="https://www.youtube.com/?app=desktop&hl=ko&gl=KR" target="_blank"><img src="images/i-youtube-small.png" alt="유튜브 이미지"></a>
</li>
<li>
<a href="https://www.instagram.com/" target="_blank"><img src="images/i-instagram-small.png" alt="인스타그램 이미지"></a>
</li>
</ul>
</div>
</footer>
</div>
</body>
</html>
Loading
Loading