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
72 changes: 72 additions & 0 deletions README_KCH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
### ★README.md 파일에 요구사항 체크 작성했습니다!!! PR 코멘트에도 하기 내용 포함할 예정입니다!

# SPRINT_MISSION_1 요구사항 체크

## 기본 요구사항

- [x] React와 같은 UI 라이브러리를 사용하지 않고 진행합니다.
- [x] PC사이즈만 고려해 주어진 디자인으로 구현합니다.
- [x] HTML, CSS 파일을 Netlify로 배포해 주세요.
- [x] 랜딩 페이지의 url path는 루트('/')로 설정합니다.
- [x] title은 "판다마켓"으로 설정합니다.
- [x] "판다마켓" 로고 클릭 시 루트 페이지('/')로 이동합니다.
- [x] '로그인' 버튼 클릭 시 로그인 페이지('/login')로 이동합니다.(빈 페이지)
- [x] "구경하러 가기" 버튼 클릭 시 ('/items')로 이동합니다.(빈 페이지)
- [x] "Privacy Policy", "FAQ"는 클릭 시 각각 Privacy 페이지('/privacy'), FAC페이지('/faq')로 이동합니다.(모두 빈 페이지)
- [x] 페이스북, 트위터, 유튜브, 인스타그램 아이콘을 클릭 시 각각의 홈페이지로 새로운 창이 열리면서 이동합니다.
- [x] 아래로 스크롤해도 "판다 마켓" 로고와 "로그인" 버튼이 있는 상단 내비게이션 바(Global Navigation Bar)가 최상단에 고정되게 해주세요.
- [x] 화면의 너비가 1920px 이상이면 내부에 있는 요소 간 동일한 간격을 유지하며 가운데 정렬해야 합니다.
- [x] 화면의 너비가 1920px보다 작아질 때, 최하단에 있는 "codeit-2024"의 왼쪽 여백 200px과 SNS 아이콘들의 오른쪽 여백 200px을 유지하면서 가운데 있는 "Privacy Policy", "FAQ" 요소와 각각 동일한 간격을 유지하며 가까워져야 합니다.

## 심화 요구사항

- [x] reset.css를 설정해 주세요.
- [x] 사용자의 브라우저 설정에 따라 기본 폰트 크기 설정이 변화함에 따라서 페이지의 요소 간 간격, 요소의 크기, font-size 등 모든 크기와 관련된 값이 크고 작아지도록 설정해 주세요.

---

# SPRINT_MISSION_2 요구사항 체크

## 기본 요구사항

### 공통

- [x] README.md 파일을 작성해 주세요.
- [x] 마크다운 언어를 숙지하여 작성해 주세요.
- [x] 내용은 자유롭게 작성해 주세요.
- [ ] 본인 브랜치에 스프린트 미션을 업로드해 주세요.
- [ ] 적절한 커밋 메시지를 남겨 주세요.
- [x] 1-Sprint-Mission 레포지토리를 fork합니다.
- [ ] GitHub에 PR(Pull Request)을 생성해 upstream의 본인 브랜치에 미션을 제출합니다.
- [ ] PR 코멘트에 아래 내용들을 포함해 주세요.
- [ ] 스프린트 미션 요구사항 체크리스트
- [ ] 주요 변경사항
- [ ] 멘토님에게 남길 메시지
- [x] Git 활용 과정에서 유닉스 커맨드를 활용해 주세요.
- [ ] HTML, CSS 파일을 Netlify로 배포합니다.

### 로그인 페이지, 회원가입 페이지 공통

- [x] "판다마켓" 로고 클릭 시 루트 페이지("/")로 이동합니다.
- [x] SNS 아이콘들은 클릭 시 각각 "https://www.google.com/", "https://www.kakaocorp.com/page/"으로 이동합니다.
- [x] input 요소에 focus in 일 때, 테두리 색상은 ##3692FF입니다.
- [x] input 요소에 focus out 일 때, 테두리는 없습니다.

### 로그인 페이지

- [x] "회원가입" 버튼 클릭 시 "/signup" 페이지로 이동합니다.

### 회원가입 페이지

