Skip to content

Commit 8fdcffe

Browse files
committed
feat(web): add subsections to overview docs page
1 parent 65de2fd commit 8fdcffe

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

apps/web/src/components/layouts/docs-layout.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ const docsSections: DocsSection[] = [
5858
href: "/docs/overview",
5959
icon: BookOpen,
6060
badge: "Start here",
61+
subsections: [
62+
{ title: "Core Features", href: "#core-features" },
63+
{ title: "Quick Start", href: "#quick-start" },
64+
{ title: "Technology Stack", href: "#technology-stack" },
65+
{ title: "What's Next?", href: "#whats-next" },
66+
],
6167
},
6268
{
6369
title: "Workflows",

apps/web/src/pages/docs/overview-page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function DocsOverviewPage() {
1212

1313
return (
1414
<div className="prose prose-neutral dark:prose-invert max-w-none">
15-
<h2>Core Features</h2>
15+
<h2 id="core-features">Core Features</h2>
1616

1717
<h3>🎨 Visual Workflow Editor</h3>
1818
<p>
@@ -59,7 +59,7 @@ export function DocsOverviewPage() {
5959
<li>Webhook integrations</li>
6060
</ul>
6161

62-
<h2>Quick Start</h2>
62+
<h2 id="quick-start">Quick Start</h2>
6363
<p>Get started with Dafthunk in just a few steps:</p>
6464
<ol>
6565
<li>
@@ -91,7 +91,7 @@ export function DocsOverviewPage() {
9191
</Button>
9292
</div>
9393

94-
<h2>Technology Stack</h2>
94+
<h2 id="technology-stack">Technology Stack</h2>
9595
<table>
9696
<thead>
9797
<tr>
@@ -127,7 +127,7 @@ export function DocsOverviewPage() {
127127
</tbody>
128128
</table>
129129

130-
<h2>What's Next?</h2>
130+
<h2 id="whats-next">What's Next?</h2>
131131
<ul>
132132
<li>
133133
<Link to="/docs/workflows">Create your first workflow</Link>

0 commit comments

Comments
 (0)