fix: 단풍 지도를 피드 맨 위가 아니라 포스트 맨 앞으로 — 쇼츠·글쓰기·오늘의 각은 원래 자리

This commit is contained in:
minaChoi committed 2026-10-27 19:05:33 +09:00
1 parent fd67c2b45f
commit 340b30cc8b
1 file changed
+7 -3
+7 -3
View File
@@ -636,9 +636,6 @@ export function TodayPage() {
// 피드 칸은 전국 공통이라 지역이 바뀌어도 글 번호가 같다. 지역마다 새로 그려 넘긴 슬라이드·펼친 상태가 남지 않게 한다
<section key={region.code} aria-label="오늘" aria-busy={load === 'loading'} className={cx('transition-opacity', feed.isPlaceholderData && 'opacity-60')}>
<Hero hero={f?.hero} post={f?.hero_post} today={today.data} ranked={stories} all={f?.stories ?? []} feedLoad={load} todayLoad={loadOf(today)} />
{/* 단풍철엔 단풍 지도를 피드 맨 위에, 단풍 이야기 묶음은 바로 아래 */}
<FoliageCard />
{group(TalkTopic.FOLIAGE)}
<ShortsRail />
<FeedComposer />
{mine.length > 0 && <TalkGroup title="오늘 내 글" talks={mine} href="/talk?mine=1" />}
@@ -660,6 +657,13 @@ export function TodayPage() {
{load !== 'loading' && !posts.length && (
<StateBox load="ready" empty={load === 'ready' ? '오늘 올라온 글이 아직 없어요.' : '글을 불러오지 못했어요.'} hold={<PostsSkel />} className="inset-x-3 top-3.5 bottom-auto" />
)}
{/* 단풍철엔 단풍 지도를 포스트 맨 앞에, 단풍 이야기 묶음은 바로 아래 */}
{load !== 'loading' && posts.length > 0 && (
<>
<FoliageCard />
{group(TalkTopic.FOLIAGE)}
</>
)}
{posts.map((p, i) => (
<Fragment key={p.post_id}>
<PostCard post={p} />