diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/OpenRing.astro | 7 | ||||
| -rw-r--r-- | src/pages/index.astro | 5 |
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> |
