import React from "react"; import Link from "next/link"; import { CategoryNav } from "./_components/CategoryNav"; import { publications, patents } from "../../content/publications"; import { PUB_CATEGORIES } from "../../content/categories"; export default function PublicationsIndexPage() { const allRecords = [ ...publications.map((p) => ({ ...p, type: "paper" as const })), ...patents.map((p) => ({ category: "patent" as const, title: p.title, venue: `발명자: ${p.inventors} (출원번호: ${p.applicationNo})`, volume: p.registrationNo ? `등록번호: ${p.registrationNo}` : `출원국가: ${p.country}`, publishedAt: p.publishedAt, type: "patent" as const, })), ]; // Sort by publishedAt descending const sortedRecords = [...allRecords].sort( (a, b) => new Date(b.publishedAt).getTime() - new Date(a.publishedAt).getTime() ); const recentRecords = sortedRecords.slice(0, 10); const getCategoryCount = (slug: string) => { if (slug === "patent") return patents.length; return publications.filter((p) => p.category === slug).length; }; return (
국제·국내 우수 학술지 및 학술대회 논문 148건과 특허 75건 등 총 {allRecords.length}건의 실측 연구 성과 카탈로그입니다.
{cat.desc}