- [x] "로그인" 버튼 클릭 시 "/login" 페이지로 이동합니다.

## 심화 요구사항

### 공통

- [x] palette에 있는 color값들을 css 변수로 등록해서 사용합니다.
- [x] 구글 애널리틱스로 방문자 수 확인하기 할 수 있도록 설정합니다.

### 로그인 페이지, 회원가입 페이지 공통

- [x] 비밀번호, 비밀번호 확인 input 요소 오른쪽에 비밀번호를 확인할 수 있는 눈 모양 아이콘을 추가합니다.
11 changes: 11 additions & 0 deletions browser/Instagram.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Instagram</title>
</head>
<body>
<h1>Instagram Page</h1>
</body>
</html>
11 changes: 11 additions & 0 deletions browser/facebook.html
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

유튜브, 페이스북, 인스타그램,트위터 모두 개별 페이지로 구현하는 것이 아니라. 직접 해당 서비스의 URL로 직접 연결해 주시면 됩니다.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Facebook</title>
</head>
<body>
<h1>Facebook Page</h1>
</body>
</html>
11 changes: 11 additions & 0 deletions browser/twitter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Twitter</title>
</head>
<body>
<h1>Twitter Page</h1>
</body>
</html>
11 changes: 11 additions & 0 deletions browser/youtube.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Youtube</title>
</head>
<body>
<h1>Youtube Page</h1>
</body>
</html>
11 changes: 11 additions & 0 deletions faq/faq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FAQ</title>
</head>
<body>
<h1>FAQ 페이지입니다.</h1>
</body>
</html>
Binary file added images/Img_home_bottom.png
Copy link
Copy Markdown
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.
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/backgrounimg-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/btn_large.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_loginpage.png
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

로그인 버튼과 같이 UI가 단순한 부분은 이미지를 렌더링하는 것이 아니라 CSS로 컨트롤하는 것이 좋습니다. 이미지를 다운받는 과정에서 생기는 로딩이나 트래픽도 있고 반응형에 따라 적극적으로 사이즈를 조절하려면 CSS가 컨트롤에 있어서 더 유리하기 때문입니다.

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_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 added 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 added images/ic_secret.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_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 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/loginbtn.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.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/mainlogo.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/section 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/section 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/section 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/section 4.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/seeingsightbackground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
107 changes: 107 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!doctype html>
<html lang="en">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

콘텐츠 내용상 한국어로 되어 있는 웹사이트이기 때문에 사이트의 언어 설정을 한국어로 해주시면 좋을 것 같습니다.

<head>
<!-- Google Analytics (GA4) -->
<script
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

구글 애널리틱스 추가까지 아주 잘해주셨습니다. 👍

async
src="https://www.googletagmanager.com/gtag/js?id=G-NPMW73453S"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-NPMW73453S");
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>판다마켓</title>
<link rel="stylesheet" href="./reset.css" />
<link rel="stylesheet" href="./style.css" />
</head>

<body>
<header class="header">
<div class="header-inner">
<a class="main-logo" href="./index.html"></a>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

로고와 로그인 버튼이 <a> 태그에 텍스트 없이 background-image로만 구현되어 있네요. 스크린 리더 같은 보조 기술에서 이 요소가 무엇인지 알 수 없기 때문에, 텍스트를 넣어주시거나 최소한 aria-label 속성을 추가해주시면 좋겠습니다. 😄

<a class="login-btn" href="/login/loginpage.html"></a>
</div>
</header>

<main class="main">
<div class="main-inner">
<section class="hero-section">
<div class="background-img"></div>
<div class="left-panel">
<h1 class="top-text">일상의 모든 물건을 거래해 보세요</h1>
<a class="seeing-item" href="/items/items.html"></a>
</div>
<div class="right-panel"></div>
</section>
<section class="main-item">
<div class="items">
<img src="images/section 1.png" alt="인기상품을 확인해 보세요" />
</div>
<div class="items">
<img
src="images/section 2.png"
alt="구매를 원하는 상품을 검색하세요"
/>
</div>
<div class="items">
<img
src="images/section 3.png"
alt="판매를 원하는 상품을 등록하세요"
/>
</div>
</div>
</section>
<section class="main-bottom-item">
<div class="background-img"></div>
<div class="left-bottom-panel">
<h1 class="bottom-text">믿을 수 있는<br> 판다마켓 중고 거래</h1>
</div>
<div class="right-bottom-panel"></div>
</section>
</div>
</main>

