From e8382f450baa1be140d551e10f048188b3870819 Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Wed, 7 Oct 2026 21:49:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=9E=88=EC=96=B4=EB=A1=9C=EB=A5=BC=20?= =?UTF-8?q?=ED=9C=B4=EB=8C=80=ED=8F=B0=20=ED=95=9C=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=EC=97=90=20=E2=80=94=20=ED=95=B4=20=EC=A4=84=EC=9D=B4=EA=B3=A0?= =?UTF-8?q?=20=EC=B9=A9=EC=9D=84=20=ED=95=9C=20=EC=A4=84=20=EC=84=B8=20?= =?UTF-8?q?=EC=B9=B8=EC=9C=BC=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/b/TodayPage.tsx | 58 +++++++++++++++++++----------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/frontend/src/b/TodayPage.tsx b/frontend/src/b/TodayPage.tsx index 6590213..f89a3de 100644 --- a/frontend/src/b/TodayPage.tsx +++ b/frontend/src/b/TodayPage.tsx @@ -30,6 +30,9 @@ const PREVIEW: Record night: { label: '밤', clock: '22:10', hour: 22 }, } +// 히어로 칸을 받아 오는 동안 자리만 잡아 둔다 +const STAT_HOLD = ['a', 'b'] + const STARS = Array.from({ length: 26 }, (_, i) => ({ left: `${(i * 37) % 100}%`, top: `${(i * 53) % 60}%`, opacity: 0.4 + ((i * 7) % 6) / 10 })) // 별똥별 셋: 위치·길이·주기를 엇갈려 하나씩 떨어지게 const SHOOTS = [ @@ -93,7 +96,7 @@ function Hero({ hero, today, feedLoad, todayLoad }: HeroProps) { // 시안 A: 점수 해가 주인공. 위에 시간대 탭과 날짜, 가운데 큰 해, 아래 칩 한 줄과 캐릭터 말풍선(1위 각) return ( -
+
{MODES.map(([m, l]) => ( - ))}
-

- {t.mo}월 {t.d}일 {WEEKDAYS[t.wd]} · {mode === 'now' ? `${String(t.h).padStart(2, '0')}:${String(t.mi).padStart(2, '0')}` : PREVIEW[mode].clock} +

+ {t.mo}월 {t.d}일 {WEEKDAYS[t.wd]} · {mode === 'now' ? `${String(t.h).padStart(2, '0')}:${String(t.mi).padStart(2, '0')}` : PREVIEW[mode].clock}

-
-