From d5dc8e07279ad916815e702621681003e5f6f710 Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Thu, 8 Oct 2026 09:17:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=85=B8=EC=B9=98=20=EC=98=81=EC=97=AD?= =?UTF-8?q?=EC=9D=84=20=EC=8B=9C=EA=B0=84=EB=8C=80=20=EB=B0=B0=EA=B2=BD?= =?UTF-8?q?=EC=83=89=20=EB=9D=A0=EB=A1=9C=20=EB=8D=AE=EA=B3=A0=20theme-col?= =?UTF-8?q?or=EB=A5=BC=20=EC=8B=9C=EA=B0=84=EB=8C=80=EC=97=90=20=EB=A7=9E?= =?UTF-8?q?=EC=B6=B0=20=EA=B0=B1=EC=8B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TODO.md | 2 +- frontend/index.html | 2 +- frontend/src/b/BLayout.tsx | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 16335ad..8a238c3 100644 --- a/TODO.md +++ b/TODO.md @@ -121,7 +121,7 @@ | [ ] | 터치 영역 44px 미만 — 포스트 하트·댓글·보내기 28px, 댓글 하트 약 16px, 시트 × 30px | QA 작성 중 발견 (10/8) | `frontend/src/b/Post.tsx:426`, `frontend/src/b/Sheets.tsx:637`, `:96` | | [ ] | 주말 순위 로드 실패 시 토/일 칩이 눌리는 것처럼 보이지만 동작 없음 | QA 작성 중 발견 (10/8) | `frontend/src/b/WeekPage.tsx:278` | | [ ] | **[결정 필요]** "지금 위치로 찾기" 성공 후 지역 시트가 안 닫힘 (목록에서 고르면 닫힘) — 닫을지 정하기 | QA 작성 중 발견 (10/8) | `frontend/src/b/region.tsx:44`, `frontend/src/b/Sheets.tsx:938` | -| [ ] | **[결정 필요]** 홈 화면 상태바 색(`theme-color`)이 낮 하늘색 고정 — 밤 테마 등 시간대 따라 바꿀지 | 노치 대응 중 발견 (10/8) | `frontend/index.html` | +| [x] | 홈 화면 상태바 색(`theme-color`)이 낮 하늘색 고정 — 밤 테마 등 시간대 따라 바꿀지 → 시간대 따라 바꿈 | 노치 대응 중 발견 (10/8) | `frontend/index.html` | | [ ] | **[결정 필요]** 데이트 명소: 서울 기존 10곳(직접 고른 곳)을 거리순과 상관없이 앞에 고정할지 | 데이트 명소 전국 확대 (10/8) | `backend/services/week_service.py` (`pick_places`) | | [ ] | 데이트 명소: 14개 구는 30km 안 실내 명소가 없어 비 오는 날에도 야외만 나옴 | 데이트 명소 전국 확대 (10/8) | `backend/seed/place_tourapi.csv` | | [ ] | 데이트 명소: 동네 고르기 목록에 기존 동네 이름(성수 등)과 새 구 이름이 섞이고 서울은 목록이 길어짐 | 데이트 명소 전국 확대 (10/8) | `frontend/src/b/WeekPage.tsx` | diff --git a/frontend/index.html b/frontend/index.html index 1ea539e..f32e920 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ - + 날씨각 diff --git a/frontend/src/b/BLayout.tsx b/frontend/src/b/BLayout.tsx index ef334dc..56af3b6 100644 --- a/frontend/src/b/BLayout.tsx +++ b/frontend/src/b/BLayout.tsx @@ -143,17 +143,30 @@ function SkyProvider({ children }: { children: ReactNode }) { ) } +// 노치 띠·상태바 색: 하늘 맨 위 색에 .b-topbg 를 겹친 색 +const NOTCH_BG: Record = { + morning: '#ffe6cf', + day: '#d6ebff', + sunset: '#ffd8c2', + night: '#0e1433', +} + function Shell() { const { pathname } = useLocation() + const { kind } = useSky() useEffect(() => { window.scrollTo({ top: 0 }) }, [pathname]) + useEffect(() => { + document.querySelector('meta[name="theme-color"]')?.setAttribute('content', NOTCH_BG[kind]) + }, [kind]) return (
{/* 위·아래 바: 띠는 화면 끝까지, 내용은 가운데 440px 안 */}