<footer class="footer">
<div class="footer-inner">
<div class="left-footer">
<h1>@Codeit - 2024</h1>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

h1 태그는 페이지의 대표 제목을 나타내는 것이기 때문에 푸터에 추가하는 것은 다소 부적절한 부분이니 수정해주시면 좋을 것 같습니다.

</div>
<div class="center-footer">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

위치를 기준으로 네이밍하는 것은 당장은 가장 직관적인 방법이지만 시간이 지날수록 유지 보수 과정에서의 변경에 따라 의미 없거나 잘못된 이름이 될 수도 있습니다. 되도록 담고 있는 내용을 기반으로 이름을 작성하는 습관을 갖춰 보시면 더 좋을 것 같아요.

<a class="privacy-btn" href="/privacy/privacy.html">Privacy Policy</a>
<a class="faq-btn" href="/faq/faq.html">FAQ</a>
</div>
<div class="right-footer">
<nav class="footer-nav">
<a
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

앞서 다른 부분에서 설명 드린 것처럼 외부 링크의 경우에는 별도 페이지를 제작하는 것이 아니라 직접 외부 URL을 연결해 주시면 되고 이러한 경우에는 보안을 위해서 rel="noopener noreferrer" 같은 속성을 추가합니다. 이번 기회에 이 부분에 대해서 학습해 보시면 더 좋은 구현이 될 것 같습니다.

class="facebook-icon"
href="/browser/facebook.html"
target="_blank"
></a>
<a
class="twitter-icon"
href="/browser/twitter.html"
target="_blank"
></a>
<a
class="youtube-icon"
href="/browser/youtube.html"
target="_blank"
></a>
<a
class="instagram-icon"
href="/browser/Instagram.html"
target="_blank"
></a>
</nav>
</div>
</div>
</footer>
</body>
</html>
11 changes: 11 additions & 0 deletions items/items.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>구경하러 가기</title>
</head>
<body>
<h1>구경하러 가기 페이지입니다.</h1>
</body>
</html>
71 changes: 71 additions & 0 deletions login/loginpage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<!doctype html>
<html lang="en">
<head>
<!-- Google Analytics (GA4) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-NPMW73453S"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-NPMW73453S");
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>로그인</title>
<link rel="stylesheet" href="../reset.css" />
<link rel="stylesheet" href="./loginstyle.css" />
</head>
<body>
<header class="header-container"></header>

<main class="main-inner">
<section class="main-move">
<a class="login-title" href="../index.html"></a>
</section>

<section class="login-panel">
<div class="placeholder">
<div class="e-mail">
<h1 class="font-weight">이메일</h1>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"이메일", "비밀번호" 텍스트에 <h1> 태그를 사용하고 계신데, 여기서는 <label> 태그가 적절합니다. <h1>은 페이지 제목 용도이고, input과 연결되는 텍스트는 <label for="input-id">를 사용하면 접근성이 좋아져요.

<input
type="text"
class="input-field"
placeholder="이메일을 입력해주세요"
/>
</div>
<div class="password">
<h1 class="font-weight">비밀번호</h1>
<input
type="password"
class="input-field"
placeholder="비밀번호를 입력해주세요"
/>
<button class="secret-btn"></button>
</div>
<div class="login-btn">
<button class="btn-submit">로그인</button>
</div>
</div>
<div class="simple-login">
<h1>간편 로그인 하기</h1>
<div class="sns-logo">
<a class="google-logo" href="https://www.google.com/"></a>
<a class="kakao-logo" href="https://www.kakaocorp.com/page/"></a>
</div>
</div>
<div class="signup-btn">
<h1>판다마켓이 처음이신가요?</h1>
<a href="../signup/signup-page.html">회원가입</a>
</div>
</section>
</main>

<footer class="footer-container"></footer>
</body>
</html>
Loading