"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { useState } from "react"; import ThemeToggle from "./ThemeToggle"; // CUSTOMIZATION HOOK: edit nav labels / routes here. const navItems = [ { href: "/", ko: "홈", en: "Home", no: "01" }, { href: "/members", ko: "구성원", en: "Members", no: "02" }, { href: "/publications/intl-journal-conf", ko: "논문", en: "Publications", no: "03" }, { href: "/lectures", ko: "강의", en: "Lectures", no: "04" }, { href: "/standardization", ko: "표준화", en: "Standardization", no: "05" }, ]; export default function Header() { const [open, setOpen] = useState(false); const pathname = usePathname(); const isActive = (href: string) => pathname ? href === "/" ? pathname === "/" : pathname === href || pathname.startsWith(`${href}/`) || (href.startsWith("/publications") && pathname.startsWith("/publications")) : false; return (
{/* Journal issue strip — magazine masthead feel. */}
Issue 01 — 2026 {/* CUSTOMIZATION HOOK: masthead tagline */} Kyungpook National University · School of Computer Science & Engineering 대구 · Daegu
{/* Brand logo — explicit right margin to guarantee clear separation from 01 HOME */} setOpen(false)} > AI 에이전트 네트워크 연구실 AI Agent Networking Lab (ANL) {/* Desktop nav — small caps, wide tracking (visible at >= 1240px) */}
{/* Mobile controls (visible under 1240px) */}
{/* Mobile menu panel */} {open && ( )}
); }