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/nuldoc-src/components/PostPageEntry.tsx | 46 ----------------------
 1 file changed, 46 deletions(-)
 delete mode 100644 services/nuldoc/nuldoc-src/components/PostPageEntry.tsx

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

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

