From 83b5a2a43101436e4088418f48c9b338c73ecf0c Mon Sep 17 00:00:00 2001 From: Magnus Madsen Date: Mon, 3 Aug 2026 06:59:38 +0200 Subject: [PATCH] feat: restore front-page VSCode carousel Co-Authored-By: Claude Fable 5 --- src/components/Carousel.astro | 97 +++++++++++++++++++++++++++++++++++ src/pages/index.astro | 19 ++++--- 2 files changed, 106 insertions(+), 10 deletions(-) create mode 100644 src/components/Carousel.astro diff --git a/src/components/Carousel.astro b/src/components/Carousel.astro new file mode 100644 index 0000000..504e41c --- /dev/null +++ b/src/components/Carousel.astro @@ -0,0 +1,97 @@ +--- +const { items, class: className } = Astro.props; +--- + +
+ + + + +
+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 85ed9a4..3feb74e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,7 @@ --- import Layout from "../layouts/Layout.astro"; import InlineEditor from "../components/InlineEditor.astro"; +import Carousel from "../components/Carousel.astro"; import { httpExample, adtExample, @@ -22,6 +23,13 @@ import { datalogExample, latticeExample, } from "../lib/indexExamples.js"; + +const vscodeSlides = [ + { src: "/images/vscode1.png", header: "Semantic Highlighting" }, + { src: "/images/vscode2.png", header: "Hover to Inspect" }, + { src: "/images/vscode3.png", header: "Highlight References" }, + { src: "/images/vscode4.png", header: "Inline Errors" }, +]; --- @@ -796,16 +804,7 @@ import { - - +