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 removed images/Img_home_01.png
Binary file not shown.
Binary file removed images/Img_home_02.png
Binary file not shown.
Binary file removed images/Img_home_03.png
Binary file not shown.
Binary file removed images/Img_home_bottom.png
Binary file not shown.
Binary file removed images/Img_home_top.png
Binary file not shown.
Binary file removed images/Property 1=sm.png
Binary file not shown.
Binary file removed images/Property [email protected]
Binary file not shown.
Binary file added images/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 images/btn_visibility_on.png
Copy link
Collaborator

Choose a reason for hiding this comment

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

💊 제안
해당 이미지는 버튼으로 사용되긴하지만 이미지 자체는 아이콘이므로 ic_visibility_on.png와 같은 식으로 명명하시는 것을 추천드려요~
지금 프로젝트에서는 가능성이 없지만 이러한 아이콘 요소들은 버튼으로도, 이미지로도 사용될 수 있으니 이름자체에 btn, a 와 같은 태그명들이 들어갈 필요가 없습니다~

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/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 images/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 modified images/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 images/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 modified images/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 modified images/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 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/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/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/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/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/logo_lg.png
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.
File renamed without changes
99 changes: 20 additions & 79 deletions style.css → index.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
* {
box-sizing: border-box;
font-family: Pretendard, sans-serif;
color: #374151;
font-size: 16px;
}

a {
text-decoration: none;
cursor: pointer;
}

