diff --git a/src/App.tsx b/src/App.tsx index 2672b465..124be5cb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -86,6 +86,10 @@ function App() { }> } /> } /> + + } /> + } /> + } /> @@ -116,10 +120,6 @@ function App() { } /> } /> } /> - - } /> - } /> - } /> diff --git a/src/assets/svg/clock.svg b/src/assets/svg/clock.svg index 068bd52f..1a502a89 100644 --- a/src/assets/svg/clock.svg +++ b/src/assets/svg/clock.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/svg/instagram.svg b/src/assets/svg/instagram.svg index 91325d78..909561d6 100644 --- a/src/assets/svg/instagram.svg +++ b/src/assets/svg/instagram.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/svg/location-pin.svg b/src/assets/svg/location-pin.svg index 143251cc..c8f3fa16 100644 --- a/src/assets/svg/location-pin.svg +++ b/src/assets/svg/location-pin.svg @@ -1,4 +1,4 @@ - - + + diff --git a/src/components/layout/BottomNav/index.tsx b/src/components/layout/BottomNav/index.tsx index 6930ec24..cc09d0a0 100644 --- a/src/components/layout/BottomNav/index.tsx +++ b/src/components/layout/BottomNav/index.tsx @@ -22,7 +22,7 @@ const BOTTOM_NAV_ITEMS = [ to: '/home', label: '홈', floatingImageSrc: HomeResultImage, - matchesPath: (pathname) => pathname === '/home' || pathname === '/notifications', + matchesPath: (pathname) => pathname === '/home' || pathname === '/notifications' || pathname.startsWith('/council'), }, { to: '/chats', label: '채팅방', Icon: ChatIcon }, { to: '/mypage', label: '내정보', Icon: MyPageIcon }, diff --git a/src/components/layout/BottomOverlaySpacer.tsx b/src/components/layout/BottomOverlaySpacer.tsx new file mode 100644 index 00000000..b0dd2f1d --- /dev/null +++ b/src/components/layout/BottomOverlaySpacer.tsx @@ -0,0 +1,24 @@ +import type { HTMLAttributes } from 'react'; +import { + DEFAULT_BOTTOM_OVERLAY_GAP, + type BottomOverlayGap, + useBottomOverlayOffset, +} from '@/components/layout/bottomOverlay'; +import { cn } from '@/utils/ts/cn'; + +interface BottomOverlaySpacerProps extends HTMLAttributes { + gap?: BottomOverlayGap; +} + +function BottomOverlaySpacer({ + gap = DEFAULT_BOTTOM_OVERLAY_GAP, + className, + style, + ...props +}: BottomOverlaySpacerProps) { + const height = useBottomOverlayOffset(gap); + + return