diff --git a/app/components/DashboardShell.tsx b/app/components/DashboardShell.tsx index 0ebe865..20cdcf4 100644 --- a/app/components/DashboardShell.tsx +++ b/app/components/DashboardShell.tsx @@ -67,7 +67,7 @@ export default function DashboardShell({ children }: { children: React.ReactNode 개인정보처리방침 환불 정책 -

© 2025 쟁승메이드. All rights reserved.

+

© 2026 쟁승메이드. All rights reserved.

diff --git a/app/components/TopNav.tsx b/app/components/TopNav.tsx index de9a375..7a6cea6 100644 --- a/app/components/TopNav.tsx +++ b/app/components/TopNav.tsx @@ -26,6 +26,14 @@ export default function TopNav() { useEffect(() => { setOpen(false); }, [pathname]); + useEffect(() => { + if (open) { + const prev = document.body.style.overflow; + document.body.style.overflow = 'hidden'; + return () => { document.body.style.overflow = prev; }; + } + }, [open]); + const isActive = (href: string) => href === '/' ? pathname === '/' : pathname.startsWith(href);