diff --git a/src/components/Carousel.astro b/src/components/Carousel.astro new file mode 100644 index 0000000..ec61236 --- /dev/null +++ b/src/components/Carousel.astro @@ -0,0 +1,102 @@ +--- +const { items, class: className } = Astro.props; +--- + +
+ + + + +
+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 0c9a1b4..fdd86a3 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" }, +]; --- @@ -798,16 +806,7 @@ import { - - +