From 674fe965550444db87edc7937ff6932e1a918d9d Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Fri, 27 Jun 2025 23:39:31 +0900
Subject: feat(meta): rename vhosts/ directory to services/

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

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

diff --git a/services/blog/nuldoc-src/pages/AtomPage.tsx b/services/blog/nuldoc-src/pages/AtomPage.tsx
new file mode 100644
index 00000000..21c3bfaf
--- /dev/null
+++ b/services/blog/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

