diff --git a/app/components/TopNav.tsx b/app/components/TopNav.tsx
index b4c5529..809a9b0 100644
--- a/app/components/TopNav.tsx
+++ b/app/components/TopNav.tsx
@@ -7,11 +7,8 @@ import { createClient } from '@/lib/supabase/client';
import type { User } from '@supabase/supabase-js';
const LINKS = [
- { href: '/', label: '홈' },
- { href: '/services/music/samples', label: '샘플' },
- { href: '/services/music', label: '팩 상세' },
- { href: '/studio', label: '스튜디오' },
- { href: '/freelance', label: '외주' },
+ { href: '/music', label: 'Music' },
+ { href: '/work', label: 'Custom Build' },
];
export default function TopNav() {
@@ -63,8 +60,7 @@ export default function TopNav() {
const isActive = (href: string) => {
if (href === '/') return pathname === '/';
- if (href === '/services/music') return pathname === '/services/music';
- return pathname.startsWith(href);
+ return pathname === href || pathname.startsWith(href + '/');
};
return (
@@ -147,7 +143,7 @@ export default function TopNav() {
로그인
@@ -230,7 +226,7 @@ export default function TopNav() {
로그인