From d1014de68415df8f0a5dc3389332e086119c6198 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Thu, 27 Nov 2025 04:02:06 +0900
Subject: refactor(nuldoc): eliminate JSX

---
 services/nuldoc/nuldoc-src/pages/SlideListPage.tsx | 45 ----------------------
 1 file changed, 45 deletions(-)
 delete mode 100644 services/nuldoc/nuldoc-src/pages/SlideListPage.tsx

(limited to 'services/nuldoc/nuldoc-src/pages/SlideListPage.tsx')

diff --git a/services/nuldoc/nuldoc-src/pages/SlideListPage.tsx b/services/nuldoc/nuldoc-src/pages/SlideListPage.tsx
deleted file mode 100644
index dc216eb..0000000
--- a/services/nuldoc/nuldoc-src/pages/SlideListPage.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-import GlobalFooter from "../components/GlobalFooter.tsx";
-import GlobalHeader from "../components/SlidesGlobalHeader.tsx";
-import PageLayout from "../components/PageLayout.tsx";
-import SlidePageEntry from "../components/SlidePageEntry.tsx";
-import { Config } from "../config.ts";
-import { dateToString } from "../revision.ts";
-import { getPostPublishedDate } from "../generators/post.ts";
-import { SlidePage } from "../generators/slide.ts";
-
-export default function SlideListPage(
-  slides: SlidePage[],
-  config: Config,
-) {
-  const pageTitle = "スライド一覧";
-
-  return (
-    <PageLayout
-      metaCopyrightYear={config.site.copyrightYear}
-      metaDescription="登壇したイベントで使用したスライドの一覧"
-      metaTitle={`${pageTitle}｜${config.sites.slides.siteName}`}
-      metaAtomFeedHref={`https://${config.sites.slides.fqdn}/slides/atom.xml`}
-      site="slides"
-      config={config}
-    >
-      <body className="list">
-        <GlobalHeader config={config} />
-        <main className="main">
-          <header className="page-header">
-            <h1>{pageTitle}</h1>
-          </header>
-          {Array.from(slides).sort((a, b) => {
-            const ta = dateToString(getPostPublishedDate(a));
-            const tb = dateToString(getPostPublishedDate(b));
-            if (ta > tb) return -1;
-            if (ta < tb) return 1;
-            return 0;
-          }).map((slide) => (
-            <SlidePageEntry slide={slide} config={config} key={slide.uuid} />
-          ))}
-        </main>
-        <GlobalFooter config={config} />
-      </body>
-    </PageLayout>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

