small cleanup for oxford comma and our standard lorem ipsum

This commit is contained in:
hobbes7878 2025-03-12 11:24:35 +00:00
parent d54a407a5b
commit 6733906f59
Failed to extract signature
2 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@ import * as InfoBoxStories from './InfoBox.stories.svelte';
# InfoBox
The `InfoBox` component creates a stylised text box that provides additional information that needs to be visually separate from the main content flow, such as methodology, detailed notes about data, and extra context.
The `InfoBox` component creates a stylised text box that provides additional information that needs to be visually separate from the main content flow, such as methodology, detailed notes about data and extra context.
```svelte
<script>
@ -24,7 +24,7 @@ The `InfoBox` component creates a stylised text box that provides additional inf
## Using with ArchieML docs
With the Graphics Kit, you'll likely get your text value from an ArchieML doc...
With the graphics kit, you'll likely get your text value from an ArchieML doc...
```yaml
# Archie ML doc
@ -114,7 +114,7 @@ Use [snippets](https://svelte.dev/docs/svelte/snippet) to customise the `InfoBox
{/snippet}
<!-- Optional custom footer -->
{#snippet updated()}
<em>Source: Precedence Research</em>
<div class="text-xs font-note">Source: Precedence Research</div>
{/snippet}
</InfoBox>
```

View file

@ -22,7 +22,7 @@
<Story name="Demo">
<BodyText
text="If you haven't seen Game of Thrones, go watch it right now. If you have then you'll totally get why this Hodor themed lorem ipsum generator is just brilliant."
text="Bacon ipsum dolor amet turducken buffalo beef ribs bresaola pancetta ribeye pork belly doner hamburger biltong cupim porchetta chuck ham tenderloin. Turducken bresaola jerky chicken."
/>
<InfoBox
title="About this data"
@ -30,7 +30,7 @@
notes={'[Read more about our methodology](https://www.reuters.com/world-coronavirus-tracker-and-maps/en/methodology/)'}
/>
<BodyText
text="In case you don't read Twitter, the news, or just can't get enough of The Apprentice host's legendary oration, try this Trump lorem ipsum generator on for size."
text="Ham drumstick tail ribeye pancetta, leberkas hamburger chicken spare ribs buffalo jerky sausage ground round meatball. Leberkas kevin short loin, tri-tip shank spare ribs buffalo beef pork belly corned beef chislic tongue."
/>
</Story>
<Story
@ -71,7 +71,7 @@
</table>
{/snippet}
{#snippet footer()}
<em>Source: Precedence Research</em>
<div class="text-xs font-note">Source: Precedence Research</div>
{/snippet}
</InfoBox>
</Story>