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

Guild Mobile 화면 대응 #280

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Guild Mobile 화면 대응 #280

wants to merge 7 commits into from

Conversation

sumi-0011
Copy link
Member

@sumi-0011 sumi-0011 commented Feb 10, 2025

💡 기능

  • 따로 모바일 디자인은 없이, 화면 크기에 맞게 깨지지 않게 배치될 수 있도록 수정하였습니다.
  • z-index를 theme으로 관리하고, 사용부분들을 선언된 theme을 사용할 수 있도록 변경하였습니다.

🔎 기타

Summary by CodeRabbit

  • 신규 기능
    • 길드 기능 관련 알림 메시지가 추가되어 사용자에게 길드 생성 및 협업을 권장합니다.
  • 스타일
    • 다양한 화면 크기에 맞춘 반응형 레이아웃이 개선되었습니다.
    • 인터페이스의 시각적 계층 및 배치가 개선되어 더욱 일관된 사용자 경험을 제공합니다.
    • 이미지 및 인터랙티브 요소의 동작이 조정되어 보다 안정적인 UI를 구현했습니다.

@sumi-0011 sumi-0011 self-assigned this Feb 10, 2025
@sumi-0011 sumi-0011 requested a review from hyesungoh as a code owner February 10, 2025 02:01
Copy link

coderabbitai bot commented Feb 10, 2025

Walkthrough

이번 PR은 길드 기능 관련 메시지 업데이트와 UI 전반에서 z-index 값을 숫자에서 문자열 식별자로 변경하는 작업을 포함합니다. 또한, 길드 페이지와 관련 컴포넌트에 draggable 속성 추가, 불필요한 스타일 및 콘솔 로그 제거, 모바일 반응형 레이아웃 개선 등이 적용되었습니다. 패키지 내 테마 토큰 업데이트를 통해 다양한 요소의 스택 순서를 명확히 하는 변경도 이루어졌습니다.

Changes

파일 변경 요약
apps/web/messages/en_US.json, apps/web/messages/ko_KR.json 길드 기능 관련 메시지 키 ("open-guild-title", "open-guild-body") 추가
apps/web/src/app/[locale]//*, apps/web/src/components//* 다수 컴포넌트에서 z-index 값을 숫자에서 문자열(예: 'floating', 'header' 등)로 변경
apps/web/src/app/[locale]/guild/**/*, apps/web/src/components/{PageModal,RouteModal,FeedbackForm}.tsx 모바일 반응형 레이아웃 및 스타일 개선 적용
apps/web/src/app/[locale]/guild/(subpage)/page.tsx, apps/web/src/app/[locale]/guild/_components/GuildPeopleList.tsx, packages/ui/panda/src/components/Banner/BannerPetSelect.tsx 이미지 및 링크 요소에 draggable 속성 추가로 드래그 방지
packages/ui/panda/src/components/Banner/cva.ts, packages/ui/panda/src/components/SearchBar/SearchBar.tsx, packages/ui/panda/src/theme/tokens.ts 패키지 내 스타일 구성 및 테마 토큰(z-index) 업데이트

Sequence Diagram(s)

sequenceDiagram
  participant U as 사용자
  participant N as 알림 시스템
  participant G as 길드 페이지
  U->>N: 길드 관련 알림 확인
  N->>G: /guild 경로로 리디렉션
  G->>U: 페이지 렌더링 (비드래그 이미지 적용)
Loading

Suggested labels

area: Web, diff: M

Suggested reviewers

  • hyesungoh

Poem

깡총깡총 뛰며 코드를 노래해,
길드의 소식 반짝이며 전해져.
숫자 대신 이야기로 쌓인 값들,
드래그 없이 깔끔하게 흘러가네.
모바일 속 춤추는 스타일,
토큰과 함께 빛나는 이 순간,
나는 행복한 토끼, 기쁜 마음으로!

✨ Finishing Touches
  • 📝 Generate Docstrings (Beta)

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🔭 Outside diff range comments (3)
apps/web/src/app/[locale]/landing/AvailablePetSection/AnimalSliderContainerMobile.tsx (1)

