From 0567703efb07eb04cae79a5fe27cff02e0aa2472 Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Mon, 10 Mar 2025 22:33:08 +0100 Subject: [PATCH] bootstrap sponsor section on landing page --- src/pages/index.astro | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/pages/index.astro b/src/pages/index.astro index efedc344e9..570f6d9eb5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -12,6 +12,7 @@ import InlineSVG from '../components/util/InlineSVG.astro'; const landingFeatures = await getCollection('landing-features'); const demos = await getEntry('landing', 'demos'); +const sponsors = await getEntry('sponsors', 'info'); const posts = await getCollection('blog'); posts .sort((a, b) => { @@ -123,6 +124,25 @@ posts +
+ + { + sponsors.data.items.map((item) => ( + + {item.alt} + + )) + } + +