diff --git a/histoire.config.js b/histoire.config.js index a4288f9..f29a781 100644 --- a/histoire.config.js +++ b/histoire.config.js @@ -2,5 +2,5 @@ import { defineConfig } from 'histoire'; import { HstSvelte } from '@histoire/plugin-svelte'; export default defineConfig({ - plugins: [HstSvelte()] + plugins: [HstSvelte()], }); diff --git a/src/lib/components/Campaigns.story.svelte b/src/lib/components/Campaigns.story.svelte new file mode 100644 index 0000000..44bd31c --- /dev/null +++ b/src/lib/components/Campaigns.story.svelte @@ -0,0 +1,13 @@ + + + + + + + diff --git a/src/lib/components/Campaigns.svelte b/src/lib/components/Campaigns.svelte new file mode 100644 index 0000000..bb94bd3 --- /dev/null +++ b/src/lib/components/Campaigns.svelte @@ -0,0 +1,40 @@ +
+
+
Campaigns
+ +
+ + {#each campaigns as campaign (campaign.name)} +
+ south_america +
+
{campaign.name}
+

chapter 2, second battle.

+
+ +
+ {/each} +
+ + + +