fix: extract domestic paper titles cleanly without quotes and remove All Overview tab from Publications

This commit is contained in:
2026-07-30 23:04:06 +09:00
parent 764b6479ed
commit 22a31ff409
5 changed files with 90 additions and 233 deletions
@@ -8,21 +8,10 @@ interface CategoryNavProps {
totalCount?: number;
}
export function CategoryNav({ currentCategory, totalCount }: CategoryNavProps) {
export function CategoryNav({ currentCategory }: CategoryNavProps) {
return (
<div className="space-y-4">
<div className="flex flex-wrap items-center gap-2 border-b border-line pb-4">
<Link
href="/publications"
className={`px-4 py-2 rounded text-xs font-mono tracking-wider transition-colors ${
!currentCategory
? "bg-ink text-ivory font-bold"
: "bg-paper text-ink border border-line hover:border-ink"
}`}
>
All Overview {!currentCategory && totalCount ? `(${totalCount})` : ""}
</Link>
{PUB_CATEGORIES.map((cat) => {
const isActive = currentCategory === cat.slug;
return (