28-29: 에러 처리가 개선되어야 합니다.

빈 catch 블록은 잠재적인 문제를 숨길 수 있습니다.

다음과 같이 수정하는 것을 제안합니다:

    try {
      flicking.current.next();
-    } catch (error) {}
+    } catch (error) {
+      console.error('슬라이더 이동 중 오류 발생:', error);
+    }
apps/web/src/components/GNB/LanguageSelector.tsx (1)

112-122: 모바일 뷰에서 안전 영역(Safe Area)을 고려해야 합니다.

iOS 기기의 노치나 홈 바와 같은 안전 영역을 고려하지 않고 있습니다.

다음과 같이 수정하는 것을 제안합니다:

  position: 'fixed',
  top: 0,
  left: 0,
  right: 0,
  bottom: 0,
+ paddingTop: 'env(safe-area-inset-top)',
+ paddingBottom: 'env(safe-area-inset-bottom)',
  backgroundColor: '#fff',
  maxHeight: '100vh',
  overflowY: 'auto',
  zIndex: 'drawer',
apps/web/src/components/Global/FeedbackForm.tsx (1)

80-85: Next.js Image 컴포넌트에서 표준 img 태그로 변경됨

Next.js의 Image 컴포넌트가 표준 HTML img 태그로 대체되었습니다. 이는 성능 최적화와 이미지 관리 측면에서 권장되지 않는 변경입니다.

Next.js의 이미지 최적화 기능을 활용하기 위해 다시 Image 컴포넌트로 되돌리는 것을 추천드립니다:

-<img src="/feedback/feedback-profile.png" alt="feedback" width={67.5} height={67} />
+<Image
+  src="/feedback/feedback-profile.png"
+  alt="feedback"
+  width={67.5}
+  height={67}
+/>

Also applies to: 92-92

🧹 Nitpick comments (8)
apps/web/src/components/PageModal/index.tsx (1)

22-26: 모바일 스타일 적용이 잘 되었습니다!

모바일 화면에서의 레이아웃 조정이 적절하게 이루어졌습니다. 헤더 높이를 고려한 minHeight 계산과 전체 너비 표시를 위한 borderRadius 제거가 모바일 UX를 개선하는데 도움이 될 것 같습니다.

다만, 모바일에서의 패딩값(p: 5)이 데스크톱 버전(p: '40px')과 큰 차이가 있어 갑작스러운 변화로 느껴질 수 있습니다. 중간 크기의 화면을 위한 브레이크포인트를 추가하는 것을 고려해보시는 건 어떨까요?

 _mobile: {
   minHeight: 'calc(100vh - var(--mobile-header-height))',
   borderRadius: 0,
-  p: 5,
+  p: { base: 5, sm: '20px', md: '40px' },
 },
packages/ui/panda/src/theme/tokens.ts (1)

12-26: z-index 토큰 정의가 잘 구성되어 있습니다!

계층 구조가 명확하고 의미있는 이름을 사용하여 z-index 값을 관리하고 있습니다. 다만, 각 토큰의 사용 목적과 컨텍스트를 명확히 하기 위해 주석 추가를 제안드립니다.

아래와 같이 각 토큰에 대한 설명을 추가하면 좋을 것 같습니다:

 zIndex: {
+  // 요소를 시각적으로 숨기기 위한 음수 값
   hide: { value: '-1' },
+  // 기본 스택 레벨
   base: { value: '0' },
+  // 기본 요소 위에 떠 있는 요소 (예: 드롭다운 버튼)
   floating: { value: '2' },
   ...
 },
apps/web/src/components/GNB/Notification/notification.contants.ts (2)

16-25: 길드 알림이 추가되었습니다만, ID 체계를 개선하면 좋겠습니다.

ID가 순차적이지 않은 것이 눈에 띕니다 (1 다음에 3). 향후 유지보수를 위해 순차적인 ID 체계를 유지하는 것이 좋습니다.

-    id: '3',
+    id: '2',

26-35: 주석 처리된 코드는 제거하는 것이 좋습니다.

