diff --git a/src/components/Scroller/stories/docs/ai2svelte.md b/src/components/Scroller/stories/docs/ai2svelte.md index 5b6ac9fd..15155203 100644 --- a/src/components/Scroller/stories/docs/ai2svelte.md +++ b/src/components/Scroller/stories/docs/ai2svelte.md @@ -40,85 +40,3 @@ A more detailed example of using `Scroller` with graphics created by [ai2svelte] embedded="{false}" /> ``` - -When working with a ArchieML doc, here's an example of how you can tie your text into your steps. - -```yaml -# Google doc block -Type: scroller -ID: map-scrolly -Step1Text: #### Step 1 - -Lorem Ipsum -:end -AltText1: A map showing the Upper West side in New York City. -:end - -Step2Text: #### Step 2 - -Lorem Ipsum -:end -AltText2: The same map now highlights 98th Street. -:end - -Step3Text: #### Step 3 - -Lorem Ipsum -:end -AltText3: The same map now highlights three locations near 98th Street where something particulary important happened. -:end -``` - -```svelte - - - -{#each content.blocks as block} - {#if block.Type === 'text'} - - - - {:else if block.Type === 'scroller' && block.ID === 'map-scrolly'} - - - {/if} -{/each} -``` diff --git a/src/components/Scroller/stories/docs/archieML.md b/src/components/Scroller/stories/docs/archieML.md index 1b4eda86..1f609d69 100644 --- a/src/components/Scroller/stories/docs/archieML.md +++ b/src/components/Scroller/stories/docs/archieML.md @@ -75,7 +75,7 @@ stackBackground: true stackBackground="{block.stackBackground === 'true'}" steps="{block.steps.map((step) => ({ background: aiCharts[step.background], - backgroundProps: assets || '/', + backgroundProps: { assetsPath: assets || '/' }, foreground: step.text, altText: step.altText, }))}"