|
1 | 1 | import { Meta, StoryObj } from "@storybook/react";
|
2 | 2 | import {DocsNavBar } from "src";
|
3 |
| -const navConfig = { |
4 |
| - navTextLinks: [ |
5 |
| - { |
6 |
| - title: 'Nexus Concepts', |
7 |
| - href: 'concepts/projects.html', |
8 |
| - pathMatch: 'somewhere', |
9 |
| - }, |
10 |
| - { |
11 |
| - title: 'User Guide', |
12 |
| - href: 'user_guide/sign_up.html', |
13 |
| - pathMatch: 'somewhere', |
14 |
| - }, |
15 |
| - { |
16 |
| - title: 'Admin Guide', |
17 |
| - href: 'admin_guide/quotas.html', |
18 |
| - pathMatch: 'somewhere', |
19 |
| - }, |
20 |
| - { |
21 |
| - title: 'Code Examples', |
22 |
| - href: 'examples/overview.html', |
23 |
| - pathMatch: 'somewhere', |
24 |
| - }, |
25 |
| - { |
26 |
| - title: 'API Reference', |
27 |
| - href: '"qnexus_api/auth.html', |
28 |
| - pathMatch: 'somewhere', |
29 |
| - }, |
30 |
| - ], |
31 |
| - navProductName: 'Nexus', |
32 |
| - navIconLinks: [ |
33 |
| - { |
34 |
| - title: 'TKET Github', |
35 |
| - href: 'https://github.com/CQCL/tket', |
36 |
| - pathMatch: 'somewhere', |
37 |
| - iconImageURL: '/github.svg', |
38 |
| - }, |
39 |
| - { |
40 |
| - title: 'TKET Slack Channel', |
41 |
| - href: 'https://tketusers.slack.com/', |
42 |
| - pathMatch: 'somewhere', |
43 |
| - iconImageURL: '/slack.svg', |
44 |
| - }, |
45 |
| - { |
46 |
| - title: 'TKET Stack Exchange', |
47 |
| - href: 'https://quantumcomputing.stackexchange.com/questions/tagged/pytket', |
48 |
| - pathMatch: 'somewhere', |
49 |
| - iconImageURL: '/stack.svg', |
50 |
| - }, |
51 |
| - ], |
52 |
| - } |
53 | 3 |
|
54 | 4 | export function DocsNavDemo() {
|
55 |
| - return <DocsNavBar {...navConfig }activePath="/" />; |
| 5 | + return <DocsNavBar activePath="/" />; |
56 | 6 | }
|
57 | 7 |
|
58 | 8 | const meta: Meta<typeof DocsNavDemo> = {
|
|
0 commit comments