Skip to content

Commit 54365a1

Browse files
committed
add docs to header and footer, add sdk npm link to footer
1 parent 4ae4345 commit 54365a1

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

src/components/marketing/footer.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,22 @@ const footerData: FooterColumn[] = [
1919
links: [
2020
{ href: '/#benefits', label: 'Product' },
2121
{ href: routes.marketing.roadmap(), label: 'Roadmap' },
22+
{ href: routes.docs.home, label: 'Docs' },
2223
{ href: '/#how-it-works', label: 'How It Works' },
2324
{ href: '/#pricing', label: 'Pricing' },
2425
{ href: '/#faq', label: 'FAQ' },
2526
],
2627
},
2728
{
2829
title: 'Resources',
29-
links: [{ href: routes.external.github, label: 'GitHub', external: true }],
30+
links: [
31+
{ href: routes.external.github, label: 'GitHub', external: true },
32+
{
33+
href: routes.external.npm,
34+
label: 'NPM',
35+
external: true,
36+
},
37+
],
3038
},
3139
{
3240
title: 'Legal',

src/components/marketing/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ export const Header = () => {
5858
Product
5959
</Link>
6060
<Link
61-
href="/#how-it-works"
61+
href={routes.docs.home}
6262
className="text-sm font-medium text-foreground/70 hover:text-foreground"
6363
>
64-
How It Works
64+
Docs
6565
</Link>
6666
<Link
6767
href="/#pricing"

src/utils/routes.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const routes = {
88
roadmap: (proposeModal?: boolean) => `/roadmap${proposeModal ? '?proposeModal=true' : ''}`,
99
roadmapItem: (itemSlug: string) => `/roadmap/${itemSlug}`,
1010
},
11+
docs: {
12+
home: '/docs',
13+
},
1114
studio: {
1215
home: '/studio',
1316
organization: (organizationUuid: string) => `/studio/organization/${organizationUuid}`,
@@ -68,6 +71,7 @@ export const routes = {
6871
error: (message: string) => `/error?message=${encodeURIComponent(message)}`,
6972
external: {
7073
github: 'https://github.com/chad-syntax/agentsmith',
74+
npm: 'https://www.npmjs.com/package/@agentsmith-app/sdk',
7175
stripe: {
7276
checkout: {
7377
proAlphaClub:

0 commit comments

Comments
 (0)