Skip to content

Conversation

@heresue
Copy link
Collaborator

@heresue heresue commented Jan 9, 2025

요구사항

  • 피그마 디자인에 맞게 페이지를 만들어 주세요.
  • React와 같은 UI 라이브러리를 사용하지 않고 진행합니다.
  • HTML, CSS 파일을 Netlify로 배포해 주세요: https://fandamarket-suyeon.netlify.app/
  • PC사이즈만 고려해 주어진 디자인으로 구현합니다.

기본

  • 랜딩 페이지의 url path는 루트('/')로 설정합니다.
  • title은 "판다마켓"로 설정합니다.
  • 화면의 너비가 1920px 이상이면 하늘색 배경색은 너비를 꽉 채우도록 채워지고, 내부 요소들의 위치는 고정되고, 여백만 커지도록 합니다.
  • 화면의 너비가 1920px 보다 작아질 때, "판다마켓" 로고의 왼쪽 여백 200px"로그인" 버튼의 오른쪽 여백 200px이 유지되고, 화면의 너비가 작아질수록 두 요소간 거리가 가까워지도록 설정합니다.
  • 클릭으로 기능이 동작해야 하는 경우, 사용자가 클릭할 수 있는 요소임을 알 수 있도록 CSS 속성 cursor: pointer 로 설정합니다.
  • "판다마켓" 클릭 시 루트 페이지('/')로 이동합니다.
  • '로그인'버튼 클릭 시 로그인 페이지('/login')로 이동합니다 (빈 페이지)
  • "구경하러가기"버튼 클릭 시('/items')로 이동합니다.(빈 페이지)
  • "Privacy Policy", "FAQ"는 클릭 시 각각 Privacy 페이지('/privacy'), FAQ 페이지('/faq')로 이동합니다.(모두 빈 페이지)
  • 페이스북, 트위터, 유튜브, 인스타그램 아이콘을 클릭 시 각각의 홈페이지로 새로운 창이 열리면서 이동합니다.

심화

  • [] 사용자의 브라우저가 크고 작아짐에 따라 페이지의 요소간 간격, 요소의 크기, font-size 등 모든 크기와 관련된 값이 크고 작아지도록 설정해 보세요.(설정값은 자유입니다)

멘토에게

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

@heresue heresue requested a review from kiJu2 January 9, 2025 08:00
@heresue heresue added the 매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다. label Jan 9, 2025
@heresue heresue changed the title Basic 박수연 sprint1 [박수연] Sprint 1 Jan 9, 2025
@kiJu2
Copy link
Collaborator

kiJu2 commented Jan 13, 2025

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

Comment on lines +4 to +28
:root {
/* color */
--primary-100: #3692ff;
--primary-200: #1967d6;
--primary-300: #1251aa;

--error-color: #f74747;

--gray-900: #111827;
--gray-800: #1f2937;
--gray-700: #374151;
--gray-600: #4b5563;
--gray-500: #6b7280;
--gray-400: #9ca3af;
--gray-200: #e5e7eb;
--gray-100: #f3f4f6;
--gray-50: #f9fafb;

/* font */
--font-weight-bold: 700;
--font-weight-semibold: 600;
--font-weight-medium: 500;
--font-weight-regular: 400;
}

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.

크으 global.css가 정말 유용하겠군요 !

훌륭합니다 ! 이제 서비스 전반적으로 사용되는 스타일은 global.css에 적용하면 되겠군요 ! 👍

Comment on lines +45 to +79
.btn {
display: block;
font-weight: var(--font-weight-semibold);
text-align: center;
color: var(--gray-100);
background-color: var(--primary-100);
}
.btn--large {
width: 357px;
height: 56px;
line-height: 56px;
border-radius: 40px;
}
.btn--medium {
width: 240px;
height: 48px;
line-height: 48px;
border-radius: 40px;
}
.btn--small_40 {
width: 88x;
height: 42px;
line-height: 42px;
border-radius: 8px;
}
.btn--small_48 {
width: 88px;
height: 48px;
line-height: 48px;
border-radius: 8px;
}
.btn--white {
background-color: var(--gray-50);
border: 1px solid var(--primary-100);
}
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.

벡터 이미지는 svg로 저장하시는걸 추천드려요 !

이하 MDN
SVG(Scalable Vector Graphics)는 2차원 벡터 그래픽을 서술하는 XML 기반의 마크업 언어입니다. SVG는 텍스트 기반의 열린 웹 표준 중 하나로, 모든 사이즈에서 깔끔하게 렌더링 되는 이미지를 서술하며 CSS, DOM, JavaScript, SMIL (en-US) 등 다른 웹 표준과도 잘 동작하도록 설계됐습니다. SVG는 달리 말하자면 HTML과 텍스트의 관계를 그래픽에 적용한 것입니다

image

이미지 파일은 최소 단위가 픽셀로 되어있으며 확대했을 때 이미지가 깨질 수 있어요 !
피그마에서 export하실 때에 svgexport할 수 있습니다 😊

Rester vs Vector

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.

해당 아이콘들도 svg로 사용하시는걸 권장드립니다 ! 👍

Copy link
Collaborator

Choose a reason for hiding this comment

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

해당 섹션의 이미지들은 필요 없을 것 같아요 !

해당 섹션의 이미지들은 htmlcss로 만드는 것이 미션의 목표입니다 !

Copy link
Collaborator

Choose a reason for hiding this comment

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

크으 reset.css까지 적용하셨군요 !

이제 수연님의 제품은 대부분의 디바이스와 브라우저에서 같은 UI를 보여줄 수 있겠군요 ! 👍

Comment on lines +43 to +57
<section class="sec1">
<div class="sec__wrapper">
<div class="img_box"></div>
<div class="text_box">
<p class="tag">Hot item</p>
<p class="title oneline">인기 상품을 확인해 보세요</p>
<p class="title twolines">인기 상품을</p>
<p class="title twolines">확인해 보세요</p>
<p class="text">
가장 HOT한 중고거래 물품을<br />
판다 마켓에서 확인해 보세요
</p>
</div>
</div>
</section>
Copy link
Collaborator

Choose a reason for hiding this comment

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

(생각해보기)해당 섹션 내 모든 내용이 "문구"로 되어있군요 !

현재:
단락: 인기 상품을 확인해보세요.
단락: 인기 상품을
단락: 확인해 보세요
단락: 가장 HOT한 중고거래 물품을 판다 마켓에서 확인해 보세요

라는 의미를 가지고 있어요.

(제안) 다음과 같은 의미를 가질 수 있도록 내용을 변경해보시는건 어떨까요?
제목2: 인기 상품을 확인해 보세요
단락: 가장 HOT한 중고거래 물품을 판다 마켓에서 확인해 보세요

@kiJu2
Copy link
Collaborator

kiJu2 commented Jan 13, 2025

수고 하셨습니다 수연님 !
global css, reset css 그리고 컬러 팔레트까지 ! 미션 1부터 떡잎이 기대가 되는군요 ㅎㅎㅎ
추가로 HTML과 관련한 의미론적인 태그 작성은 한 번 생각해보시면 좋을 것 같아요 !

즐겁게 코드리뷰 하였습니다 ! 다음 미션도 기대가 됩니다 ! 👍

@kiJu2 kiJu2 merged commit 25a35e5 into codeit-bootcamp-frontend:React-박수연 Jan 13, 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.

4 participants