더 이상 사용하지 않는 크리스마스 이벤트 알림 코드가 주석 처리되어 있습니다. 버전 관리 시스템을 통해 히스토리를 확인할 수 있으므로, 주석 처리된 코드는 제거하는 것이 좋습니다.

apps/web/src/components/Select/Label.tsx (1)

33-33: 패딩 값의 반응형 처리를 고려해보세요.

모바일 화면에서는 현재 패딩(14px 14px 14px 20px)이 너무 클 수 있습니다. 화면 크기에 따른 패딩 조정을 추천드립니다.

-  padding: '14px 14px 14px 20px',
+  padding: {
+    base: '14px 14px 14px 20px',
+    _mobile: '10px 10px 10px 14px',
+  },
apps/web/src/app/[locale]/landing/AvailablePetSection/AnimalSliderContainer.tsx (1)

15-17: TODO 주석에 대한 개선이 필요합니다.

useMounted 훅으로의 분리가 제안되어 있습니다. 이를 구현하여 코드 품질을 개선할 수 있습니다.

useMounted 훅 구현을 도와드릴까요?

apps/web/src/app/[locale]/guild/_components/GuildPeopleList.tsx (1)

68-70: GuildCard 컴포넌트와 일관된 모바일 스타일링이 필요합니다.

GuildCard 컴포넌트는 width를 사용하고 있지만, 여기서는 maxW를 사용합니다. 일관성을 위해 동일한 접근 방식을 사용하는 것이 좋습니다.

-    maxW: 'calc(100vw - 40px)',
+    width: 'calc(100vw - 40px)',
apps/web/src/components/GNB/Notification/InboxList.tsx (1)

67-68: 모바일 환경에서 너비 조정이 필요할 수 있습니다.

현재 고정된 너비(375px)는 작은 화면에서 문제가 될 수 있습니다.

다음과 같이 수정하는 것을 제안합니다:

  width: '375px',
+  _mobile: {
+    width: '100%',
+    right: '0',
+  },
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5dc0d33 and e936ce9.

