-
-
+
+ {#if arrows}
+
+ <
+ {/if}
+
+ {#if arrows}
+
+ >
+
+ {/if}
- {#if arrows}
-
- >
-
+ {#if dots}
+
+
+
{/if}
@@ -161,6 +189,12 @@
.main-container {
display: flex;
width: 100%;
+ flex-direction: column;
+ align-items: center;
+ }
+ .carousel-container {
+ display: flex;
+ width: 100%;
}
.content-container {
flex: 1;
diff --git a/src/stories/ImageCarouselView.svelte b/src/ImageCarousel/ImageCarouselView.svelte
similarity index 91%
rename from src/stories/ImageCarouselView.svelte
rename to src/ImageCarousel/ImageCarouselView.svelte
index a4de909..79f5b33 100644
--- a/src/stories/ImageCarouselView.svelte
+++ b/src/ImageCarousel/ImageCarouselView.svelte
@@ -1,5 +1,5 @@
+
+
+
+ {#each colors as color (color)}
+
+ {/each}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/stories/ImageCarousel.stories.js b/src/stories/ImageCarousel.stories.js
deleted file mode 100644
index 25b1795..0000000
--- a/src/stories/ImageCarousel.stories.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import ImageCarouselView from './ImageCarouselView.svelte';
-
-export default {
- title: 'ImageCarousel',
- component: ImageCarouselView,
- argTypes: {
- arrows: { control: 'boolean' },
- },
-};
-
-const Template = ({ ...args }) => ({
- Component: ImageCarouselView,
- props: args,
-});
-
-export const Primary = Template.bind({});
-Primary.args = {
- arrows: true
-};