Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
ae18e4b
style: 로고 이미지 여백 수정
two678 Mar 22, 2025
08941ce
style: 불필요한 주석 제거
two678 Mar 22, 2025
0db0e78
fix: 화면 크기 375px 미만에서 PC 스타일이 적용되는 문제 수정
two678 Mar 22, 2025
6e4a0f0
refactor: 태그 선택자 대신 클래스 선택자로 변경
two678 Mar 22, 2025
b67a8d3
style: 불필요한 공백 제거
two678 Mar 22, 2025
fd53eba
feat: OG 및 Twitter 카드 메타태그 추가
two678 Mar 22, 2025
1ba70f4
fix: 화면 크기 375px 미만에서 PC 스타일이 적용되는 문제 수정 (home.css)
two678 Mar 22, 2025
7924034
fix: 로고 이미지 사이즈 조정
two678 Mar 22, 2025
3f85d37
refactor: CSS 색상 변수 이름 수정 추가 및 적용
two678 Mar 22, 2025
d174328
fix: body 태그 크기 조정하여 div.input-info 영역 문제 해결
two678 Mar 22, 2025
7982535
chore: 'pages' 폴더 생성 및 HTML 파일 이동
two678 Mar 22, 2025
5e11e3b
feat: 이메일 입력값 유효성 검사 및 스타일 적용
two678 Mar 22, 2025
87de18e
feat: 비밀번호 입력값 유효성 검사 및 스타일 적용
two678 Mar 22, 2025
fb035df
refactor: 입력 검증 로직 함수화로 중복 제거
two678 Mar 22, 2025
dae05fc
feat: 회원가입 페이지에 p 태그 추가
two678 Mar 22, 2025
447a93d
feat: 회원가입 페이지 입력 검증 기능 추가
two678 Mar 22, 2025
af71b4c
feat: 회원가입 확인 및 닉네임 입력 검증 기능 추가
two678 Mar 22, 2025
fd9ba81
feat: 로그인 & 회원가입 버튼이 모든 input들이 유효한 값을 입력해야
two678 Mar 22, 2025
bec57b6
feat: 비밀번호 보이기/숨기기 기능 추가 (로그인 페이지, 회원가입 페이지)
two678 Mar 22, 2025
05ba1a0
feat: 로그인시 items 페이지로 갈 때 items 페이지 인 것을 표시하기 위해 p태그 추가
two678 Mar 23, 2025
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 modified assets/logo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 24 additions & 18 deletions css/common/auth.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'variables.css';