📒 Files selected for processing (49)
  • apps/web/messages/en_US.json (1 hunks)
  • apps/web/messages/ko_KR.json (1 hunks)
  • apps/web/src/app/[locale]/auth/page.tsx (1 hunks)
  • apps/web/src/app/[locale]/event/(common)/BackgroundSlider/Arrow.tsx (1 hunks)
  • apps/web/src/app/[locale]/event/(common)/Draw.tsx (1 hunks)
  • apps/web/src/app/[locale]/event/(common)/EventEndOverlay.tsx (1 hunks)
  • apps/web/src/app/[locale]/event/(halloween)/Content.tsx (2 hunks)
  • apps/web/src/app/[locale]/guild/(subpage)/[id]/layout.tsx (1 hunks)
  • apps/web/src/app/[locale]/guild/(subpage)/[id]/page.tsx (1 hunks)
  • apps/web/src/app/[locale]/guild/(subpage)/[id]/setting/GuidlInfoFormClient.tsx (2 hunks)
  • apps/web/src/app/[locale]/guild/(subpage)/detail/GuildDetail.tsx (0 hunks)
  • apps/web/src/app/[locale]/guild/_components/GuildCard.tsx (1 hunks)
  • apps/web/src/app/[locale]/guild/_components/GuildModalPageLayout.tsx (1 hunks)
  • apps/web/src/app/[locale]/guild/_components/GuildPeopleList.tsx (3 hunks)
  • apps/web/src/app/[locale]/guild/_components/GuildSearch.tsx (2 hunks)
  • apps/web/src/app/[locale]/guild/layout.tsx (1 hunks)
  • apps/web/src/app/[locale]/guild/page.tsx (6 hunks)
  • apps/web/src/app/[locale]/landing/AvailablePetSection/AnimalSliderContainer.tsx (1 hunks)
  • apps/web/src/app/[locale]/landing/AvailablePetSection/AnimalSliderContainerMobile.tsx (1 hunks)
  • apps/web/src/app/[locale]/landing/AvailablePetSection/AvailablePetSection.style.ts (1 hunks)
  • apps/web/src/app/[locale]/landing/ChoosePetSection/ChoosePetSection.style.ts (1 hunks)
  • apps/web/src/app/[locale]/landing/MainSection/MainSection.style.ts (1 hunks)
  • apps/web/src/app/[locale]/landing/MainSection/MainSlider.tsx (1 hunks)
  • apps/web/src/app/[locale]/mypage/layout.tsx (1 hunks)
  • apps/web/src/app/[locale]/mypage/my-pet/(merge)/MergePersona.tsx (1 hunks)
  • apps/web/src/app/[locale]/shop/AuctionSection/Background.tsx (2 hunks)
  • apps/web/src/app/[locale]/shop/AuctionSection/index.tsx (1 hunks)
  • apps/web/src/app/[locale]/shop/BackgroundSection/BackgroundSection.tsx (2 hunks)
  • apps/web/src/app/[locale]/shop/FloatingPointSection/FloatingPointSection.tsx (1 hunks)
  • apps/web/src/app/[locale]/shop/PetGotcha/PetGotcha.tsx (1 hunks)
  • apps/web/src/app/[locale]/shop/page.tsx (1 hunks)
  • apps/web/src/app/globals.css (1 hunks)
  • apps/web/src/components/CheckTime.tsx (1 hunks)
  • apps/web/src/components/GNB/DesktopGNB.tsx (1 hunks)
  • apps/web/src/components/GNB/LanguageSelector.tsx (2 hunks)
  • apps/web/src/components/GNB/MobileGNB.tsx (3 hunks)
  • apps/web/src/components/GNB/Notification/InboxList.tsx (1 hunks)
  • apps/web/src/components/GNB/Notification/notification.contants.ts (1 hunks)
  • apps/web/src/components/Global/FeedbackForm.tsx (5 hunks)
  • apps/web/src/components/PageModal/index.tsx (1 hunks)
  • apps/web/src/components/RouteModal.tsx (1 hunks)
  • apps/web/src/components/Select/Label.tsx (1 hunks)
  • apps/web/src/components/Select/Panel.tsx (1 hunks)
  • apps/web/src/components/Slider/PerspectiveCenterSlider.tsx (1 hunks)
  • apps/web/src/components/TextArea.tsx (1 hunks)
  • packages/ui/panda/src/components/Banner/BannerPetSelect.tsx (1 hunks)
  • packages/ui/panda/src/components/Banner/cva.ts (1 hunks)
  • packages/ui/panda/src/components/SearchBar/SearchBar.tsx (2 hunks)
  • packages/ui/panda/src/theme/tokens.ts (1 hunks)
💤 Files with no reviewable changes (1)
  • apps/web/src/app/[locale]/guild/(subpage)/detail/GuildDetail.tsx
✅ Files skipped from review due to trivial changes (7)
  • apps/web/src/app/[locale]/mypage/my-pet/(merge)/MergePersona.tsx
  • apps/web/src/app/[locale]/event/(common)/Draw.tsx
  • apps/web/src/components/TextArea.tsx
  • apps/web/src/app/[locale]/guild/(subpage)/[id]/page.tsx
  • apps/web/src/app/[locale]/shop/page.tsx
  • apps/web/src/app/[locale]/guild/(subpage)/[id]/setting/GuidlInfoFormClient.tsx
  • apps/web/src/components/RouteModal.tsx
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: Install Dependencies
🔇 Additional comments (53)
apps/web/src/app/[locale]/landing/ChoosePetSection/ChoosePetSection.style.ts (1)

23-23: z-index 값의 테마 기반 관리로의 전환이 잘 이루어졌습니다!

숫자형 z-index 값을 의미론적인 문자열 값으로 변경한 것이 코드의 가독성과 유지보수성을 향상시킵니다.

apps/web/src/app/[locale]/guild/layout.tsx (1)

24-28: 모바일 화면 대응이 적절하게 구현되었습니다.

