Skip to content

Commit b625b39

Browse files
committed
update story for modified navigation menu
1 parent 6c6254b commit b625b39

File tree

1 file changed

+1
-51
lines changed

1 file changed

+1
-51
lines changed

stories/custom/docs-nav.stories.tsx

+1-51
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,8 @@
11
import { Meta, StoryObj } from "@storybook/react";
22
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-
}
533

544
export function DocsNavDemo() {
55-
return <DocsNavBar {...navConfig }activePath="/" />;
5+
return <DocsNavBar activePath="/" />;
566
}
577

588
const meta: Meta<typeof DocsNavDemo> = {

0 commit comments

Comments
 (0)