Skip to content

Commit c6826b3

Browse files
committed
use aside consistently across the files
1 parent 335d2ba commit c6826b3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/content/docs/docs/reference/layers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The Widgets layer is intended for large self-sufficient blocks of UI. Widgets ar
107107

108108
If a block of UI makes up most of the interesting content on a page, and is never reused, it **should not be a widget**, and instead it should be placed directly inside that page.
109109

110-
<Aside>
110+
<Aside type="note">
111111

112112
If you're using a nested routing system (like the router of [Remix][ext-remix]), it may be helpful to use the Widgets layer in the same way as a flat routing system would use the Pages layer — to create full router blocks, complete with related data fetching, loading states, and error boundaries.
113113

src/content/docs/docs/reference/public-api.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar:
44
order: 3
55
---
66

7-
import { FileTree } from '@astrojs/starlight/components';
7+
import { FileTree, Aside } from '@astrojs/starlight/components';
88

99
A public API is a _contract_ between a group of modules, like a slice, and the code that uses it. It also acts as a gate, only allowing access to certain objects, and only through that public API.
1010

@@ -55,11 +55,11 @@ import type { EntityA } from "entities/A/@x/B";
5555

5656
The notation `A/@x/B` is meant to be read as "A crossed with B".
5757

58-
:::note
58+
<Aside type="note">
5959

6060
Try to keep cross-imports to a minimum, and **only use this notation on the Entities layer**, where eliminating cross-imports is often unreasonable.
6161

62-
:::
62+
</Aside>
6363

6464
## Issues with index files
6565

0 commit comments

Comments
 (0)