Skip to content

Conversation

@seong5
Copy link
Collaborator

@seong5 seong5 commented Mar 17, 2025

요구사항

기본

랜딩 페이지

  • Tablet 사이즈로 작아질 때 “판다마켓” 로고의 왼쪽에 여백 24px, “로그인” 버튼 오른쪽 여백 24px을 유지할 수 있도록 “판다마켓” 로고와 “로그인" 버튼의 간격이 가까워집니다.
  • Mobile 사이즈로 작아질 때 “판다마켓” 로고의 왼쪽에 여백 16px, “로그인” 버튼 오른쪽 여백 16px을 유지할 수 있도록 “판다마켓” 로고와 “로그인" 버튼의 간격이 가까워집니다.
  • 화면 영역이 줄어들면 “Privacy Policy”, “FAQ”, “codeit-2024”이 있는 영역과 SNS 아이콘들이 있는 영역의 간격이 줄어듭니다.

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

  • Tablet 사이즈에서 내부 디자인은 PC사이즈와 동일합니다.
  • Mobile 사이즈에서 좌우 여백 16px 제외하고 내부 요소들이 너비를 모두 차지합니다.
  • Mobile 사이즈에서 내부 요소들의 너비는 기기의 너비가 커지는 만큼 커지지만 400px을 넘지 않습니다.

심화

  • 페이스북, 카카오톡, 디스코드, 트위터 등 SNS에서 Linkbrary 랜딩 페이지(“/”) 공유 시 좌측 예시와 같은 미리보기를 볼 수 있도록 랜딩 페이지 메타 태그를 설정해 주세요.
  • 미리보기에서 제목은 “판다 마켓”, 설명은 “일상의 모든 물건을 거래해보세요”로 설정합니다.
  • 주소와 이미지는 자유롭게 설정하세요.

주요 변경사항

  • 저번에 스프린트1미션파일이 사라졌던 것을 다시 PR했습니다.

스크린샷

image

성5-sprint-mission3.netlify.app

멘토에게

  • 구현을 다 했다고 생각하는데 뭔가 제대로 되지 않은 것 같은 느낌이 있습니다...
  • 셀프 코드 리뷰를 통해 질문 이어가겠습니다.

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

@GANGYIKIM GANGYIKIM left a comment

Choose a reason for hiding this comment

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

성오님 3번째 PR 수고하셨습니다~
새로운 지식을 학습 하시고 구현하시는 것이 쉽지만은 않을 것 같습니다.
어떤 점이 어려우신지, 어떤 점에서 제대로 구현이 되지 않을 것 같다고 느끼시는 지 등을 자세히 적어주시면 도움을 드리기 더 편할 것 같습니다~

참고로 스프린트 미션은 학습을 위한 미션이므로 이렇게 구현해서 제출하시는 것만으로도 충분히 잘 하고 계신거라고 생각합니다.
아직 미흡한 부분이 있지만 이는 추후 충분히 개선이 가능한 사항들이니 우선 주차별로 작업해보시고 어려움이 있으실때 도움을 받으시는 것을 추천드려요!
다음 미션도 화이팅입니다!

<img src="./images/Property 1=sm.png" alt="판다마켓" class="header_img">
</a>
<a href="login.html" target="_self" class="login_btn">
<img src="./images/btn_small.png" alt="btn_small.png" class="login">
Copy link
Collaborator

Choose a reason for hiding this comment

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

❗️ 수정요청
성오님 이 피드백은 2주차에도 드렸지만 중요한 내용이라 다시 남깁니다~
구경하러 가기 버튼을 바꿔주신 것처럼 로그인 버튼도 변경해주세요!

Suggested change
<img src="./images/btn_small.png" alt="btn_small.png" class="login">
로그인

Copy link
Collaborator

Choose a reason for hiding this comment

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

❗️ 수정요청
해당 파일은 index.html과 동일한 페이지의 수정 전 버전 파일 같네요~
둘 중 사용하지 않는 파일은 지워주세요~

