From 348618306be454214632716143bbb1ef98ecff7f Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Sun, 23 Nov 2025 17:37:08 +0100 Subject: [PATCH] feat: pagination --- astro.config.mjs | 7 ++++--- src/components/Pagination.astro | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 src/components/Pagination.astro diff --git a/astro.config.mjs b/astro.config.mjs index 8a5ab39..28c5051 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -22,9 +22,10 @@ export default defineConfig({ }, ], components: { - TableOfContents: "./src/components/TableOfContents.astro" - // TableOfContents: "./src/components/TableOfContentsAbove.astro" - // TableOfContents: "./src/components/TableOfContentsFlexbox.astro" + TableOfContents: "./src/components/TableOfContents.astro", + // TableOfContents: "./src/components/TableOfContentsAbove.astro", + // TableOfContents: "./src/components/TableOfContentsFlexbox.astro", + Pagination: "./src/components/Pagination.astro" } }), ], diff --git a/src/components/Pagination.astro b/src/components/Pagination.astro new file mode 100644 index 0000000..f1cc039 --- /dev/null +++ b/src/components/Pagination.astro @@ -0,0 +1,20 @@ +--- +import Default from "@astrojs/starlight/components/Pagination.astro"; +import Card from "./Card.astro"; +--- + + +
+ +
+ + -- 2.51.2