summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIwanIDev <iwan@iwani.dev>2026-03-21 15:50:35 +0000
committerIwanIDev <iwan@iwani.dev>2026-03-21 15:50:35 +0000
commit76da48766c562c43a65db4e25030ea3acb16d34c (patch)
treedff686cc20b536e0aef90485648e676e23035430 /src
parent42ca90ee1f0aadaa09888f1c9627657abcd866b2 (diff)
feat: integrate Openring for webring section and update related files
Diffstat (limited to 'src')
-rw-r--r--src/components/OpenRing.astro7
-rw-r--r--src/pages/index.astro5
2 files changed, 11 insertions, 1 deletions
diff --git a/src/components/OpenRing.astro b/src/components/OpenRing.astro
new file mode 100644
index 0000000..8fbbf37
--- /dev/null
+++ b/src/components/OpenRing.astro
@@ -0,0 +1,7 @@
+---
+import openringHtml from "../../openring/out.html?raw";
+---
+
+<div class="w-full max-w-2xl mx-auto p-4">
+ <Fragment set:html={openringHtml} />
+</div>
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 9d04eae..5f7af3f 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -1,7 +1,7 @@
---
import Layout from "@/layouts/main.astro"
-import { Button } from "@/components/ui/button"
import BlogPosts from "@/components/BlogPosts.astro"
+import OpenRing from "@/components/OpenRing.astro"
---
<Layout>
@@ -17,6 +17,9 @@ import BlogPosts from "@/components/BlogPosts.astro"
<!-- Content -->
<!-- List Astro posts -->
<BlogPosts />
+
+ <!-- Render openring output -->
+ <OpenRing />
</main>
</Layout>