diff --git a/components/Dropdown.tsx b/components/Dropdown.tsx index dea3feb..04dbb1b 100644 --- a/components/Dropdown.tsx +++ b/components/Dropdown.tsx @@ -40,15 +40,15 @@ export default function Dropdown({
diff --git a/components/Headers/GNB.tsx b/components/Headers/GNB.tsx index fe9b812..e1a3ba0 100644 --- a/components/Headers/GNB.tsx +++ b/components/Headers/GNB.tsx @@ -1,12 +1,25 @@ import Link from 'next/link'; +import { useRouter } from 'next/router'; export default function GNB() { + const router = useRouter(); + + // 특정 페이지에 따라 스타일 변경 + const isWikiListPage = router.pathname === '/wikilist'; + const isBoardsPage = router.pathname === '/boards'; + return (
- + 위키목록 - + 자유게시판
diff --git a/components/Menu.tsx b/components/Menu.tsx index a2d738f..8be8d22 100644 --- a/components/Menu.tsx +++ b/components/Menu.tsx @@ -12,9 +12,10 @@ interface MenuProps { */ export default function Menu({ options, onSelect, menuSize }: MenuProps) { + const fadeIn = 'pc:animate-pcFadeIn tamo:animate-tamoFadeIn'; return (