@hanzo/ui 8.27.22 → 8.27.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,305 @@
1
+ "use strict";
2
+ /**
3
+ * hanzo.ai's nav tree: the company menu under the wordmark, the five menus in
4
+ * the bar, Log in ▾, and the one filled control. `Masthead` draws it on every
5
+ * Hanzo site that wears hanzo.ai's header, so the menus are the same rows
6
+ * everywhere.
7
+ *
8
+ * A path (`/about`) is a page on hanzo.ai. A site on another host passes
9
+ * `origin="https://hanzo.ai"` to `Masthead`, which prefixes the path with it; an
10
+ * address that names a host already is used as written.
11
+ *
12
+ * Data only, so a server component can import it: `@hanzo/ui/masthead/nav`.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ACCOUNT = exports.OPEN = exports.TRY = exports.LOGIN = exports.MENUS = exports.COMPANY = exports.at = exports.away = exports.SOLUTIONS = exports.SIGNUP = exports.SIGNIN = exports.DISCORD = exports.MODELS = exports.HIPS = exports.AGENCY = exports.DOCS = exports.GITHUB = exports.STATUS = exports.APP = exports.KEYS = exports.CONSOLE = void 0;
16
+ // ── The hosts the tree links out to ─────────────────────────────────────────
17
+ /** The one API console: keys, usage and billing. */
18
+ exports.CONSOLE = 'https://platform.hanzo.ai';
19
+ /** Where a reader gets the one key everything is billed against. */
20
+ exports.KEYS = `${exports.CONSOLE}/api-keys`;
21
+ /** The page the Hanzo App is got from: the download, the CLI, the app in the browser. */
22
+ exports.APP = 'https://hanzo.app';
23
+ exports.STATUS = 'https://status.hanzo.ai';
24
+ exports.GITHUB = 'https://github.com/hanzoai';
25
+ exports.DOCS = 'https://docs.hanzo.ai';
26
+ exports.AGENCY = 'https://hanzo.agency';
27
+ exports.HIPS = 'https://hips.hanzo.ai';
28
+ exports.MODELS = 'https://huggingface.co/zenlm';
29
+ /** Where the community talks. */
30
+ exports.DISCORD = 'https://discord.gg/CJCyAsm9Vr';
31
+ /** hanzo.ai's own sign-in and sign-up. The app signs in on hanzo.ai, never on another host. */
32
+ exports.SIGNIN = '/login';
33
+ exports.SIGNUP = '/signup';
34
+ /** The solutions index. */
35
+ exports.SOLUTIONS = '/solutions';
36
+ /** A link leaves hanzo.ai when it names a host. It says so with ↗ and a new tab. */
37
+ const away = (href) => /^https?:\/\//.test(href);
38
+ exports.away = away;
39
+ /** Where a row goes from a page on `origin`: a path is prefixed with it, a host is kept. */
40
+ const at = (href, origin = '') => ((0, exports.away)(href) || href.startsWith('#') ? href : `${origin}${href}`);
41
+ exports.at = at;
42
+ /** The company, opened from the wordmark. */
43
+ exports.COMPANY = {
44
+ id: 'company',
45
+ label: 'Company',
46
+ href: '/about',
47
+ glyph: 'user',
48
+ groups: [
49
+ {
50
+ title: 'Explore Company',
51
+ lead: true,
52
+ links: [
53
+ { label: 'About Us', href: '/about' },
54
+ { label: 'Agency', href: exports.AGENCY },
55
+ { label: 'Careers', href: '/careers' },
56
+ { label: 'News', href: '/press' },
57
+ { label: 'Stories', href: '/customers' },
58
+ ],
59
+ },
60
+ {
61
+ title: 'Resources',
62
+ links: [
63
+ { label: 'Brand Guidelines', href: '/brand' },
64
+ { label: 'Philosophy', href: '/philosophy' },
65
+ { label: 'Investors', href: '/investors' },
66
+ { label: 'Contact', href: '/contact' },
67
+ ],
68
+ },
69
+ ],
70
+ };
71
+ /** The bar, left to right after the wordmark. */
72
+ exports.MENUS = [
73
+ {
74
+ id: 'research',
75
+ label: 'Research',
76
+ href: '/research',
77
+ glyph: 'pulse',
78
+ groups: [
79
+ {
80
+ title: 'Agentic harness',
81
+ lead: true,
82
+ links: [
83
+ { label: 'Performance', href: '/benchmarks' },
84
+ { label: 'Enso 1', href: '/enso' },
85
+ { label: 'Kai 1', href: '/kai' },
86
+ { label: 'Zen 6', href: '/models/zen' },
87
+ ],
88
+ },
89
+ {
90
+ title: 'Explore Research',
91
+ links: [
92
+ { label: 'Overview', href: '/research' },
93
+ { label: 'Benchmarks', href: '/benchmarks' },
94
+ { label: 'Open source', href: '/open-source' },
95
+ { label: 'Specifications', href: exports.HIPS },
96
+ ],
97
+ },
98
+ {
99
+ title: 'Safety',
100
+ links: [
101
+ { label: 'Security', href: '/security' },
102
+ { label: 'Trust & transparency', href: '/trust' },
103
+ ],
104
+ },
105
+ ],
106
+ },
107
+ {
108
+ id: 'products',
109
+ label: 'Products',
110
+ href: '/products',
111
+ glyph: 'blocks',
112
+ groups: [
113
+ {
114
+ title: 'AI Models',
115
+ lead: true,
116
+ links: [
117
+ { label: 'Models', href: '/models' },
118
+ { label: 'Enso', href: '/enso' },
119
+ { label: 'Zen', href: '/models/zen' },
120
+ { label: 'Kai', href: '/kai' },
121
+ ],
122
+ },
123
+ {
124
+ title: 'API Platform',
125
+ links: [
126
+ { label: 'Overview', href: '/platform' },
127
+ { label: 'API', href: '/api' },
128
+ { label: 'Gateway', href: '/gateway' },
129
+ { label: 'Agents', href: '/agents' },
130
+ { label: 'Base', href: '/base' },
131
+ { label: 'Machines', href: '/machines' },
132
+ { label: 'API log in', href: exports.CONSOLE },
133
+ ],
134
+ },
135
+ {
136
+ title: 'DX Tools',
137
+ links: [
138
+ { label: 'Hanzo App', href: exports.APP },
139
+ { label: 'Hanzo Team', href: '/team' },
140
+ { label: 'Hanzo Bot', href: '/bot' },
141
+ { label: 'MCP', href: '/mcp' },
142
+ { label: 'SDKs', href: '/sdks' },
143
+ { label: 'Skills', href: '/skills' },
144
+ ],
145
+ },
146
+ {
147
+ title: 'Install',
148
+ links: [
149
+ { label: 'CLI', href: '/cli' },
150
+ { label: 'Desktop app', href: '/desktop' },
151
+ { label: 'Browser extension', href: '/extension' },
152
+ { label: 'IDE', href: '/ide' },
153
+ { label: 'All downloads', href: '/download' },
154
+ { label: 'Release notes', href: `${exports.GITHUB}/cli/releases` },
155
+ ],
156
+ },
157
+ // Hanzo OS: the product index and its layers (HIP-0903), each at /products/<id>.
158
+ {
159
+ title: 'Hanzo OS',
160
+ links: [
161
+ { label: 'All products', href: '/products' },
162
+ { label: 'Company', href: '/products/company' },
163
+ { label: 'Agents', href: '/products/agents' },
164
+ { label: 'Models', href: '/products/models' },
165
+ { label: 'Memory', href: '/products/memory' },
166
+ { label: 'Identity', href: '/products/identity' },
167
+ { label: 'Machines', href: '/products/machines' },
168
+ { label: 'Record', href: '/products/record' },
169
+ ],
170
+ },
171
+ ],
172
+ },
173
+ {
174
+ id: 'solutions',
175
+ label: 'Solutions',
176
+ href: exports.SOLUTIONS,
177
+ glyph: 'puzzle',
178
+ groups: [
179
+ {
180
+ title: 'Explore Solutions',
181
+ lead: true,
182
+ links: [
183
+ { label: 'All solutions', href: exports.SOLUTIONS },
184
+ { label: 'Enterprise', href: '/enterprise' },
185
+ { label: 'Customer stories', href: '/customers' },
186
+ { label: 'Pricing', href: '/pricing' },
187
+ { label: 'Contact sales', href: '/contact-sales' },
188
+ ],
189
+ },
190
+ {
191
+ title: 'Teams',
192
+ links: [
193
+ { label: 'Finance', href: `${exports.SOLUTIONS}/finance` },
194
+ { label: 'Data', href: `${exports.SOLUTIONS}/data` },
195
+ { label: 'Sales', href: `${exports.SOLUTIONS}/sales` },
196
+ { label: 'Marketing', href: `${exports.SOLUTIONS}/marketing` },
197
+ { label: 'Operations', href: `${exports.SOLUTIONS}/operations` },
198
+ { label: 'Engineering', href: `${exports.SOLUTIONS}/engineering` },
199
+ { label: 'Design', href: `${exports.SOLUTIONS}/design` },
200
+ ],
201
+ },
202
+ {
203
+ title: 'Industries',
204
+ links: [
205
+ { label: 'Cybersecurity', href: `${exports.SOLUTIONS}/cybersecurity` },
206
+ { label: 'Financial services', href: `${exports.SOLUTIONS}/financial-services` },
207
+ { label: 'Healthcare', href: `${exports.SOLUTIONS}/healthcare` },
208
+ { label: 'Law', href: `${exports.SOLUTIONS}/law` },
209
+ { label: 'Retail', href: `${exports.SOLUTIONS}/retail` },
210
+ { label: 'Government', href: `${exports.SOLUTIONS}/government` },
211
+ { label: 'Education', href: `${exports.SOLUTIONS}/education` },
212
+ ],
213
+ },
214
+ {
215
+ title: 'Use cases',
216
+ links: [
217
+ { label: 'Content creation', href: `${exports.SOLUTIONS}/content-creation` },
218
+ { label: 'Research', href: `${exports.SOLUTIONS}/research` },
219
+ { label: 'Agents', href: `${exports.SOLUTIONS}/agents` },
220
+ ],
221
+ },
222
+ {
223
+ title: 'Programs',
224
+ links: [
225
+ { label: 'Reserved tier', href: `${exports.SOLUTIONS}/reserved` },
226
+ { label: 'Startups', href: '/startups' },
227
+ { label: 'Partner network', href: '/affiliate' },
228
+ { label: 'Cost calculator', href: '/calculator' },
229
+ ],
230
+ },
231
+ ],
232
+ },
233
+ {
234
+ id: 'developers',
235
+ label: 'Developers',
236
+ href: exports.DOCS,
237
+ glyph: 'code',
238
+ groups: [
239
+ {
240
+ title: 'Explore Developers',
241
+ lead: true,
242
+ links: [
243
+ { label: 'Documentation', href: exports.DOCS },
244
+ { label: 'API reference', href: `${exports.DOCS}/docs/openapi/` },
245
+ { label: 'Quickstart', href: `${exports.DOCS}/docs/quickstart/` },
246
+ { label: 'SDKs', href: '/sdks' },
247
+ { label: 'Open models', href: exports.MODELS },
248
+ ],
249
+ },
250
+ {
251
+ title: 'Resources',
252
+ links: [
253
+ { label: 'API keys', href: exports.KEYS },
254
+ { label: 'AI Studio', href: '/ai-studio' },
255
+ { label: 'Integrations', href: '/integrations' },
256
+ { label: 'Examples', href: '/gallery' },
257
+ ],
258
+ },
259
+ {
260
+ title: 'Community',
261
+ links: [
262
+ { label: 'GitHub', href: exports.GITHUB },
263
+ { label: 'Discord', href: exports.DISCORD },
264
+ { label: 'Status', href: exports.STATUS },
265
+ ],
266
+ },
267
+ ],
268
+ },
269
+ {
270
+ id: 'learn',
271
+ label: 'Learn',
272
+ href: '/learn',
273
+ glyph: 'book',
274
+ groups: [
275
+ {
276
+ title: 'Explore Learn',
277
+ lead: true,
278
+ links: [
279
+ { label: 'Overview', href: '/learn' },
280
+ { label: 'Guides', href: `${exports.DOCS}/docs/guides/` },
281
+ { label: 'Cookbook', href: `${exports.DOCS}/docs/guides/cookbook/` },
282
+ { label: 'Blog', href: '/blog' },
283
+ ],
284
+ },
285
+ {
286
+ title: 'Support',
287
+ links: [
288
+ { label: 'Where to start', href: '/playground' },
289
+ { label: 'Help center', href: '/support' },
290
+ ],
291
+ },
292
+ ],
293
+ },
294
+ ];
295
+ /** Log in ▾: the two products a person signs in to. The app signs in on hanzo.ai. */
296
+ exports.LOGIN = [
297
+ { label: 'Hanzo App', href: exports.SIGNIN, hint: 'Build, chat and ship' },
298
+ { label: 'API Platform', href: exports.CONSOLE, hint: 'Keys, usage and billing' },
299
+ ];
300
+ /** The one filled control in the bar: hanzo.ai's sign-up. */
301
+ exports.TRY = { label: 'Try Hanzo', href: exports.SIGNUP };
302
+ /** What the same control says to a reader who is signed in: the app, at `/`. */
303
+ exports.OPEN = { label: 'Open Hanzo', href: '/' };
304
+ /** The signed-in reader's own page. */
305
+ exports.ACCOUNT = { label: 'Account', href: '/account' };
@@ -0,0 +1,69 @@
1
+ /**
2
+ * hanzo.ai's nav tree: the company menu under the wordmark, the five menus in
3
+ * the bar, Log in ▾, and the one filled control. `Masthead` draws it on every
4
+ * Hanzo site that wears hanzo.ai's header, so the menus are the same rows
5
+ * everywhere.
6
+ *
7
+ * A path (`/about`) is a page on hanzo.ai. A site on another host passes
8
+ * `origin="https://hanzo.ai"` to `Masthead`, which prefixes the path with it; an
9
+ * address that names a host already is used as written.
10
+ *
11
+ * Data only, so a server component can import it: `@hanzo/ui/masthead/nav`.
12
+ */
13
+ import type { GlyphName } from '@hanzogui/shell';
14
+ /** The one API console: keys, usage and billing. */
15
+ export declare const CONSOLE = "https://platform.hanzo.ai";
16
+ /** Where a reader gets the one key everything is billed against. */
17
+ export declare const KEYS = "https://platform.hanzo.ai/api-keys";
18
+ /** The page the Hanzo App is got from: the download, the CLI, the app in the browser. */
19
+ export declare const APP = "https://hanzo.app";
20
+ export declare const STATUS = "https://status.hanzo.ai";
21
+ export declare const GITHUB = "https://github.com/hanzoai";
22
+ export declare const DOCS = "https://docs.hanzo.ai";
23
+ export declare const AGENCY = "https://hanzo.agency";
24
+ export declare const HIPS = "https://hips.hanzo.ai";
25
+ export declare const MODELS = "https://huggingface.co/zenlm";
26
+ /** Where the community talks. */
27
+ export declare const DISCORD = "https://discord.gg/CJCyAsm9Vr";
28
+ /** hanzo.ai's own sign-in and sign-up. The app signs in on hanzo.ai, never on another host. */
29
+ export declare const SIGNIN = "/login";
30
+ export declare const SIGNUP = "/signup";
31
+ /** The solutions index. */
32
+ export declare const SOLUTIONS = "/solutions";
33
+ /** A destination. `hint` is a short second line, used only where a row needs one. */
34
+ export interface Link {
35
+ label: string;
36
+ href: string;
37
+ hint?: string;
38
+ }
39
+ /** A titled column. A `lead` column sets its links in display type, first. */
40
+ export interface Group {
41
+ title: string;
42
+ links: Link[];
43
+ lead?: boolean;
44
+ }
45
+ /** A top-level entry: its label and mark, the page it stands for, and the columns it opens. */
46
+ export interface Menu {
47
+ id: string;
48
+ label: string;
49
+ href: string;
50
+ glyph: GlyphName;
51
+ groups: Group[];
52
+ }
53
+ /** A link leaves hanzo.ai when it names a host. It says so with ↗ and a new tab. */
54
+ export declare const away: (href: string) => boolean;
55
+ /** Where a row goes from a page on `origin`: a path is prefixed with it, a host is kept. */
56
+ export declare const at: (href: string, origin?: string) => string;
57
+ /** The company, opened from the wordmark. */
58
+ export declare const COMPANY: Menu;
59
+ /** The bar, left to right after the wordmark. */
60
+ export declare const MENUS: Menu[];
61
+ /** Log in ▾: the two products a person signs in to. The app signs in on hanzo.ai. */
62
+ export declare const LOGIN: Link[];
63
+ /** The one filled control in the bar: hanzo.ai's sign-up. */
64
+ export declare const TRY: Link;
65
+ /** What the same control says to a reader who is signed in: the app, at `/`. */
66
+ export declare const OPEN: Link;
67
+ /** The signed-in reader's own page. */
68
+ export declare const ACCOUNT: Link;
69
+ //# sourceMappingURL=nav.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav.d.ts","sourceRoot":"","sources":["../../src/masthead/nav.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAIhD,oDAAoD;AACpD,eAAO,MAAM,OAAO,8BAA8B,CAAA;AAClD,oEAAoE;AACpE,eAAO,MAAM,IAAI,uCAAwB,CAAA;AACzC,yFAAyF;AACzF,eAAO,MAAM,GAAG,sBAAsB,CAAA;AACtC,eAAO,MAAM,MAAM,4BAA4B,CAAA;AAC/C,eAAO,MAAM,MAAM,+BAA+B,CAAA;AAClD,eAAO,MAAM,IAAI,0BAA0B,CAAA;AAC3C,eAAO,MAAM,MAAM,yBAAyB,CAAA;AAC5C,eAAO,MAAM,IAAI,0BAA0B,CAAA;AAC3C,eAAO,MAAM,MAAM,iCAAiC,CAAA;AACpD,iCAAiC;AACjC,eAAO,MAAM,OAAO,kCAAkC,CAAA;AAEtD,+FAA+F;AAC/F,eAAO,MAAM,MAAM,WAAW,CAAA;AAC9B,eAAO,MAAM,MAAM,YAAY,CAAA;AAC/B,2BAA2B;AAC3B,eAAO,MAAM,SAAS,eAAe,CAAA;AAIrC,qFAAqF;AACrF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,8EAA8E;AAC9E,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,+FAA+F;AAC/F,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,SAAS,CAAA;IAChB,MAAM,EAAE,KAAK,EAAE,CAAA;CAChB;AAED,oFAAoF;AACpF,eAAO,MAAM,IAAI,SAAU,MAAM,KAAG,OAAoC,CAAA;AAExE,4FAA4F;AAC5F,eAAO,MAAM,EAAE,SAAU,MAAM,sBAAgB,MAA0E,CAAA;AAEzH,6CAA6C;AAC7C,eAAO,MAAM,OAAO,EAAE,IA2BrB,CAAA;AAED,iDAAiD;AACjD,eAAO,MAAM,KAAK,EAAE,IAAI,EA8NvB,CAAA;AAED,qFAAqF;AACrF,eAAO,MAAM,KAAK,EAAE,IAAI,EAGvB,CAAA;AAED,6DAA6D;AAC7D,eAAO,MAAM,GAAG,EAAE,IAA2C,CAAA;AAE7D,gFAAgF;AAChF,eAAO,MAAM,IAAI,EAAE,IAAyC,CAAA;AAE5D,uCAAuC;AACvC,eAAO,MAAM,OAAO,EAAE,IAA6C,CAAA"}
@@ -0,0 +1,301 @@
1
+ /**
2
+ * hanzo.ai's nav tree: the company menu under the wordmark, the five menus in
3
+ * the bar, Log in ▾, and the one filled control. `Masthead` draws it on every
4
+ * Hanzo site that wears hanzo.ai's header, so the menus are the same rows
5
+ * everywhere.
6
+ *
7
+ * A path (`/about`) is a page on hanzo.ai. A site on another host passes
8
+ * `origin="https://hanzo.ai"` to `Masthead`, which prefixes the path with it; an
9
+ * address that names a host already is used as written.
10
+ *
11
+ * Data only, so a server component can import it: `@hanzo/ui/masthead/nav`.
12
+ */
13
+ // ── The hosts the tree links out to ─────────────────────────────────────────
14
+ /** The one API console: keys, usage and billing. */
15
+ export const CONSOLE = 'https://platform.hanzo.ai';
16
+ /** Where a reader gets the one key everything is billed against. */
17
+ export const KEYS = `${CONSOLE}/api-keys`;
18
+ /** The page the Hanzo App is got from: the download, the CLI, the app in the browser. */
19
+ export const APP = 'https://hanzo.app';
20
+ export const STATUS = 'https://status.hanzo.ai';
21
+ export const GITHUB = 'https://github.com/hanzoai';
22
+ export const DOCS = 'https://docs.hanzo.ai';
23
+ export const AGENCY = 'https://hanzo.agency';
24
+ export const HIPS = 'https://hips.hanzo.ai';
25
+ export const MODELS = 'https://huggingface.co/zenlm';
26
+ /** Where the community talks. */
27
+ export const DISCORD = 'https://discord.gg/CJCyAsm9Vr';
28
+ /** hanzo.ai's own sign-in and sign-up. The app signs in on hanzo.ai, never on another host. */
29
+ export const SIGNIN = '/login';
30
+ export const SIGNUP = '/signup';
31
+ /** The solutions index. */
32
+ export const SOLUTIONS = '/solutions';
33
+ /** A link leaves hanzo.ai when it names a host. It says so with ↗ and a new tab. */
34
+ export const away = (href) => /^https?:\/\//.test(href);
35
+ /** Where a row goes from a page on `origin`: a path is prefixed with it, a host is kept. */
36
+ export const at = (href, origin = '') => (away(href) || href.startsWith('#') ? href : `${origin}${href}`);
37
+ /** The company, opened from the wordmark. */
38
+ export const COMPANY = {
39
+ id: 'company',
40
+ label: 'Company',
41
+ href: '/about',
42
+ glyph: 'user',
43
+ groups: [
44
+ {
45
+ title: 'Explore Company',
46
+ lead: true,
47
+ links: [
48
+ { label: 'About Us', href: '/about' },
49
+ { label: 'Agency', href: AGENCY },
50
+ { label: 'Careers', href: '/careers' },
51
+ { label: 'News', href: '/press' },
52
+ { label: 'Stories', href: '/customers' },
53
+ ],
54
+ },
55
+ {
56
+ title: 'Resources',
57
+ links: [
58
+ { label: 'Brand Guidelines', href: '/brand' },
59
+ { label: 'Philosophy', href: '/philosophy' },
60
+ { label: 'Investors', href: '/investors' },
61
+ { label: 'Contact', href: '/contact' },
62
+ ],
63
+ },
64
+ ],
65
+ };
66
+ /** The bar, left to right after the wordmark. */
67
+ export const MENUS = [
68
+ {
69
+ id: 'research',
70
+ label: 'Research',
71
+ href: '/research',
72
+ glyph: 'pulse',
73
+ groups: [
74
+ {
75
+ title: 'Agentic harness',
76
+ lead: true,
77
+ links: [
78
+ { label: 'Performance', href: '/benchmarks' },
79
+ { label: 'Enso 1', href: '/enso' },
80
+ { label: 'Kai 1', href: '/kai' },
81
+ { label: 'Zen 6', href: '/models/zen' },
82
+ ],
83
+ },
84
+ {
85
+ title: 'Explore Research',
86
+ links: [
87
+ { label: 'Overview', href: '/research' },
88
+ { label: 'Benchmarks', href: '/benchmarks' },
89
+ { label: 'Open source', href: '/open-source' },
90
+ { label: 'Specifications', href: HIPS },
91
+ ],
92
+ },
93
+ {
94
+ title: 'Safety',
95
+ links: [
96
+ { label: 'Security', href: '/security' },
97
+ { label: 'Trust & transparency', href: '/trust' },
98
+ ],
99
+ },
100
+ ],
101
+ },
102
+ {
103
+ id: 'products',
104
+ label: 'Products',
105
+ href: '/products',
106
+ glyph: 'blocks',
107
+ groups: [
108
+ {
109
+ title: 'AI Models',
110
+ lead: true,
111
+ links: [
112
+ { label: 'Models', href: '/models' },
113
+ { label: 'Enso', href: '/enso' },
114
+ { label: 'Zen', href: '/models/zen' },
115
+ { label: 'Kai', href: '/kai' },
116
+ ],
117
+ },
118
+ {
119
+ title: 'API Platform',
120
+ links: [
121
+ { label: 'Overview', href: '/platform' },
122
+ { label: 'API', href: '/api' },
123
+ { label: 'Gateway', href: '/gateway' },
124
+ { label: 'Agents', href: '/agents' },
125
+ { label: 'Base', href: '/base' },
126
+ { label: 'Machines', href: '/machines' },
127
+ { label: 'API log in', href: CONSOLE },
128
+ ],
129
+ },
130
+ {
131
+ title: 'DX Tools',
132
+ links: [
133
+ { label: 'Hanzo App', href: APP },
134
+ { label: 'Hanzo Team', href: '/team' },
135
+ { label: 'Hanzo Bot', href: '/bot' },
136
+ { label: 'MCP', href: '/mcp' },
137
+ { label: 'SDKs', href: '/sdks' },
138
+ { label: 'Skills', href: '/skills' },
139
+ ],
140
+ },
141
+ {
142
+ title: 'Install',
143
+ links: [
144
+ { label: 'CLI', href: '/cli' },
145
+ { label: 'Desktop app', href: '/desktop' },
146
+ { label: 'Browser extension', href: '/extension' },
147
+ { label: 'IDE', href: '/ide' },
148
+ { label: 'All downloads', href: '/download' },
149
+ { label: 'Release notes', href: `${GITHUB}/cli/releases` },
150
+ ],
151
+ },
152
+ // Hanzo OS: the product index and its layers (HIP-0903), each at /products/<id>.
153
+ {
154
+ title: 'Hanzo OS',
155
+ links: [
156
+ { label: 'All products', href: '/products' },
157
+ { label: 'Company', href: '/products/company' },
158
+ { label: 'Agents', href: '/products/agents' },
159
+ { label: 'Models', href: '/products/models' },
160
+ { label: 'Memory', href: '/products/memory' },
161
+ { label: 'Identity', href: '/products/identity' },
162
+ { label: 'Machines', href: '/products/machines' },
163
+ { label: 'Record', href: '/products/record' },
164
+ ],
165
+ },
166
+ ],
167
+ },
168
+ {
169
+ id: 'solutions',
170
+ label: 'Solutions',
171
+ href: SOLUTIONS,
172
+ glyph: 'puzzle',
173
+ groups: [
174
+ {
175
+ title: 'Explore Solutions',
176
+ lead: true,
177
+ links: [
178
+ { label: 'All solutions', href: SOLUTIONS },
179
+ { label: 'Enterprise', href: '/enterprise' },
180
+ { label: 'Customer stories', href: '/customers' },
181
+ { label: 'Pricing', href: '/pricing' },
182
+ { label: 'Contact sales', href: '/contact-sales' },
183
+ ],
184
+ },
185
+ {
186
+ title: 'Teams',
187
+ links: [
188
+ { label: 'Finance', href: `${SOLUTIONS}/finance` },
189
+ { label: 'Data', href: `${SOLUTIONS}/data` },
190
+ { label: 'Sales', href: `${SOLUTIONS}/sales` },
191
+ { label: 'Marketing', href: `${SOLUTIONS}/marketing` },
192
+ { label: 'Operations', href: `${SOLUTIONS}/operations` },
193
+ { label: 'Engineering', href: `${SOLUTIONS}/engineering` },
194
+ { label: 'Design', href: `${SOLUTIONS}/design` },
195
+ ],
196
+ },
197
+ {
198
+ title: 'Industries',
199
+ links: [
200
+ { label: 'Cybersecurity', href: `${SOLUTIONS}/cybersecurity` },
201
+ { label: 'Financial services', href: `${SOLUTIONS}/financial-services` },
202
+ { label: 'Healthcare', href: `${SOLUTIONS}/healthcare` },
203
+ { label: 'Law', href: `${SOLUTIONS}/law` },
204
+ { label: 'Retail', href: `${SOLUTIONS}/retail` },
205
+ { label: 'Government', href: `${SOLUTIONS}/government` },
206
+ { label: 'Education', href: `${SOLUTIONS}/education` },
207
+ ],
208
+ },
209
+ {
210
+ title: 'Use cases',
211
+ links: [
212
+ { label: 'Content creation', href: `${SOLUTIONS}/content-creation` },
213
+ { label: 'Research', href: `${SOLUTIONS}/research` },
214
+ { label: 'Agents', href: `${SOLUTIONS}/agents` },
215
+ ],
216
+ },
217
+ {
218
+ title: 'Programs',
219
+ links: [
220
+ { label: 'Reserved tier', href: `${SOLUTIONS}/reserved` },
221
+ { label: 'Startups', href: '/startups' },
222
+ { label: 'Partner network', href: '/affiliate' },
223
+ { label: 'Cost calculator', href: '/calculator' },
224
+ ],
225
+ },
226
+ ],
227
+ },
228
+ {
229
+ id: 'developers',
230
+ label: 'Developers',
231
+ href: DOCS,
232
+ glyph: 'code',
233
+ groups: [
234
+ {
235
+ title: 'Explore Developers',
236
+ lead: true,
237
+ links: [
238
+ { label: 'Documentation', href: DOCS },
239
+ { label: 'API reference', href: `${DOCS}/docs/openapi/` },
240
+ { label: 'Quickstart', href: `${DOCS}/docs/quickstart/` },
241
+ { label: 'SDKs', href: '/sdks' },
242
+ { label: 'Open models', href: MODELS },
243
+ ],
244
+ },
245
+ {
246
+ title: 'Resources',
247
+ links: [
248
+ { label: 'API keys', href: KEYS },
249
+ { label: 'AI Studio', href: '/ai-studio' },
250
+ { label: 'Integrations', href: '/integrations' },
251
+ { label: 'Examples', href: '/gallery' },
252
+ ],
253
+ },
254
+ {
255
+ title: 'Community',
256
+ links: [
257
+ { label: 'GitHub', href: GITHUB },
258
+ { label: 'Discord', href: DISCORD },
259
+ { label: 'Status', href: STATUS },
260
+ ],
261
+ },
262
+ ],
263
+ },
264
+ {
265
+ id: 'learn',
266
+ label: 'Learn',
267
+ href: '/learn',
268
+ glyph: 'book',
269
+ groups: [
270
+ {
271
+ title: 'Explore Learn',
272
+ lead: true,
273
+ links: [
274
+ { label: 'Overview', href: '/learn' },
275
+ { label: 'Guides', href: `${DOCS}/docs/guides/` },
276
+ { label: 'Cookbook', href: `${DOCS}/docs/guides/cookbook/` },
277
+ { label: 'Blog', href: '/blog' },
278
+ ],
279
+ },
280
+ {
281
+ title: 'Support',
282
+ links: [
283
+ { label: 'Where to start', href: '/playground' },
284
+ { label: 'Help center', href: '/support' },
285
+ ],
286
+ },
287
+ ],
288
+ },
289
+ ];
290
+ /** Log in ▾: the two products a person signs in to. The app signs in on hanzo.ai. */
291
+ export const LOGIN = [
292
+ { label: 'Hanzo App', href: SIGNIN, hint: 'Build, chat and ship' },
293
+ { label: 'API Platform', href: CONSOLE, hint: 'Keys, usage and billing' },
294
+ ];
295
+ /** The one filled control in the bar: hanzo.ai's sign-up. */
296
+ export const TRY = { label: 'Try Hanzo', href: SIGNUP };
297
+ /** What the same control says to a reader who is signed in: the app, at `/`. */
298
+ export const OPEN = { label: 'Open Hanzo', href: '/' };
299
+ /** The signed-in reader's own page. */
300
+ export const ACCOUNT = { label: 'Account', href: '/account' };
301
+ //# sourceMappingURL=nav.js.map