모바일 헤더 높이를 CSS 변수로 관리하고 컨테이너 높이를 동적으로 조정한 것이 좋은 접근 방식입니다.

모바일 헤더 높이 변수가 올바르게 정의되어 있는지 확인해 주세요:

✅ Verification successful

🏁 Script executed:

#!/bin/bash
# Description: Check if mobile header height variable is defined in globals.css
rg --type css "mobile-header-height" 

Length of output: 99


모바일 헤더 높이 변수 정의가 올바르게 확인되었습니다.

  • CSS 변수 "--mobile-header-height"가 apps/web/src/app/globals.css 파일에 60px로 정의되어 있습니다.
  • 모바일 레이아웃 조정 역시 의도한 대로 동작할 것으로 판단됩니다.
apps/web/src/app/[locale]/event/(common)/EventEndOverlay.tsx (1)

19-19: 오버레이의 z-index 값이 의미론적으로 잘 변경되었습니다.

숫자형 z-index 값(1000)을 의미론적인 'overlay' 값으로 변경한 것이 적절합니다.

packages/ui/panda/src/components/Banner/BannerPetSelect.tsx (1)

14-14: 이미지의 드래그 방지 처리가 잘 구현되었습니다.

모바일 환경에서 의도치 않은 이미지 드래그를 방지하여 사용자 경험이 개선되었습니다.

apps/web/src/components/Select/Panel.tsx (1)

20-20: z-index 토큰 적용이 적절합니다.

새로운 z-index 토큰 시스템에 맞게 잘 변경되었습니다. 드롭다운 패널의 특성을 고려할 때 'floating' 값이 적절한 선택입니다.

apps/web/src/app/[locale]/guild/_components/GuildModalPageLayout.tsx (1)

22-25: 모바일 대응이 적절하게 구현되었습니다.

모바일 환경에서 패딩과 테두리 반경을 조정하여 더 나은 사용자 경험을 제공하도록 구현되었습니다. PR의 목적에 잘 부합합니다.

packages/ui/panda/src/components/Banner/cva.ts (1)

43-43: 모바일 화면에서의 높이 값 검토 필요

고정된 높이 값은 모바일 화면에서 문제가 될 수 있습니다. 모바일 대응을 위해 _mobile 미디어 쿼리를 사용하여 반응형 높이를 설정하는 것을 고려해보세요.

 medium: {
   width: '120px',
   padding: '12px 20px',
-  height: '149px',
+  height: '149px',
+  _mobile: {
+    height: 'auto',
+    minHeight: '120px',
+  },
 },
apps/web/src/app/[locale]/landing/MainSection/MainSection.style.ts (1)

60-60: z-index 테마 토큰 적용 승인

숫자 값에서 테마 토큰으로의 변경이 적절하게 이루어졌습니다. 이는 z-index 관리의 일관성을 향상시킵니다.

apps/web/src/app/[locale]/auth/page.tsx (1)

47-47: 로딩 컨테이너의 z-index 테마 토큰 적용 승인

로딩 컨테이너의 z-index 값이 테마 토큰으로 적절하게 변경되었습니다. 이는 애플리케이션 전반의 z-index 관리 일관성을 개선합니다.

apps/web/src/app/[locale]/guild/_components/GuildSearch.tsx (1)

46-50: 모바일 최적화 적용 승인

SearchBar 컴포넌트의 모바일 화면 대응이 적절하게 구현되었습니다. viewport 단위를 사용한 너비 계산과 여백 고려가 잘 되어있습니다.

apps/web/src/app/[locale]/shop/FloatingPointSection/FloatingPointSection.tsx (1)

39-39: z-index 값의 테마 기반 관리로의 전환이 잘 이루어졌습니다!

숫자 값에서 의미 있는 식별자로의 전환은 z-index 관리를 더 명확하고 일관되게 만들어줍니다.

apps/web/src/app/[locale]/guild/(subpage)/[id]/layout.tsx (1)

33-38: 모바일 레이아웃 대응이 추가되었습니다.