Copy link
Collaborator

Choose a reason for hiding this comment

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

❗️ 수정요청
성오님의 sprint3 브런치를 확인해보면 image 폴더가 없습니다!
코드상에서 img 태그에서 이미지를 불러오고 있지만 나오지 않는 이유입니다.
아마 배포된 파일에서는 이미지 파일이 있어서 배포 주소에서는 이미지가 보이는 것 같아요!
확인해보시고 이미지가 보이도록 수정해보세요!

스크린샷 2025-03-19 오후 1 49 29

Comment on lines +6 to +30
@media (min-width: 1200px) {
.container {
width:50%;

}
/* Tablet ver */
@media (max-width: 1199px) and (min-width: 768px) {
body {
width: 70%;
}
.header {
padding: 0 24px;
}
}
/* Mobile ver */
@media (max-width: 767px) and (max-width: 375px) {
body {
width:90%;
}
.header {
padding: 0 16px;
}
}

}
Copy link
Collaborator

Choose a reason for hiding this comment

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

❗️ 수정요청
PC 미디어 쿼리문안에서 중첩될 수 없는 조건문안에 tablet 과 moblie 이 작성되어 있어 적용이 되지 않네요!
밖으로 빼주세요~

Suggested change
@media (min-width: 1200px) {
.container {
width:50%;
}
/* Tablet ver */
@media (max-width: 1199px) and (min-width: 768px) {
body {
width: 70%;
}
.header {
padding: 0 24px;
}
}
/* Mobile ver */
@media (max-width: 767px) and (max-width: 375px) {
body {
width:90%;
}
.header {
padding: 0 16px;
}
}
}
/* PC ver*/
@media (min-width: 1200px) {
.container {
width: 50%;
}
}
/* Tablet ver */
@media (max-width: 1199px) and (min-width: 768px) {
body {
background-color: red;
width: 70%;
}
.header {
padding: 0 24px;
}
}
/* Mobile ver */
@media (max-width: 767px) and (max-width: 375px) {
body {
width: 90%;
}
.header {
padding: 0 16px;
}
}

}
}
/* Mobile ver */
@media (max-width: 767px) and (max-width: 375px) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

💊 제안
min-width가 조건에 걸려있어 375px 미만으로 화면이 작아지게 되면 PC 스타일이 적용되네요~
body에 min-width: 375px를 추가하셔서 해당 사이즈 미만으로 작아지게 되면 가로 스크롤이 생기게 해주시거나
아니라면 min-width를 조건문에서 빼주시는 것을 추천드려요~

Comment on lines +25 to +27
.header {
padding: 0 16px;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

❗️ 수정요청
media query 문은 일반적으로 하단에 적습니다~
css 에서 추후 선언된 스타일이 우선순위를 가지기 때문에 반응형 관련 css들을 하단에 적어 같은 선택자 우선순위더라도
잘 적용될 수 있게 하기 위해서입니다~
따라서 하단에 적는 것을 추천드립니다~

// case1
. header { background-color: red }
@media (max-width: 800px) {
    . header { background-color: blue } // 미디어 쿼리의 조건을 만족시키면 해당 사항이 적용.
}

// case2
@media (max-width: 800px) {
    . header { background-color: blue } 
}
. header { background-color: red } // 무조건 해당 사항이 적용

}

}
.header {
Copy link
Collaborator

Choose a reason for hiding this comment

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

❗️ 수정요청
해당 클래스의 padding: 9px 250px 0 9px; 속성으로 인해 우측이 길어져 가로 스크롤이 생깁니다~
box-sizing: border-box를 추가하셔서 padding 값들이 width 값안에 포함되게 해주시거나 아니면 padding 값을 변경하셔서 가로 스크롤이 생기지 않게 변경하시는 것을 추천드려요.

@GANGYIKIM GANGYIKIM merged commit 34cc1a1 into codeit-bootcamp-frontend:Basic-신성오 Mar 19, 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