diff --git a/src/components/Slideshow.svelte b/src/components/Slideshow.svelte new file mode 100644 index 0000000..11561e8 --- /dev/null +++ b/src/components/Slideshow.svelte @@ -0,0 +1,137 @@ + + +
+ {#if images.length} + {typeof + + {#if interactive && images.length > 1} + + + +
+ {#each images as _, i} + + {/each} +
+ {/if} + {/if} +
+ + diff --git a/src/components/index.js b/src/components/index.js index 69128f0..7629858 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -7,3 +7,4 @@ export { default as Section } from './layout/Section.svelte' export { default as Button } from './Button.svelte' export { default as Dropdown } from './Dropdown.svelte' +export { default as Slideshow } from './Slideshow.svelte'