feat: 단풍 지도 카드 — 산림청 2026 단풍절정 예측 23곳을 한반도 그림 지도(실제 해안선에 맞춘 Codex 그림, 독도 포함) 위에 지금 절정·곧·아직·지남 점으로, 서울 근교 절정일, 9/20~11/25 오늘 피드에

This commit is contained in:
minaChoi committed 2026-10-21 10:02:30 +09:00
1 parent 74a46dd66a
commit 463978c183
5 files changed
+316 -1

No files matched your search

+2
View File
@@ -5,6 +5,7 @@ import { getFeedOptions, getWeatherTodayOptions } from '../api/client/@tanstack/
import { RainType, Sky, type BandArticle, type BandEvent, type Hero as HeroData, type ResWeatherToday, type TalkData, type TopIndex, type WeatherSlot } from '../api/client/types.gen'
import { cx } from '../lib/utils'
import { cardBg, fall, kindOfHour, kst, type Load, loadOf, MEDALS, type TimeKind, WEEKDAYS } from './lib'
import { FoliageCard } from './foliageMap'
import { InstallBanner } from './installBanner'
import { MyGakRow } from './myGak'
import { fromShare } from './myGakState'
@@ -411,6 +412,7 @@ export function TodayPage() {
{posts.map((p, i) => (
<Fragment key={p.post_id}>
<PostCard post={p} />
{i === 1 && <FoliageCard />}
{(i + 1) % 3 === 0 && talks[(i + 1) / 3 - 1] && <TalkCard t={talks[(i + 1) / 3 - 1]} />}
{bandAt.find(([at]) => at === i + 1)?.[1]}
</Fragment>