diff --git a/src/components/DocsSidebar.astro b/src/components/DocsSidebar.astro new file mode 100644 index 0000000..0f02608 --- /dev/null +++ b/src/components/DocsSidebar.astro @@ -0,0 +1,49 @@ +--- +export interface Props { + active: string; +} +const { active } = Astro.props; + +const sections = [ + { + title: 'Getting Started', + links: [{ href: '/docs/quickstart.html', label: 'Quickstart' }], + }, + { + title: 'Core Concepts', + links: [ + { href: '/docs/concepts.html', label: 'Contracts' }, + { href: '/docs/architecture.html', label: 'Architecture' }, + ], + }, + { + title: 'Guides', + links: [ + { href: '/docs/guides.html', label: 'All Guides' }, + { href: '/docs/guides/mcp-setup.html', label: 'MCP Setup' }, + { href: '/docs/guides/react-integration.html', label: 'React Integration' }, + ], + }, + { + title: 'Reference', + links: [ + { href: '/docs/cli-reference.html', label: 'CLI Reference' }, + { href: '/docs/troubleshooting.html', label: 'Troubleshooting' }, + { href: '/examples.html', label: 'Examples' }, + { href: '/changelog.html', label: 'Changelog' }, + ], + }, +]; +--- + diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 738771d..4aa2536 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -17,8 +17,8 @@
@@ -26,17 +26,17 @@
diff --git a/src/components/Nav.astro b/src/components/Nav.astro index c96ba77..022a878 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -144,14 +144,14 @@ const { currentPath = '' } = Astro.props;
- +