Skip to content

Commit d4ff4ff

Browse files
committed
content nudges
1 parent 7d98041 commit d4ff4ff

File tree

8 files changed

+42
-20
lines changed

8 files changed

+42
-20
lines changed
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
title: Animation Examples
3-
description: A reference page in my new Starlight docs site.
2+
title: Animations
3+
description: Todo
44
---
+2-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
---
2-
title: Button Example
3-
description: A reference page in my new Starlight docs site.
4-
sidebar:
5-
label: Custom button example label
6-
order: 1
7-
badge:
8-
text: New
9-
variant: tip
2+
title: Buttons
3+
description: Todo
104
---
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
title: Cards Example
3-
description: A reference page in my new Starlight docs site.
2+
title: Cards
3+
description: Todo
44
---
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Frameworks
3-
description: A reference page in my new Starlight docs site.
3+
description: Todo
44
---
55

66
https://stackblitz.com/@argyleink/collections/open-props
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
title: Hero Example
2+
title: Hero
33
description: A reference page in my new Starlight docs site.
44
---

docs/src/content/docs/index.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,19 @@ import { Card, CardGrid } from '@astrojs/starlight/components'
3232
## Next steps
3333

3434
<CardGrid stagger>
35-
<Card title="Update content" icon="pencil">
35+
<Card title="Principles" icon="pencil">
36+
What's the vision?
37+
</Card>
38+
<Card title="Good Practices" icon="pencil">
39+
lorem ...
40+
</Card>
41+
<Card title="Why?" icon="pencil">
3642
Edit `src/content/docs/index.mdx` to see this page change.
3743
</Card>
38-
<Card title="Add new content" icon="add-document">
44+
<Card title="Less tech debt" icon="pencil">
45+
It's my debt
46+
</Card>
47+
<Card title="Continuity" icon="add-document">
3948
Add Markdown or MDX files to `src/content/docs` to create new pages.
4049
</Card>
4150
<Card title="Configure your site" icon="setting">

docs/src/content/docs/playground.mdx

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Playground
3+
tableOfContents: false
4+
prev: false
5+
next: false
6+
---
7+
8+
<iframe
9+
height="500"
10+
style="block-size: 75dvh; inline-size: 100%;"
11+
scrolling="no"
12+
title="Open Props - oklch colors v2 config"
13+
src="https://codepen.io/argyleink/embed/xxMWoOz?default-tab=css%2Cresult&editable=true"
14+
frameborder="no"
15+
loading="lazy"
16+
allowtransparency="true"
17+
allowfullscreen="true"
18+
></iframe>

docs/src/sidebar.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default [
2-
{ label: 'Playground', link: '#' },
2+
{ label: 'Playground', link: '/playground/' },
33
{
44
label: 'Examples',
55
collapsed: true,
@@ -12,8 +12,9 @@ export default [
1212
label: 'Get Started',
1313
link: '/guides/get-started/',
1414
},
15+
{ label: 'Customizing', link: '/guides/customizing/' },
1516
{
16-
label: 'Setup',
17+
label: 'Tooling',
1718
collapsed: true,
1819
items: [
1920
{ label: 'Editor', link: '/guides/editor/' },
@@ -22,12 +23,12 @@ export default [
2223
{ label: 'CDN', link: '/guides/cdn/' },
2324
],
2425
},
25-
{ label: 'Customizing', link: '/guides/customizing/' },
2626
],
2727
},
2828
{
2929
label: 'Shop Props',
30-
autogenerate: { directory: 'props', collapsed: true },
30+
collapsed: true,
31+
autogenerate: { directory: 'props' },
3132
},
3233
{
3334
label: 'Prop Packs',

0 commit comments

Comments
 (0)