fix: extract domestic paper titles cleanly without quotes and remove All Overview tab from Publications
This commit is contained in:
@@ -9,7 +9,7 @@ import ThemeToggle from "./ThemeToggle";
|
||||
const navItems = [
|
||||
{ href: "/", ko: "홈", en: "Home", no: "01" },
|
||||
{ href: "/members", ko: "구성원", en: "Members", no: "02" },
|
||||
{ href: "/publications", ko: "논문", en: "Publications", no: "03" },
|
||||
{ href: "/publications/intl-journal-conf", ko: "논문", en: "Publications", no: "03" },
|
||||
{ href: "/lectures", ko: "강의", en: "Lectures", no: "04" },
|
||||
{ href: "/standardization", ko: "표준화", en: "Standardization", no: "05" },
|
||||
];
|
||||
@@ -22,7 +22,7 @@ export default function Header() {
|
||||
pathname
|
||||
? href === "/"
|
||||
? pathname === "/"
|
||||
: pathname === href || pathname.startsWith(`${href}/`)
|
||||
: pathname === href || pathname.startsWith(`${href}/`) || (href.startsWith("/publications") && pathname.startsWith("/publications"))
|
||||
: false;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user