From aea720f5fb159498d744b65400b5134eeb3634fc Mon Sep 17 00:00:00 2001 From: Sebastian Dauenhauer Date: Thu, 1 Oct 2026 22:49:07 +0200 Subject: [PATCH 1/2] Add accessible image lightbox to documentation --- astro.config.mjs | 1 + src/components/Footer.astro | 7 +++ src/components/ImageLightbox.astro | 80 ++++++++++++++++++++++++++++++ src/styles/custom.css | 41 +++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 src/components/Footer.astro create mode 100644 src/components/ImageLightbox.astro diff --git a/astro.config.mjs b/astro.config.mjs index 944a2b0..1c915c3 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -42,6 +42,7 @@ export default defineConfig({ }, }), starlight({ + components: { Footer: './src/components/Footer.astro' }, title: "Fancy Mumble", description: "Documentation for the Fancy Mumble app and Starling server. Voice chat reimagined for 2026.", diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..83ee952 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,7 @@ +--- +import Footer from '@astrojs/starlight/components/Footer.astro'; +import ImageLightbox from './ImageLightbox.astro'; +--- + +