From 57315c52be96d2a2c013f0cfb0de5429980e301a Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sun, 2 Nov 2025 17:49:34 +0900
Subject: refactor(blog): rename directory, services/{blog => nuldoc}/

---
 services/nuldoc/nuldoc-src/pages/AtomPage.tsx | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 services/nuldoc/nuldoc-src/pages/AtomPage.tsx

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

diff --git a/services/nuldoc/nuldoc-src/pages/AtomPage.tsx b/services/nuldoc/nuldoc-src/pages/AtomPage.tsx
new file mode 100644
index 0000000..21c3bfa
--- /dev/null
+++ b/services/nuldoc/nuldoc-src/pages/AtomPage.tsx
@@ -0,0 +1,26 @@
+import { Feed } from "../generators/atom.ts";
+
+export default function AtomPage({ feed }: { feed: Feed }) {
+  return (
+    <feed xmlns="http://www.w3.org/2005/Atom">
+      <id>{feed.id}</id>
+      <title>{feed.title}</title>
+      <link rel="alternate" href={feed.linkToAlternate} />
+      <link rel="self" href={feed.linkToSelf} />
+      <author>
+        <name>{feed.author}</name>
+      </author>
+      <updated>{feed.updated}</updated>
+      {feed.entries.map((entry) => (
+        <entry>
+          <id>{entry.id}</id>
+          <link rel="alternate" href={entry.linkToAlternate} />
+          <title>{entry.title}</title>
+          <summary>{entry.summary}</summary>
+          <published>{entry.published}</published>
+          <updated>{entry.updated}</updated>
+        </entry>
+      ))}
+    </feed>
+  );
+}
-- 
cgit v1.2.3-70-g09d2

