-
Notifications
You must be signed in to change notification settings - Fork 3
[#122] refactor(home): 미니홈 메인 전체화면 레이아웃 리팩토링 #151
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the mini-home main page layout to support better fullscreen behavior. The key improvements include making the profile image responsive at larger breakpoints, implementing proper scrolling for constrained heights, and expanding the recent posts section to show more content on wider screens.
- Implemented responsive layout with container queries for adaptive content display
- Enhanced scrolling behavior to prevent content from being obscured at reduced heights
- Increased recent posts limit from 3 to 6 with conditional visibility based on screen size
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/features/minihome/home/HomePage.tsx | Added container queries, responsive sizing for avatar and bio, implemented scrollable right panel, and conditional post rendering (3/6 items based on @2XL breakpoint) |
| src/features/minihome/MiniHome.tsx | Added flex layout classes to home tab content to support proper height management and scrolling |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
sageherb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
📖 개요
탭을 전체 화면으로 확장했을 때 왼쪽 영역의 프로필 이미지가 커지고 바이오가 작아져서 중앙에 오도록 하였습니다.
높이가 낮아졌을 때 오른쪽 콘텐츠 영역이 가려지지 않도록 레이아웃과 스크롤을 손봤습니다.
최근 게시물은 항상 6개까지 받아 두고, 컨테이너 브레이크포인트(@2XL) 기준으로 3/6개가 토글되도록 Tailwind 유틸을 적용했습니다.
✅ 관련 이슈
🛠️ 상세 작업 내용
📸 스크린샷
MiniHome.tsx에서 MINIHOME_TABS.home에 대해서 className="min-h-0 flex-1" 적용하였습니다.
👥 리뷰 확인 사항