From ec8330a978e14e2c49cb73d1c449e67d58108bee Mon Sep 17 00:00:00 2001 From: joungmin Date: Wed, 11 Mar 2026 20:49:42 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20UI=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0:=20=EB=82=B4=EC=A3=BC=EB=B3=80=20=EC=A7=80=EB=8F=84?= =?UTF-8?q?=EC=A0=84=EC=9A=A9,=20=ED=95=84=ED=84=B0=20=EC=83=81=EC=8B=9C?= =?UTF-8?q?=EB=85=B8=EC=B6=9C,=20=EC=B1=84=EB=84=90=ED=95=84=ED=84=B0=20?= =?UTF-8?q?=EC=A0=84=ED=83=AD=20=ED=99=95=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 내주변 탭: 지도만 전체 표시 (리스트 제거), 마커 클릭 시 바텀시트 상세보기 유지 - 유튜버 채널 필터: 홈/식당목록/내주변 탭 모두에서 표시 - 모바일 필터: 토글 패널 → 항상 보이는 2줄 레이아웃 (장르+가격 / 나라+내위치) - 모바일 헤더에 찜/리뷰 버튼 추가 Co-Authored-By: Claude Opus 4.6 --- frontend/src/app/page.tsx | 319 ++++++++++++++++++++------------------ 1 file changed, 164 insertions(+), 155 deletions(-) diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index 3a969eb..d61396f 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -862,17 +862,37 @@ export default function Home() { {/* User area (mobile only - desktop moved to Row 1) */} -
+
+ {user && ( + <> + + + + )} {authLoading ? null : user ? ( -
+
{user.avatar_url ? ( - + ) : ( -
+
{(user.nickname || user.email || "?").charAt(0).toUpperCase()}
)} @@ -888,7 +908,7 @@ export default function Home() { {/* Row 1: Search */} {/* Channel cards - toggle filter */} - {mobileTab === "home" && !isSearchResult && channels.length > 0 && ( + {(mobileTab === "home" || mobileTab === "list" || mobileTab === "nearby") && !isSearchResult && channels.length > 0 && (
{channels.map((ch) => ( )} - - - {filteredRestaurants.length}개 - -
- - {/* Collapsible filter panel */} - {showMobileFilters && ( -
- {/* Dropdown filters */} -
+ {filteredRestaurants.length}개 +
+ {/* Line 2: 나라 + 시 + 구 + 내위치 */} +
+ + {countryFilter && cities.length > 0 && ( - -
- {/* Region filters */} -
- - {countryFilter && cities.length > 0 && ( - - )} - {cityFilter && districts.length > 0 && ( - - )} -
- {/* Toggle buttons */} -
- -
+ )} +
- )} +
@@ -1109,32 +1123,27 @@ export default function Home() {
{/* Tab content — takes all remaining space above fixed nav */} {mobileTab === "nearby" ? ( - /* 내주변: 지도 + 리스트 분할, 영역필터 ON */ -
-
- -
- - 내 주변 {filteredRestaurants.length}개 - + /* 내주변: 지도만 전체 표시, 영역필터 ON */ +
+ +
+ + 내 주변 {filteredRestaurants.length}개 + +
+ {visits && ( +
+ 오늘 {visits.today} · 전체 {visits.total.toLocaleString()}
- {visits && ( -
- 오늘 {visits.today} · 전체 {visits.total.toLocaleString()} -
- )} -
-
- {mobileListContent} -
+ )}
) : mobileTab === "profile" ? ( /* 내정보 */