모바일 환경에서의 레이아웃 개선이 이루어졌으나, 몇 가지 고려사항이 있습니다:

  1. minHeight: 'fit-content'height: 'calc(100vh - var(--mobile-header-height))'가 동시에 적용되어 있어 충돌이 발생할 수 있습니다.
  2. 모바일에서 콘텐츠가 많을 경우 스크롤 처리가 필요할 수 있습니다.

다음과 같이 수정하는 것을 고려해보세요:

  _mobile: {
    paddingY: '0',
-   minHeight: 'fit-content',
    height: 'calc(100vh - var(--mobile-header-height))',
    padding: 4,
+   overflow: 'auto',
  },
packages/ui/panda/src/components/SearchBar/SearchBar.tsx (1)

3-3: className 처리 방식이 개선되었습니다!

cx 유틸리티를 사용하여 기본 스타일과 외부에서 전달받은 className을 조합하는 방식으로 변경된 것이 좋습니다. 이는 컴포넌트의 스타일 확장성을 높여줍니다.

Also applies to: 14-14

apps/web/src/app/[locale]/event/(common)/BackgroundSlider/Arrow.tsx (2)

44-44: z-index 값이 테마 토큰으로 잘 변경되었습니다!

숫자형 z-index에서 'floating' 토큰으로의 전환이 적절하게 이루어졌습니다.


23-26: 모바일 환경에서의 화살표 크기와 위치 조정이 적절합니다.

화살표의 크기와 위치가 모바일 환경에 맞게 잘 조정되었습니다. 특히 disabled 상태일 때의 크기 차이도 고려한 점이 좋습니다.

Also applies to: 51-53

apps/web/src/components/CheckTime.tsx (2)

24-24: z-index 값이 테마 기반으로 변경되었습니다.

숫자형 z-index에서 테마 기반의 문자열 식별자로 변경된 것이 확인되었습니다. 이는 z-index 관리의 일관성을 향상시킵니다.


15-17: 모바일 반응형 레이아웃이 적절히 구현되었습니다.

viewport 단위를 사용하여 화면 크기에 따라 적절히 조정되는 것이 확인되었습니다.

apps/web/src/app/[locale]/landing/AvailablePetSection/AvailablePetSection.style.ts (2)

21-21: z-index가 'floating'으로 변경되었습니다.

숫자형 z-index에서 의미있는 문자열 식별자로 변경되어 스택 컨텍스트 관리가 개선되었습니다.


13-16: 모바일 대응이 적절히 구현되었습니다.

모바일 화면에서:

  • 패딩이 120px에서 80px로 조정
  • 갭이 60px에서 40px로 조정
  • 레이아웃이 column 방향으로 변경
  • 적절한 패딩과 여백 조정

이러한 변경사항들이 모바일 환경에서 더 나은 사용자 경험을 제공할 것으로 보입니다.

Also applies to: 27-29, 50-55

apps/web/src/app/[locale]/shop/AuctionSection/index.tsx (2)

71-71: z-index가 'floating'으로 변경되었습니다.

스택 컨텍스트 관리를 위해 숫자형 z-index에서 테마 기반 식별자로 변경되었습니다.


72-72: 모바일 화면에서 높이 값 검토가 필요합니다.

고정된 높이 값(924px)은 모바일 기기에서 문제를 일으킬 수 있습니다. 반응형 높이 값 사용을 고려해보세요.

-  height: '924px',
+  height: {
+    base: '924px',
+    _mobile: 'auto',
+  },
apps/web/src/components/Select/Label.tsx (1)

39-39: 너비가 100%로 설정되어 반응형이 개선되었습니다.

Select 컴포넌트의 라벨이 컨테이너의 전체 너비를 사용하도록 변경되어 모바일 환경에서의 사용성이 향상되었습니다.

apps/web/src/components/Slider/PerspectiveCenterSlider.tsx (2)

58-58: z-index 테마 기반 접근 방식으로의 전환을 승인합니다.

숫자 값에서 의미론적 문자열로의 전환이 코드의 가독성과 유지보수성을 향상시킵니다.


68-72: 모바일 대응이 적절히 구현되었습니다.