html, body {
display: flex;
flex-direction: column;
Expand All @@ -6,8 +8,8 @@ html, body {
}

.logo {
width: auto;
height: 132px;
width: 396px;
height: auto;
margin: 0 122px;
}

Expand All @@ -25,8 +27,8 @@ html, body {
margin-bottom: 24px;
}

input {
width: 640px;
.auth-input {
width: 100%;
height: 56px;
margin-top: 16px;
border: none;
Expand All @@ -39,18 +41,25 @@ input {
padding: 16px 24px 14px;
}

input::placeholder {

.auth-input::placeholder {
color: var(--gray400);
font-weight: 400;
font-size: 16px;
line-height: 26px;
letter-spacing: 0%;
}

/* #pwd {
padding: 16px 24px 16px;
} */

.message {
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 24px;
margin-top: 8px;
margin-left: 16px;
color: var(--red);
height: 24px;
}

.password {
display: flex;
Expand All @@ -66,14 +75,14 @@ input::placeholder {
top: 32px;
}

.pwd-icon {
.pwd-icons {
width: 100%;
height: 100%;
}

.submit-btn button {
color: var(--gray100);
background-color: var(--blue);
background-color: var(--blue100);
width: 640px;
height: 56px;
text-align: center;
Expand All @@ -93,7 +102,7 @@ input::placeholder {
gap: 10px;
width: 640px;
height: 74px;
background: #E6F2FF; /* 배경색 */
background: var(--background); /* 배경색 */
border-radius: 8px;

flex: none;
Expand Down Expand Up @@ -129,7 +138,7 @@ input::placeholder {
}

.move-page a {
color: var(--blue);
color: var(--blue100);
text-decoration: underline;
}

Expand All @@ -138,12 +147,9 @@ input::placeholder {
body {
margin: 190px 52px 325px;
}


}

@media (max-width: 767px) and (min-width: 375px) {

@media (max-width: 767px) {
.logo-a {
display: flex;
justify-content: center;
Expand All @@ -161,7 +167,7 @@ input::placeholder {
margin: 0 auto;
}

input {
.auth-input {
width: 100%;
}

Expand Down
8 changes: 7 additions & 1 deletion css/common/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
--gray200 : #E5E7EB;
--gray100 : #F3F4F6;
--gray50: #F9FAFB;
--blue: #3692FF;
--blue100: #3692FF;
--blue200: #1967D6;
--blue300: #1251AA;
--red: #F74747;
--white: #FFFFFF;
--background: #E6F2FF;
--skyblue: #CFE5FF;
}
37 changes: 18 additions & 19 deletions css/pages/home.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* home.css */
@import '../common/variables.css';

/* 페이지 스타일 */
body {
margin: 0 auto;
}
Expand All @@ -15,14 +14,14 @@ body {
height: 70px;
position: sticky;
top: 0;
background-color: #FFFFFF;
background-color: var(--white);
}

h2 {
font-size: 40px;
font-weight: 700;
line-height: 56px;
color: #374151;
color: var(--gray700);
}

a {
Expand All @@ -31,14 +30,14 @@ a {

.logo img {
width: 153px;
height: 51px;
height: auto;
}

.login-btn {
background-color: #3692FF;
background-color: var(--blue100);
border: none;
border-radius: 8px;
color: #F3F4F6;
color: var(--gray100);
font-size: 16px;
font-weight: 600;
line-height: 48px;
Expand All @@ -50,7 +49,7 @@ a {
}

.background {
background-color: #CFE5FF;
background-color: var(--skyblue);
display: flex;

}
Expand Down Expand Up @@ -84,8 +83,8 @@ a {

.items-btn {
display: inline-block;
background-color: #3692FF;
color: #F3F4F6;
background-color: var(--blue100);
color: var(--gray100);
border-radius: 40px;
border: none;
font-size: 20px;
Expand Down Expand Up @@ -130,7 +129,7 @@ a {
}

.description h4 {
color: #3692FF;
color: var(--blue100);
font-size: 18px;
font-weight: 700;
line-height: 26px;
Expand All @@ -145,7 +144,7 @@ a {
font-size: 24px;
font-weight: 500;
line-height: 32px;
color: #374151;
color: var(--gray700);
}

.bottom-img {
Expand All @@ -154,13 +153,13 @@ a {
}

footer {
background-color: #111827;
background-color: var(--gray900);
justify-content: center;
height: 160px;
}

.footer-container {
color: #9CA3AF;
color: var(--gray400);
display: flex;
justify-content: space-between;
align-items: center;
Expand Down Expand Up @@ -192,7 +191,7 @@ footer {

.privacy-faq a {
text-decoration: none;
color: #E5E7EB;
color: var(--gray200);


}
Expand Down Expand Up @@ -223,7 +222,7 @@ footer {
font-size: 40px;
font-weight: 700;
line-height: 56px;
color: #374151;
color: var(--gray700);
}

.background {
Expand Down Expand Up @@ -383,14 +382,14 @@ footer {

.privacy-faq a {
text-decoration: none;
color: #E5E7EB;
color: var(--gray200);
}

}



@media (max-width: 767px) and (min-width: 375px){
@media (max-width: 767px) {
.logo {
margin-left: 16px;
}
Expand Down Expand Up @@ -547,7 +546,7 @@ footer {

.privacy-faq a {
text-decoration: none;
color: #E5E7EB;
color: var(--gray200);
}

.icons {
Expand Down
2 changes: 0 additions & 2 deletions css/pages/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ main {
body {
margin: 80px 16px 231px;
}


}
4 changes: 2 additions & 2 deletions css/pages/signup.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
body {
margin: 60px 640px;
}
margin: 60px auto;
}
21 changes: 16 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,35 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<title>판다마켓</title>
<meta name="description" content="일상의 모든 물건을 거래해보세요">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://pandamarket-leejihyun.netlify.app/">
<meta property="og:title" content="판다마켓 - 이지현">
<meta property="og:type" content="website">
<meta property="og:image" content="/assets/images/img_home_01.png">
<meta property="og:description" content="일상의 모든 물건을 거래해보세요">

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="pandamarket-leejihyun.netlify.app">
<meta property="twitter:url" content="https://pandamarket-leejihyun.netlify.app/">
<meta name="twitter:title" content="판다마켓 - 이지현">
<meta name="twitter:description" content="일상의 모든 물건을 거래해보세요">
<meta name="twitter:image" content="/assets/images/img_home_01.png">
<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="/css/common/reset.css">
<link rel="stylesheet" href="/css/pages/home.css">
<title>판다마켓</title>
</head>
<body>
<header class="global-nav">
<div class="logo">
<img src="/assets/logo/logo.png" alt="판다마켓 로고">
</div>
<a class="login-btn" href="login.html">로그인</a>
<a class="login-btn" href="/pages/login.html">로그인</a>
</header>
<main>
<section class="background top">
Expand All @@ -27,7 +38,7 @@ <h2>
<span class="line-break">일상의 모든 물건을</span>
거래해보세요
</h2>
<a class="items-btn" href="items.html">구경하러 가기</a>
<a class="items-btn" href="/pages/items.html">구경하러 가기</a>
</div>
<img class="top-img" src="/assets/images/img_home_top.png" alt="메인 페이지 위쪽 이미지">
</section>
Expand Down Expand Up @@ -68,8 +79,8 @@ <h2>믿을 수 있는<br> 판다마켓 중고거래</h2>
<div class="footer-container">
<h5>@codeit-2024</h5>
<div class="privacy-faq">
<a href="privacy.html">Privacy Policy</a>
<a href="faq.html">FAQ</a>
<a href="/pages/privacy.html">Privacy Policy</a>
<a href="/pages/faq.html">FAQ</a>
</div>
<ul class="icons">
<li>
Expand Down
Loading
Loading