feat: 동네 이야기를 아래 탭 '이야기'(/talk)로 옮김, 오늘 탭에서는 뺌

This commit is contained in:
minaChoi committed 2026-10-20 13:34:19 +09:00
1 parent 798286d975
commit 017022a0b0
7 files changed
+27 -49

No files matched your search

+2 -1
View File
@@ -20,6 +20,7 @@ const TABS = [
{ to: '/gak', key: 'gak', label: '각', title: '오늘의 각' },
// 메인인 오늘 탭을 가운데에
{ to: '/', key: 'today', label: '오늘', title: null },
{ to: '/talk', key: 'talk', label: '이야기', title: '동네 이야기' },
{ to: '/week', key: 'week', label: '주말·행사', title: '주말·행사' },
{ to: '/season', key: 'season', label: '계절·상식', title: '계절·상식' },
] as const
@@ -228,7 +229,7 @@ function Shell() {
<main className="relative z-[1]">
<Outlet />
</main>
<nav aria-label="주요 메뉴" className="b-tabbar fixed inset-x-0 bottom-0 z-30 grid grid-cols-5 border-t px-[max(4px,calc((100%-432px)/2))] pt-[7px] pb-[calc(8px+env(safe-area-inset-bottom,0px))] backdrop-blur-[10px]">
<nav aria-label="주요 메뉴" className="b-tabbar fixed inset-x-0 bottom-0 z-30 grid grid-cols-6 border-t px-[max(4px,calc((100%-432px)/2))] pt-[7px] pb-[calc(8px+env(safe-area-inset-bottom,0px))] backdrop-blur-[10px]">
{TABS.map((t) =>
t.key === 'today' ? (
// 메인 탭: 막대 위로 솟은 큰 주황 동그라미