화살표 크기가 모바일 화면에 맞게 적절히 조정되었습니다.

apps/web/src/app/[locale]/landing/AvailablePetSection/AnimalSliderContainer.tsx (2)

56-56: z-index 값의 테마 기반 변경을 승인합니다.

'floating' 값으로의 전환이 일관된 레이어 관리를 가능하게 합니다.


81-84: 모바일 반응형 처리가 적절합니다.

슬라이더 컨테이너의 크기가 모바일 화면에 맞게 조정되었습니다.

apps/web/src/app/[locale]/shop/AuctionSection/Background.tsx (2)

36-36: z-index의 테마 기반 전환이 일관되게 적용되었습니다.

'base' 값으로의 전환이 배경 요소의 레이어 관리를 명확하게 합니다.

Also applies to: 79-79


77-100: 모바일 화면에 대한 대응이 필요할 수 있습니다.

배경 이미지와 애니메이션에 대한 모바일 대응이 없습니다. 작은 화면에서의 표시 방식을 검토해주세요.

모바일 화면에서 배경 이미지가 적절히 표시되는지 확인이 필요합니다.

apps/web/src/app/[locale]/mypage/layout.tsx (2)

64-64: z-index 테마 기반 변경이 적절합니다.

레이아웃의 레이어 관리가 'floating' 값으로 명확해졌습니다.


71-76: 모바일 대응이 포괄적으로 구현되었습니다.

그리드 레이아웃이 모바일에 맞게 적절히 조정되었습니다. 다만, TODO 주석에서 언급된 태블릿 대응도 고려해보시면 좋겠습니다.

태블릿 화면 크기에서의 레이아웃 테스트가 필요합니다.

apps/web/src/app/[locale]/guild/_components/GuildCard.tsx (1)

54-56: 모바일 레이아웃의 여백을 확인해주세요.

calc(100vw - 40px)는 양쪽에 20px의 여백을 가정합니다. 부모 컨테이너의 패딩과 일치하는지 확인이 필요합니다.

apps/web/src/app/[locale]/event/(halloween)/Content.tsx (1)

65-65: z-index 값의 테마 기반 관리로의 전환이 잘 이루어졌습니다.

숫자 값에서 의미론적 문자열(floating, base)로의 전환이 명확하게 이루어졌습니다.

Also applies to: 114-114

apps/web/src/app/[locale]/shop/PetGotcha/PetGotcha.tsx (1)

85-85: z-index 값의 의미가 명확해졌습니다.

-1에서 'hide'로의 변경으로 z-index의 목적이 더 명확해졌습니다.

apps/web/src/app/[locale]/landing/AvailablePetSection/AnimalSliderContainerMobile.tsx (2)

107-107: z-index 토큰 변경이 적절히 적용되었습니다.

zIndex: 'floating' 값이 슬라이더 화살표의 용도에 맞게 잘 적용되었습니다.


86-89: 모바일 반응형 스타일이 잘 구현되었습니다.

버튼 크기가 모바일 환경에 맞게 적절히 조정되었습니다.

apps/web/src/components/GNB/Notification/InboxList.tsx (1)

62-62: z-index 토큰 변경이 적절히 적용되었습니다.

zIndex: 'popover' 값이 알림 목록의 용도에 맞게 잘 적용되었습니다.

apps/web/src/components/GNB/LanguageSelector.tsx (1)

65-65: z-index 토큰들이 적절히 적용되었습니다.

zIndex: 'dropdown'zIndex: 'drawer' 값들이 각각의 용도에 맞게 잘 적용되었습니다.

Also applies to: 121-121

apps/web/src/components/GNB/DesktopGNB.tsx (2)

81-81: z-index 토큰 변경이 적절히 적용되었습니다.

zIndex: 'header' 값이 GNB의 용도에 맞게 잘 적용되었습니다.


119-121: 모바일 대응이 잘 구현되었습니다.

데스크톱 GNB를 모바일에서 숨기는 처리가 적절히 되어있습니다.

apps/web/src/app/[locale]/landing/MainSection/MainSlider.tsx (1)

