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

[김세환] sprint3 #80

Conversation

kimsayhi
Copy link
Collaborator

@kimsayhi kimsayhi commented Jun 7, 2024

공통

  • 브라우저에 현재 보이는 화면의 영역(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 랜딩 페이지(“/”) 공유 시 좌측 예시와 같은 미리보기를 볼 수 있도록 랜딩 페이지 메타 태그를 설정해 주세요.
  • 미리보기에서 제목은 “판다 마켓”, 설명은 “일상의 모든 물건을 거래해보세요”로 설정합니다.
  • 주소와 이미지는 자유롭게 설정하세요.
og태그

사이트 미리보기

kimsayhi added 3 commits June 1, 2024 19:21
- 컨텐츠의 margin-top을 컨테이너의 padding-top으로 변경
- 시맨틱하지 못한 태그들 수정
- 위 아래 margin으로 간격벌리는 것을 한 컨텐츠당 하나의 마진이 들어가도록 변경
@kimsayhi kimsayhi requested a review from wlgns2223 June 7, 2024 04:37
@kimsayhi kimsayhi added the 매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다. label Jun 7, 2024
@wlgns2223 wlgns2223 closed this Jun 8, 2024
@wlgns2223 wlgns2223 reopened this Jun 8, 2024
@kimsayhi kimsayhi changed the base branch from React-김세환 to Basic-김세환 June 8, 2024 06:49
Comment on lines +7 to +14
<meta property="og:url" content="https://sayhimarket.netlify.app/" />
<meta property="og:title" content="판다 마켓" />
<meta
property="og:image"
content="https://sayhimarket.netlify.app/images/og-img.png"
/>
<meta property="og:description" content="일상의 모든 물건을 거래해보세요" />
<meta property="og:locale" content="ko_KR" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

og 태그 잘 넣어주셨네요 ! 첨부해주신 스샷을 보면 잘 작동하는것 처럼보입니다 !
og 태그가 무엇인지, 어떻게 동작하는지도 함께 찾아보시면 좋을 것 같네요 !

<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<header class="header-container">
Copy link
Collaborator

Choose a reason for hiding this comment

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

header 부분의 마크업과 반응형 디자인이 완벽하네요 !
max-width를 주어서 헤더가 무한히 늘어나지 않도록 해주신것도 잘 하셨습니다 !

@@ -17,82 +25,82 @@
</div>
</header>

<main>
<main class="main-whole">
Copy link
Collaborator

Choose a reason for hiding this comment

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

clamp 함수를 사용하셨네요 ! 저도 비슷하게 min, max 함수를 사용합니다.
clamp 함수가 반응형 구현할때 아주 좋은 접근법인것 같더라구요 !

<p>일상의 모든 물건을<br />거래해 보세요</p>
<p>
일상의 모든 물건을&nbsp<br class="br-tag banner-br" />거래해 보세요
</p>
<a href="/items" class="top-btn"><span>구경하러가기</span></a>
</div>
</div>
<div class="main-container">
Copy link
Collaborator

Choose a reason for hiding this comment

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

스크린샷 2024-06-08 오후 4 18 59

sections에 위와 같은 패딩을 주셨는데, 컨텐츠를 감싸는 패딩같은 경우에는 main-container에 한번만 주는게 좀 더 효과적입니다.

Comment on lines +43 to +45
<p class="section-title">
인기 상품을&nbsp<br class="br-tag" />확인해 보세요
</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

clamp 함수를 여기도 활용을 잘 하셨는데 ,동작은 하지 않는것 같네요 ㅎㅎ 하지만 좋은 시도라고 생각합니다 ! ㅎㅎ

Copy link
Collaborator

Choose a reason for hiding this comment

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

다시 확인해보니까 잘 동작하네요 ㅎㅎ

<div class="bottom-inner">
<p>믿을 수 있는<br />판다마켓 중고거래</p>
</div>
<p class="bottom-inner">믿을 수 있는<br />판다마켓 중고거래</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

디자인 시안에는 없지만 팁을 드리자면 뷰포트너비를 임의대로 조절할때 main-bottom의 판다가 커져서 글자 뒤에 위치하는 경우가 있죠?
image

이런 경우에 padding-top을 조절해주면 글자랑 배경이랑 안겹칠 것 같다고 판단 할 수 있어요.
그럴 경우에 padding-topvw 단위로 컨트롤 할 수 있습니다. 임의의 값을 넣어보면서 시안이랑 비슷한 padding-top을 유지하되 배경과 안겹치게 할 수 있습니다 ㅎㅎ

</div>
</main>

<footer class="footer-container">
<div class="footer-inner">
<div class="footer-left">©codeit - 2024</div>
<p class="footer-left">©codeit - 2024</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

order을 줘서 간단하게 가장 뒤에 배치를 했네요. 이 방법도 쉽고 좋은 방법이네요 !

제가 생각했던 다른 방법으로는 p 태그를 2개 둘 수도 있다고 생각했습니다.
아래의 마크업과 스타일링이 정확한건 아니지만 원리만 설명드리면

       <p id="A" class="footer-left">©codeit - 2024</p>
        <div class="footer-center">
          <a href="/privacy">Privacy Policy</a>
          <a href="/faq">FAQ</a>
        </div>
        <ul class="footer-right">
          <li>
            <a href="http://twitter.com" target="_blank"></a>
          </li>
          <li>
            <a href="http://youtube.com" target="_blank"></a>
          </li>
          <li>
            <a href="http://instagram.com" target="_blank"></a>
          </li>
          <li>
            <a href="http://facebook.com" target="_blank"></a>
          </li>
        </ul>
        <p id="B"  class="footer-left">©codeit - 2024</p>

각각 A,B라고 한다면

A: PC 에서보임, 모바일에서 보이지 않음
B: 반대로 PC에서 안보임, 모바일에서 보임

뷰포트의 너비에 따라서 요소를 숨겨서 flex박스로 배치를 할 수 있겠다고 생각했습니다. ㅎㅎ

@wlgns2223 wlgns2223 merged commit 57ee385 into codeit-bootcamp-frontend:Basic-김세환 Jun 8, 2024
1 check failed
@wlgns2223
Copy link
Collaborator

회원가입 페이지에서 눈모양 svg 이미지의 배경색이 input 의 배경색과 맞지가 않더라구요 이 부분만 맞춰주시면 될 것 같아요.

@wlgns2223
Copy link
Collaborator

반응형이 완벽하게 잘 구현이 되어있네요. 다음 미션도 화이팅입니다 !!

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