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

[홍수민] sprint2 #71

Conversation

ghdtnals
Copy link
Collaborator

요구사항

스프린트 미션 2 시안

기본 요구사항

  • React와 같은 UI 라이브러리를 사용하지 않고 진행
  • HTML, CSS 파일을 Netlify로 배포
  • PC사이즈만 고려해 주어진 디자인으로 구현

체크리스트 [기본]

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

체크리스트 [심화]

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

주요 변경사항

스프린트 미션 1 리뷰 반영

  • header와 상단 banner의 위치 조정
  • <html lang="ko"> 수정
  • h 태그 계층 구조 수정

멘토에게

  • 새로 고침하면 루트 페이지로 이동해야 하나요?
  • commit을 적절하게 작성했을까요? 보통 사용하는 커밋 컨벤션이 따로 있을까요?
  • import와 link로 약간 무분별하게 CSS를 가져온 느낌이 있는데 다른 적절한 방법이 있을까요?

@ghdtnals ghdtnals requested a review from dongqui February 26, 2025 02:34
@ghdtnals ghdtnals added the 매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다. label Feb 26, 2025
@dongqui dongqui changed the base branch from main to Basic-홍수민 February 26, 2025 07:20
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.

수민님 깔끔하게 잘 마무리 해주셨네요~!! 💯

스타일 파일을 구조화 하시려는 노력도 너무 좋습니다.
요구 사항을 조금만 더 꼼꼼하게 봐주시면 더욱 좋을 거 같습니다!!

새로 고침하면 루트 페이지로 이동해야 하나요?
-> 아닙니다~! 해당 경로 페이지를 그대로 유지하는 것이 일반적입니다.로그인 페이지에서 새로 고침을 하면 로그인 페이지를 유지하는 거죠 :)

commit을 적절하게 작성했을까요? 보통 사용하는 커밋 컨벤션이 따로 있을까요?
-> 네~! 작업 단위로 잘 끊어주셨고, 진행된 작업을 명확하게 표현해 주셨습니다. 컨벤션의 경우 팀이나 회사마다 다릅니다 :)
아래는 구글 컨벤션을 참고로 남겨드립니다!
https://developers.google.com/blockly/guides/contribute/get-started/commits

import와 link로 약간 무분별하게 CSS를 가져온 느낌이 있는데 다른 적절한 방법이 있을까요?
-> 일단 정리가 조금 필요할 거 같아요!
예를 들어 auth의 경우 typography를 import하는데 signin 페이지를 보면 link로 typography와 auth 둘다 불러오고 있습니다. import를 쓰실거라면 단방향으로 적용해 주시면 좋을 거 같아요. 예를 들면 typography나 color는 공통 스타일이니 global에서 모두 import하고 global 하나를 link로 불러올 수 있을 거 같네요!

아니면 import 없이 link로 전부 해결해도 좋습니다. 이 경우 css파일을 너무 작게 쪼개지 않는 게 도움이 되겠죠 :)
(일반적으로 css import는 성능 이슈로 지양되는 기능이긴 합니다.)

지금도 충분히 잘하셨습니다 👍 👍 실무에서는 css만 쓰지 않고 다양한 기술을 함께 쓰게 됩니다. 이후 학습 과정에서는 스타일 파일을 구분하거나 관리하는 게 지금 보다 훨씬 편하실 거에요 :)

</div>
<form>
<div class="input-item">
<label for="email">이메일</label>
Copy link
Collaborator

Choose a reason for hiding this comment

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

label을 잘 적용해 주셨네요! 👍

type="password"
placeholder="비밀번호를 입력해주세요"
/>
<img
Copy link
Collaborator

Choose a reason for hiding this comment

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

해당 아이콘은 단순 img가 아니라 기능을 가지는 요소입니다~!
접근성을 위해 role="button" 속성을 추가하거나, 버튼으로 감싸주시는 것이 좋습니다 :)

@@ -46,7 +48,7 @@ <h1 id="banner-top" class="banner-font">
</div>
<div class="section-content">
<div class="section-title">
<h2 class="section-tag">Hot item</h2>
<span class="section-tag">Hot item</span>
<h1>
Copy link
Collaborator

Choose a reason for hiding this comment

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

h tag 관련해서 계층 구조를 다시 참고해 주시면 좋을 거 같습니다 :)
h1 tag는 페이지당 하나만 사용하는 것을 권장합니다.
https://developer.mozilla.org/ko/docs/Web/HTML/Element/Heading_Elements#사용_일람

씨맨틱은 해석에 따라 달라지기 때문에 애매한 영역이 분명히 있습니다.
명확한 의미에만 씨맨틱을 사용하고 애매하거나 단순 스타일이라면 span, div를 활용하셔도 좋아요 :)

input::placeholder {
font-size: var(--text-lg);
line-height: var(--text-lg);
color: #1f2937;
Copy link
Collaborator

Choose a reason for hiding this comment

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

image
색상이 잘못 들어간 거 같네요 🤣

color: #1f2937;
}

input {
Copy link
Collaborator

Choose a reason for hiding this comment

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

image
폰트 사이즈를 다시 확인해 주세요~!

}

.auth-switch a {
line-height: 16.71px;
Copy link
Collaborator

Choose a reason for hiding this comment

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

헛 보통 소수점은 잘 사용하지 않아요 :) 피그마를 다시 확인해 주세요~!

/></a>
</div>
<form>
<div class="input-item">
Copy link
Collaborator

Choose a reason for hiding this comment

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

클래스명, html 구조가 깔끔하네요! 👍

@@ -27,13 +27,25 @@ img {

body {
width: 100%;
padding-top: 70px;
}

header {
Copy link
Collaborator

Choose a reason for hiding this comment

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

해당 파일이 공통 스타일을 정의한다면, 특정 페이지에서만 적용되는 스타일은 제거되는 것이 좋겠네요 :)

header, footer 등은 로그인, 회원가입 페이지에서는 불필요합니다!

@dongqui dongqui merged commit e9fcb94 into codeit-bootcamp-frontend:Basic-홍수민 Feb 26, 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