Skip to content

Conversation

@KSJ27
Copy link
Collaborator

@KSJ27 KSJ27 commented Jan 19, 2025

요구사항

기본

공통

  • 브라우저에 현재 보이는 화면의 영역(viewport) 너비를 기준으로 분기되는 반응형 디자인을 적용합니다.
    • PC: 1200px 이상
    • Tablet: 768px 이상 ~ 1199px 이하
    • Mobile: 375px 이상 ~ 767px 이하
    • 375px 미만 사이즈의 디자인은 고려하지 않습니다.

랜딩 페이지

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

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

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

심화

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

주요 변경사항

멘토에게

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

@KSJ27 KSJ27 assigned KSJ27 and unassigned KSJ27 Jan 19, 2025
@KSJ27 KSJ27 added the 매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다. label Jan 19, 2025
@kiJu2
Copy link
Collaborator

kiJu2 commented Jan 20, 2025

스프리트 미션 하시느라 수고 많으셨어요.
학습에 도움 되실 수 있게 꼼꼼히 리뷰 하도록 해보겠습니다. 😊

@kiJu2
Copy link
Collaborator

kiJu2 commented Jan 20, 2025

크으 ~! 커밋 단위와 메시지가 정말 정말 깔끔하네요 👍👍

Comment on lines +1 to +2
@import "global.css";
@import "reset.css";
Copy link
Collaborator

Choose a reason for hiding this comment

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

크으 global.cssreset.css 활용이 정말 좋네요 ! 👍

이는 공통된 코드를 한 데에서 관리하므로 유지보수성을 높일 거로 기대가 됩니다 !

Copy link
Collaborator

Choose a reason for hiding this comment

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

근데, 순서를 바꾸시는게 어떨까요?:

Suggested change
@import "global.css";
@import "reset.css";
@import "reset.css";
@import "global.css";

reset.css는 브라우저의 기본 스타일들을 초기화 합니다.

예를 들어 margin, padding, box-sizing 등 초기화.

global.css는 앱에서의 전역적인 스타일을 제공합니다.

예를 들어 색상, 폰트, 공통 레이아웃 등.

reset.css를 먼저 적용한 후 global.css를 적용하는게 어떨까요?

display: flex;
justify-content: center;
align-items: end;
background-color: #cfe5ff;
Copy link
Collaborator

Choose a reason for hiding this comment

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

(선택/제안) 컬러 팔레트를 사용해보시는건 어떨까요?

컬러는 따로 선언해두시고 재사용 해보시는건 어떨까요?
컬러 팔레트는 color.css 혹은 global.css에서 정의하는게 일반적입니다 !
컬러 팔레트는 다음과 같이 정의할 수 있습니다:

* {
  --primary: #6D6AFE;
  --red: #FF5B56;
  --black: #111322;
  --white: #FFFFFF;
  --gray-100: #3E3E43;
  --gray-200: #9FA6B2;
  --gray-300: #CCD5E3;
  --gray-400: #E7EFFB;
  --gray-500: #F0F6FF;
}

Comment on lines +14 to +25
<meta property="og:title" content="판다 마켓" />
<meta property="og:image" content="assets/thumbnail.png" />
<meta property="og:description" content="일상의 모든 물건을 거래해보세요" />
<meta property="og:locale" content="ko_KR" />
<!-- Twitter(X) -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="판다 마켓" />
<meta name="twitter:image" content="assets/thumbnail.png" />
<meta
name="twitter:description"
content="일상의 모든 물건을 거래해보세요"
/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

굿굿 ~! 메타 태그를 적절하게 작성하셨군요 ! 👍👍

Comment on lines +16 to +27
<label for="email" class="form__field-label">이메일</label>
<div
class="form__field-input-wrapper form__field-input-wrapper--focused"
>
<input
class="form__field-input"
id="email"
type="email"
placeholder="이메일을 입력해주세요"
required
/>
</div>
Copy link
Collaborator

Choose a reason for hiding this comment

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

크으 적절한 labelinput입니다 ! 👍

둘의 연결도 적절하게 작성되었네요 !

Comment on lines +20 to +26
<input
class="form__field-input"
id="email"
type="email"
placeholder="이메일을 입력해주세요"
required
/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

또한, input의 프로퍼티도 매우 적절합니다 ! 👍👍👍

추 후 고려해볼 수도 있을만한 것은 name 정도네요 !

name: name<form>을 사용해서 추 후 submit을 사용하여 접근할 때 사용될 수 있습니다.

Comment on lines +7 to +11
const isFormFilled = Array.from(formInputs)
.map((input) => input.value)
.every((string) => !isEmpty(string));

submitButton.disabled = !isFormFilled;
Copy link
Collaborator

Choose a reason for hiding this comment

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

굿굿 ! 모던 자바스크립트로 쉽게 작성하셨군요 !

map, every 등 모던 자바스크립트 메써드를 적극 활용하셨네요. 또한, 조건 변수로 선언하여 사용함으로서 가독성도 좋습니다 👍👍👍

함수의 목적도 명확하구요 😊

@kiJu2
Copy link
Collaborator

kiJu2 commented Jan 20, 2025

훌륭합니다 석준님 !
전반적으로 코드가 정말 깔끔하고 읽기도 쉬웠어요.
유지보수를 고려하신 점이 확 ! 느껴집니다 ㅎㅎㅎ

미션 수행하시느라 수고 많으셨습니다 ! 👍👍

@kiJu2 kiJu2 merged commit 965e0b1 into codeit-bootcamp-frontend:Basic-강석준 Jan 20, 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