Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/style-guide/components/asides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Asides
---

Asides are a built-in component provided by [Starlight](https://starlight.astro.build/guides/components/#asides). Although there are more options, use only the ones below.
Asides are a built-in component provided by [Starlight](https://starlight.astro.build/components/asides/). Although there are more options, use only the ones below.

## Note

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/style-guide/components/badges.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Badges

import { Badge } from "~/components";

Badges are a built-in component provided by [Starlight](https://starlight.astro.build/guides/components/#bades). Use them to indicate a product is in beta, for example.
Badges are a built-in component provided by [Starlight](https://starlight.astro.build/components/badges/). Use them to indicate a product is in beta, for example.

## Component

Expand Down
26 changes: 14 additions & 12 deletions src/content/docs/style-guide/components/cards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
title: Cards
---

Cards are a built-in component provided by [Starlight](https://starlight.astro.build/guides/components/#cards).
Cards are a built-in component provided by [Starlight](https://starlight.astro.build/components/cards/).

## Cards

```mdx live
import { Card } from '~/components';
import { Card } from "~/components";

<Card title="Check this out" icon="puzzle">
Interesting content you want to highlight.
Interesting content you want to highlight.
</Card>
```

Expand All @@ -20,22 +20,24 @@ import { Card } from '~/components';
import { ListCard } from "~/components";

<ListCard title="Links" icon="puzzle">
- foo
- bar
- baz

Copy link
Contributor Author

@pedrosousa pedrosousa Feb 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must add an empty line, or else prettier will put everything together in the same line.

- foo
- bar
- baz

</ListCard>
```

## Link title cards

```mdx live
import { LinkTitleCard } from '~/components';
import { LinkTitleCard } from "~/components";

<LinkTitleCard
title="Check this out"
icon="puzzle"
href="/style-guide/components/cards/"
title="Check this out"
icon="puzzle"
href="/style-guide/components/cards/"
>
Interesting content you want to highlight.
Interesting content you want to highlight.
</LinkTitleCard>
```
```
4 changes: 2 additions & 2 deletions src/content/docs/style-guide/components/file-tree.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: File tree
---

File tree is a built-in component provided by [Starlight](https://starlight.astro.build/guides/components/#file-tree).
File tree is a built-in component provided by [Starlight](https://starlight.astro.build/components/file-tree/).

```mdx live
import { FileTree } from "~/components"
Expand All @@ -14,4 +14,4 @@ import { FileTree } from "~/components"
- components
- **file-tree.mdx**
</FileTree>
```
```
Loading