p {
margin: 0;
html {
color: var(--gray700);
}

body {
Expand All @@ -20,26 +8,36 @@ body {
}

header {
position: sticky;
top: 0;
left: 0;
right: 0;
background-color: #FFFFFF;
border-bottom: 1px solid #DDE0E3
}

footer {
background-color: #111827;
background-color: var(--gray900);
height: 10rem;
}

.gnb {
padding: 9px 400px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 9px 400px;
}

.gnb img {
max-width: 10rem;
}

.btn-login {
width: 8rem;
height: 3rem;
text-align: center;
}

.wrap {
max-width: 1920px;
width: 100%;
Expand Down Expand Up @@ -143,35 +141,12 @@ footer {
gap: 0.75rem;
}

.btn-large, .btn-login {
background-color: #3692FF;
}

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

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

.btn-login {
color: #F3F4F6;
width: 8rem;
height: 3rem;
padding: 0.75rem 1.5rem;
border-radius: 8px;
text-align: center;
}

.btn-large {
color: #F9FAFB;
padding: 1rem 7.75rem;
border-radius: 40px;
.sns img{
max-width: 1.25rem;
}

.keyword {
color: #3692FF;
color: var(--blue);
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 칭찬
색상 변수 추가하시고 사용하신 것 좋습니다 👍

margin-bottom: 0.75rem;
}

Expand All @@ -181,45 +156,11 @@ footer {
}

.copyright {
color: #9CA3AF;
color: var(--gray400);
}

.faq a {
color: #E5E7EB;
}

.bold {
font-weight: 700;
}

.semibold {
font-weight: 600;
}

.medium {
font-weight: 500;
}

.text-4xl {
font-size: 2.5rem;
line-height: 3.5rem;
letter-spacing: -0.125rem;
}

.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
letter-spacing: -0.0625rem;
}

.text-xl {
font-size: 1.25rem;
line-height: 2rem;
}

.text-2lg {
font-size: 1.125rem;
line-height: 1.625rem;
color: var(--gray200);
}

@media (max-width:1920px) {
Expand All @@ -229,7 +170,7 @@ footer {
}

@media (max-width:1280px) {
* {
html {
font-size: 12px;
}
}
64 changes: 37 additions & 27 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
<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="reset.css">
<link rel="stylesheet" href="utility.css">
<link rel="stylesheet" href="index.css">
</head>
<body>
<header>
<div class="gnb wrap">
<a href="/" class="logo">
<img src="./images/Property 1=sm.png" alt="판다마켓 로고">
<img src="./images/logo_sm.png" alt="판다마켓">
</a>
<a href="/login" class="btn-login Text-lg semibold">로그인</a>
<a href="/login.html" class="btn-login btn-small Text-lg semibold">로그인</a>
</div>
</header>

Expand All @@ -21,19 +23,19 @@
<div class="home-top wrap">
<div class="home-top-content">
<p class="text-4xl bold">
일상의 모든 물건을 <br>
일상의 모든 물건을<br>
거래해 보세요
</p>
<a href="/items" class="btn-large text-xl semibold">구경하러 가기</a>
<a href="/items.html" class="btn-large text-xl semibold">구경하러 가기</a>
</div>
<img src="./images/Img_home_top.png" alt="판다 이미지">
<img src="./images/img_home_top.png" alt="판다 이미지">
</div>
</section>

<section class="home-section">
<div class="home">
<div class="home-content">
<img src="./images/Img_home_01.png" alt="인기 상품">
<img src="./images/img_home_01.png" alt="인기 상품">
<div class="home-content-1">
<p class="keyword text-2lg bold">
Hot item
Expand Down Expand Up @@ -64,12 +66,12 @@
쉽게 찾아보세요
</p>
</div>
<img src="./images/Img_home_02.png" alt="상품 검색">
<img src="./images/img_home_02.png" alt="상품 검색">
</div>
</div>
<div class="home">
<div class="home-content">
<img src="./images/Img_home_03.png" alt="상품 등록">
<img src="./images/img_home_03.png" alt="상품 등록">
<div class="home-content-3">
<p class="keyword text-2lg bold">
Register
Expand All @@ -91,11 +93,11 @@
<div class="home-bottom wrap">
<div class="home-bottom-content">
<p class="text-4xl bold">
믿을 수 있는 <br>
믿을 수 있는<br>
판다마켓 중고 거래
</p>
</div>
<img src="./images/Img_home_bottom.png" alt="판다 이미지">
<img src="./images/img_home_bottom.png" alt="판다 이미지">
</div>
</section>
</main>
Expand All @@ -104,23 +106,31 @@
<div class="footer-content wrap">
<p class="copyright">@codeit - 2024</p>
<div class="faq">
<a href="/privacy">Privacy Policy</a>
<a href="/faq">FAQ</a>
</div>
<div class="sns">
<a href="https://facebook.com" target="_blank">
<img src="./images/ic_facebook.png" alt="페이스북">
</a>
<a href="https://twitter.com" target="_blank">
<img src="./images/ic_twitter.png" alt="트위터">
</a>
<a href="https://youtube.com" target="_blank">
<img src="./images/ic_youtube.png" alt="유튜브">
</a>
<a href="https://instagram.com" target="_blank">
<img src="./images/ic_instagram.png" alt="인스타그램">
</a>
<a href="/privacy.html">Privacy Policy</a>
<a href="/faq.html">FAQ</a>
</div>
<ul class="sns">
<li>
<a href="https://facebook.com" target="_blank">
<img src="./images/ic_facebook.png" alt="페이스북">
</a>
</li>
<li>
<a href="https://twitter.com" target="_blank">
<img src="./images/ic_twitter.png" alt="트위터">
</a>
</li>
<li>
<a href="https://youtube.com" target="_blank">
<img src="./images/ic_youtube.png" alt="유튜브">
</a>
</li>
<li>
<a href="https://instagram.com" target="_blank">
<img src="./images/ic_instagram.png" alt="인스타그램">
</a>
</li>
<ul/>
</div>
</footer>
</body>
Expand Down
80 changes: 80 additions & 0 deletions login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
html {
color: var(--gray800);
}

.wrap {
max-width: 640px;
width: 100%;
margin: 0 auto;
}

.logo {
margin-top: 240px;
}

.logo a{
display: flex;
justify-content: center;
}

.logo img {
width: 60%;
}

.login-form{
display: flex;
flex-direction: column;
gap: 24px;
margin-top: 40px;
}

.input-group{
display: flex;
flex-direction: column;
gap: 16px;
position: relative;
}

.input-group input{
padding: 16px 24px;
background-color: var(--gray100);
border-width: 0;
border-radius: 12px;
}

.input-group img {
position: absolute;
right: 24px;
bottom: 16px;
width: 24px;
}

.simple-login{
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 23px;
border-radius: 8px;
margin-top: 24px;
background-color: #E6F2FF;
}

.simple-login ul{
display: flex;
gap: 16px;
}

.simple-login ul li img{
width: 42px;
}

.to-signup{
display: flex;
justify-content: center;
gap: 4px;
margin-top: 24px;
}

.to-signup a {
text-decoration: underline;
}
Loading
Loading