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}

-
-