Skip to content

Commit 8eb407c

Browse files
committed
feat: update help page configuration to improve content structure and formatting
1 parent 02e1c68 commit 8eb407c

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

examples/kitchen-sink/objectstack.config.ts

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,24 +68,22 @@ export default defineStack({
6868
{
6969
name: 'help_page',
7070
label: 'Help Guide',
71-
type: 'utility',
71+
type: 'page',
7272
regions: [
7373
{
7474
name: 'main',
7575
components: [
7676
{
7777
type: 'container',
78-
properties: {
79-
className: 'prose max-w-none p-6 text-foreground bg-card rounded-lg border shadow-sm',
80-
children: [
81-
{ type: 'text', properties: { content: '# Application Guide', className: 'text-3xl font-bold mb-4 block' } },
82-
{ type: 'text', properties: { content: 'Welcome to the ObjectStack Console.', className: 'mb-4 block' } },
83-
{ type: 'text', properties: { content: '## Features', className: 'text-xl font-bold mb-2 block' } },
84-
{ type: 'text', properties: { content: '- Dynamic Object CRUD\n- Server-Driven Dashboards\n- Flexible Page Layouts', className: 'whitespace-pre-line block' } },
85-
{ type: 'text', properties: { content: '## Getting Started', className: 'text-xl font-bold mb-2 block mt-6' } },
86-
{ type: 'text', properties: { content: 'Navigate using the sidebar to explore different apps and objects.', className: 'mb-4 block' } }
87-
]
88-
}
78+
className: 'prose max-w-none p-6 text-foreground bg-card rounded-lg border shadow-sm',
79+
children: [
80+
{ type: 'text', value: '# Application Guide', className: 'text-3xl font-bold mb-4 block' },
81+
{ type: 'text', value: 'Welcome to the ObjectStack Console.', className: 'mb-4 block' },
82+
{ type: 'text', value: '## Features', className: 'text-xl font-bold mb-2 block' },
83+
{ type: 'text', value: '- Dynamic Object CRUD\n- Server-Driven Dashboards\n- Flexible Page Layouts', className: 'whitespace-pre-line block' },
84+
{ type: 'text', value: '## Getting Started', className: 'text-xl font-bold mb-2 block mt-6' },
85+
{ type: 'text', value: 'Navigate using the sidebar to explore different apps and objects.', className: 'mb-4 block' }
86+
]
8987
}
9088
]
9189
}

0 commit comments

Comments
 (0)