142-142: z-index 값의 시맨틱한 변경을 승인합니다.

숫자 값에서 의미론적인 'floating' 값으로의 변경은 코드의 가독성과 유지보수성을 향상시킵니다.

apps/web/src/app/[locale]/shop/BackgroundSection/BackgroundSection.tsx (2)

82-82: TODO 주석에 대한 후속 조치가 필요합니다.

이벤트 배경 타입이 비어있는 상태로 TODO 주석이 남아있습니다. 이벤트 배경 타입을 정의하거나 관련 로직을 구현해야 합니다.

이벤트 배경 타입 구현을 위한 이슈를 생성하시겠습니까?


115-115: z-index 값의 시맨틱한 변경을 승인합니다.

숫자 값에서 의미론적인 'floating' 값으로의 변경은 일관된 z-index 관리를 가능하게 합니다.

apps/web/src/app/[locale]/guild/page.tsx (3)

82-90: Box 컴포넌트를 사용한 레이아웃 개선을 승인합니다.

flex 속성을 가진 Box 컴포넌트의 도입으로 레이아웃 구조가 더 명확해졌습니다.


147-152: 모바일 반응형 스타일 개선을 승인합니다.

적절한 패딩 값 조정으로 모바일 화면에서의 레이아웃이 개선되었습니다.


161-162: 모바일 그리드 레이아웃 개선을 승인합니다.

모바일 화면에서 단일 컬럼 레이아웃으로 변경하여 가독성이 향상되었습니다.

apps/web/src/components/GNB/MobileGNB.tsx (2)

39-39: 헤더 높이 스페이서 추가를 승인합니다.

고정된 헤더로 인한 콘텐츠 가림 현상을 방지하기 위한 적절한 스페이서가 추가되었습니다.


137-137: z-index 값들의 시맨틱한 변경을 승인합니다.

  • 헤더의 z-index를 'header'로 변경
  • 메뉴의 z-index를 'drawer'로 변경

이러한 의미론적 값의 사용으로 컴포넌트 간의 계층 구조가 더 명확해졌습니다.

Also applies to: 161-161

apps/web/src/components/Global/FeedbackForm.tsx (3)

186-191: 모바일 대응을 위한 스케일 조정이 적용됨

피드백 아이콘의 모바일 대응이 적절하게 구현되었습니다.


203-211: z-index 값이 테마 기반으로 변경되고 모바일 스타일이 추가됨

z-index 값이 숫자에서 테마 기반 문자열로 변경되어 일관성이 개선되었습니다. 모바일 화면에서의 레이아웃도 적절하게 조정되었습니다.


254-256: 모바일에서의 간격이 조정됨

모바일 화면에서 폼 요소들 간의 간격이 적절하게 조정되었습니다.

apps/web/src/app/globals.css (1)

40-44: 모바일 헤더 높이를 위한 CSS 변수가 추가됨

모바일 헤더의 높이를 CSS 변수로 관리하도록 개선되었습니다. 이는 유지보수성과 일관성을 향상시킵니다.

apps/web/messages/ko_KR.json (1)

160-161: 길드 기능 관련 메시지가 추가됨

새로운 길드 기능에 대한 알림 메시지가 적절하게 추가되었습니다.

apps/web/messages/en_US.json (1)

158-159: 영문 길드 기능 메시지가 한글 버전과 일관되게 추가됨

한글 버전과 동일한 의미를 가지는 영문 메시지가 적절하게 추가되었습니다.

import { BannerPetSelectMedium } from '@gitanimals/ui-panda';
import { UsersRoundIcon } from 'lucide-react';

import { USER_GITHUB_URL } from '@/constants/route';
import { getPersonaImage } from '@/utils/image';

export function GuildPeopleList({ members, leader }: { members: GuildMember[]; leader: GuildLeader }) {
const isMobile = useIsMobile();
Copy link

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

사용되지 않는 변수를 제거해주세요.

isMobile 변수가 선언되었지만 사용되지 않습니다.

-  const isMobile = useIsMobile();
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
const isMobile = useIsMobile();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant