You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 76c95a8
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: frontend/purestack.studio/components/actions/alert-box/alert-box.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,14 +18,14 @@ nav:
18
18
## In context
19
19
20
20
<ComponentExamplelabel="A complete message"caption="Every content feature is visible: eyebrow, title, badge, icon, body, metadata, and the actions slot.">
21
-
<divclass="component-recipe"><AlertBoxtone="info"variant="spotlight"eyebrow="DESIGN SYSTEM"title="Make feedback useful"badge="Tip"icon="lucide:check"meta="Semantic tones adapt to light and dark themes."><p>Explain what happened, why it matters, and what the reader can do next.</p><template#actions><BtnLinkhref="/guides/semantic-tones/"tone="info"variant="outline">Explore semantic tones</BtnLink></template></AlertBox></div>
21
+
<divclass="component-recipe"><AlertBoxtone="info"variant="spotlight"eyebrow="DESIGN SYSTEM"title="Make feedback useful"badge="Tip"icon="lucide:check"meta="Semantic tones adapt to light and dark themes."><p>Explain what happened, why it matters, and what the reader can do next.</p><template#actions><BtnLinkhref="/guides/styling/semantic-tones/"tone="info"variant="outline">Explore semantic tones</BtnLink></template></AlertBox></div>
22
22
</ComponentExample>
23
23
24
24
```html
25
25
<AlertBoxtone="info"variant="spotlight"eyebrow="DESIGN SYSTEM"title="Make feedback useful"badge="Tip"icon="lucide:check"meta="Semantic tones adapt to light and dark themes.">
26
26
<p>Explain what happened, why it matters, and what the reader can do next.</p>
Copy file name to clipboardExpand all lines: frontend/purestack.studio/components/actions/btn-link/btn-link.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,15 @@ Use BtnLink to navigate to a page, a section, or an external destination. For an
20
20
## In context
21
21
22
22
<ComponentExamplelabel="A useful destination"caption="These are real links. Use the keyboard or your browser’s open-in-new-tab action to follow them.">
23
-
<divclass="component-recipe"><Badgetone="feature">START HERE</Badge><h3>Build your first interface</h3><p>Learn how static content and interactive components fit together.</p><BtnGroup:wrap="true"><BtnLinkhref="/guides/regor/"tone="accent">Explore Regor</BtnLink><BtnLinkhref="/components/"variant="outline">Browse components</BtnLink></BtnGroup></div>
23
+
<divclass="component-recipe"><Badgetone="feature">START HERE</Badge><h3>Build your first interface</h3><p>Learn how static content and interactive components fit together.</p><BtnGroup:wrap="true"><BtnLinkhref="/guides/extending/regor/"tone="accent">Explore Regor</BtnLink><BtnLinkhref="/components/"variant="outline">Browse components</BtnLink></BtnGroup></div>
24
24
</ComponentExample>
25
25
26
26
```html
27
27
<Badgetone="feature">START HERE</Badge>
28
28
<h3>Build your first interface</h3>
29
29
<p>Learn how static content and interactive components fit together.</p>
Copy file name to clipboardExpand all lines: frontend/purestack.studio/guides/content/links.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ nav:
13
13
14
14
# Links
15
15
16
-
Write a link the way you see your files. PureStack turns it into the right address and checks it every time the site builds, so a renamed or deleted page or image never leaves a broken link behind.
16
+
Write local links relative to the source file. PureStack resolves them to public URLs and fails the build when the target page or asset is missing. Root-relative public URLs, external destinations, and fragment IDs have different validation rules, described below.
17
17
18
18
## Link to another page
19
19
@@ -53,7 +53,7 @@ Add `#` and the section name after the page:
53
53
[Back to the top](#links)
54
54
```
55
55
56
-
A section name is its heading in lowercase, with hyphens between the words. The heading "Create a skin" becomes `#create-a-skin`. Try it: [create a skin](./themes#create-a-skin).
56
+
A section name is its heading in lowercase, with hyphens between the words. The heading "Create a skin" becomes `#create-a-skin`. Try it: [create a skin](../styling/themes#create-a-skin).
57
57
58
58
PureStack checks that the page exists, not the section, so double-check section names after you rename a heading.
59
59
@@ -103,9 +103,9 @@ Anything that starts with `/` or a protocol is used as written:
103
103
104
104
PureStack doesn't check these links, because the pages behind them aren't part of your content folder.
105
105
106
-
You can link your own pages this way too, as in `/guides/themes/`, but a relative link is the better habit: if that page moves, the build tells you.
106
+
You can link your own pages this way too, as in `/guides/styling/themes/`, but a relative link is the better habit: if that page moves, the build tells you.
107
107
108
-
If the site lives under a base path, such as `/docs`, PureStack adds it to every link for you. Set it once in the [site configuration](./site-config).
108
+
If the site lives under a base path, such as `/docs`, PureStack adds it to every link for you. Set it once in the [site configuration](../getting-started/site-config).
0 commit comments