Skip to content

Conversation

@tansxx
Copy link
Collaborator

@tansxx tansxx commented Apr 18, 2025

요구사항

기본

공통

  • 아래로 스크롤 해도 상단 네비게이션 바(Global Navigation Bar)가 최상단에 고정됩니다.
  • "판다마켓" 클릭 시 루트 페이지("/")로 이동합니다.(새로고침)
  • 로그인 페이지, 회원가입 페이지 모두 로고 위 상단 여백이 동일합니다.
  • SNS 아이콘들은 클릭시 각각 실제 서비스 홈페이지로 이동합니다.

로그인 페이지

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

회원가입 페이지

  • "로그인"버튼 클릭 시 "/login" 페이지로 이동합니다.

심화

  • palette에 있는 color값들을 css 변수로 등록하고 사용해 주세요.
  • 비밀번호 input 요소 위에 비밀번호를 확인할 수 있는 아이콘을 추가해 주세요.

주요 변경사항

  • 로그인 페이지 구현
  • 회원가입 페이지 구현
  • sprint 1 내용 수정

스크린샷

스크린샷 2025-04-18 오후 3 40 01
스크린샷 2025-04-18 오후 3 40 18

멘토에게

  • 셀프 코드 리뷰를 통해 질문 이어가겠습니다.

@tansxx tansxx added the 매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다. label Apr 18, 2025
Copy link
Collaborator

@dongqui dongqui left a comment

Choose a reason for hiding this comment

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

오.. 빠르고 깔끔하게 진행해 주셨네요! 😮 👍 👍

html, css가 상당히 능숙하신 거 같습니다!
일부 불필요한 스타일이나 작은 실수만 신경 써주시면 될 거 같아요 :)

<p class="info-card-label text-2lg-bold">Hot item</p>
<h2 class="info-card-title">인기 상품을<br />확인해 보세요</h2>
<span class="info-card-label text-2lg-bold">Hot item</span>
<h1 class="info-card-title">인기 상품을<br />확인해 보세요</h1>
Copy link
Collaborator

Choose a reason for hiding this comment

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

image

h tag가 계층 구조여야 한다고 말씀드렸던 부분은, 요런 느낌입니다 :)
h1은 페이지에서 하나만 있어야 합니다~!
단순 시각화용이거나 의미적으로 좀 애매하다 싶으면 그냥 span을 쓰셔도 괜찮아요~! 🤣

Copy link
Collaborator

Choose a reason for hiding this comment

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

접근성 개념이 약간 애매할 수 있는데,
https://youtu.be/50HYtOTMhe0?si=SJJb0x0U59jOCcEZ&t=41
영상 보시면 스크린 리더기를 활용해서 heading level 1 -> 2 -> 3 순으로 읽어 나가며 원하는 정보를 찾는 것을 확인하실 수 있어요!

<!-- 로그인 폼 -->
<form class="login-form">
<div class="form-group">
<label for="email" class="text-2lg-bold">이메일</label>
Copy link
Collaborator

Choose a reason for hiding this comment

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

라벨을 잘 적용해 주셨군요! 👍

Copy link
Collaborator

Choose a reason for hiding this comment

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

텍스트 스타일 클래스를 잘 정의해 주셔서 깔끔하게 적용되네요 🤣

<label for="password" class="text-2lg-bold">비밀번호</label>
<div class="password-wrapper">
<input type="password" id="password" class="text-lg-regular" />
<button type="button" class="btn-toggle-password">
Copy link
Collaborator

Choose a reason for hiding this comment

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

button type도 잘 챙겨주셨네요! 👍

@@ -0,0 +1,165 @@
/* login.css */
Copy link
Collaborator

Choose a reason for hiding this comment

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

UI가 대부분 비슷해서 하나의 스타일 파일로 관리하거나, 공통 부분을 뽑아내는 것이 좋습니다 :) 지금은 관리 포인트가 두 곳이 됐죠!

@@ -0,0 +1,165 @@
/* login.css */
* {
Copy link
Collaborator

Choose a reason for hiding this comment

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

요것도 공통 스타일에서 관리하시는 것이 편하겠네요! :)

.login-page {
display: flex;
width: 100%;
max-width: 1920px;
Copy link
Collaborator

Choose a reason for hiding this comment

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

image
큰 화면에서는 짤리게 됩니다 ~!🦀

}

.login-logo {
display: flex;
Copy link
Collaborator

Choose a reason for hiding this comment

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

스타일이 불필요하게 들어간 거 같네요! 🤔

line-height: normal;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: none;
Copy link
Collaborator

Choose a reason for hiding this comment

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

신기한 게 많군요..! text-underline-position 말고는 기본으로 다 들어가 있는 값들 같습니다 🤣

@dongqui dongqui merged commit 6d9f0c0 into codeit-bootcamp-frontend:Basic-강희정 Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants