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

---
 .../nuldoc-src/components/SlidePageEntry.tsx       | 46 ----------------------
 1 file changed, 46 deletions(-)
 delete mode 100644 services/nuldoc/nuldoc-src/components/SlidePageEntry.tsx

(limited to 'services/nuldoc/nuldoc-src/components/SlidePageEntry.tsx')

diff --git a/services/nuldoc/nuldoc-src/components/SlidePageEntry.tsx b/services/nuldoc/nuldoc-src/components/SlidePageEntry.tsx
deleted file mode 100644
index 2401765..0000000
--- a/services/nuldoc/nuldoc-src/components/SlidePageEntry.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-import {
-  getPostPublishedDate,
-  getPostUpdatedDate,
-  postHasAnyUpdates,
-} from "../generators/post.ts";
-import { SlidePage } from "../generators/slide.ts";
-import { dateToString } from "../revision.ts";
-import { Config } from "../config.ts";
-import TagList from "./TagList.tsx";
-
-type Props = { slide: SlidePage; config: Config };
-
-export default function SlidePageEntry({ slide, config }: Props) {
-  return (
-    <article className="post-entry">
-      <a href={slide.href}>
-        <header className="entry-header">
-          <h2>{slide.description}</h2>
-        </header>
-        <section className="entry-content">
-          <p>{slide.title}</p>
-        </section>
-        <footer className="entry-footer">
-          <time datetime={dateToString(getPostPublishedDate(slide))}>
-            {dateToString(getPostPublishedDate(slide))}
-          </time>
-          {" 登壇"}
-          {
-            // TODO(jsx): support Fragment and merge them.
-            postHasAnyUpdates(slide) && "、"
-          }
-          {postHasAnyUpdates(slide) &&
-            (
-              <time datetime={dateToString(getPostUpdatedDate(slide))}>
-                {dateToString(getPostUpdatedDate(slide))}
-              </time>
-            )}
-          {postHasAnyUpdates(slide) && " 更新"}
-          {slide.tags.length !== 0 && (
-            <TagList tags={slide.tags} config={config} />
-          )}
-        </footer>
-      </a>
-    </article>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

