Skip to content

Commit 54ee361

Browse files
author
Hanzo AI
committed
fix(shell): point nav links at pages that exist — bot nav 404s, docs api/cli/quickstart paths
1 parent e95d5f4 commit 54ee361

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

pkgs/ui/shell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hanzogui/shell",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "Unified Hanzo shell — HanzoHeader (flat + rich Products mega-menu), HanzoAppHeader, MeetHanzoMenu, ProductsMegaMenu, HanzoFooter, HanzoPreFooterCTA, AskHanzo, HanzoAppBar/Launcher + the canonical surface registry",
55
"source": "src/index.ts",
66
"files": [

pkgs/ui/shell/src/hanzo-registry.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ export const U = {
134134

135135
// Developers / resources
136136
docs: 'https://docs.hanzo.ai',
137-
apiRef: 'https://docs.hanzo.ai/api-reference',
138-
cliRef: 'https://docs.hanzo.ai/cli',
139-
quickstarts: 'https://docs.hanzo.ai/quickstart',
137+
apiRef: 'https://docs.hanzo.ai/docs/api',
138+
cliRef: 'https://docs.hanzo.ai/docs/cli',
139+
quickstarts: 'https://docs.hanzo.ai/docs/getting-started',
140140
learn: 'https://hanzo.ai/learn',
141141
// Community = the hub for everything built on Hanzo: templates + apps shipped on
142142
// hanzo.app + the hanzo-apps GitHub org. Lives on hanzo.app (the builder), which
@@ -623,10 +623,13 @@ export const HANZO_SURFACES: HanzoSurface[] = [
623623
productId: 'bot',
624624
brandName: 'Hanzo Bot',
625625
localNav: [
626-
{ id: 'product', label: 'Product', href: `${U.bot}/product` },
627-
{ id: 'channels', label: 'Channels', href: `${U.bot}/channels` },
628-
{ id: 'templates', label: 'Templates', href: `${U.bot}/templates` },
626+
// These point at hanzo.bot's real pages. /product, /channels and
627+
// /templates never existed there, so the header shipped three 404s;
628+
// the site calls the same things platform, integrations and skills.
629+
{ id: 'platform', label: 'Platform', href: `${U.bot}/platform` },
630+
{ id: 'skills', label: 'Skills', href: `${U.bot}/skills` },
629631
{ id: 'integrations', label: 'Integrations', href: `${U.bot}/integrations` },
632+
{ id: 'showcase', label: 'Showcase', href: `${U.bot}/showcase` },
630633
{ id: 'pricing', label: 'Pricing', href: U.pricing },
631634
],
632635
secondaryCTA: { id: 'docs', label: 'Documentation', href: U.docs },
@@ -635,7 +638,7 @@ export const HANZO_SURFACES: HanzoSurface[] = [
635638
heading: 'Put an intelligent agent in every channel',
636639
actions: [
637640
{ id: 'createbot', label: 'Create bot', href: U.bot },
638-
{ id: 'channels', label: 'View channels', href: `${U.bot}/channels` },
641+
{ id: 'integrations', label: 'View integrations', href: `${U.bot}/integrations` },
639642
],
640643
},
641644
},

0 commit comments

Comments
 (0)