Skip to content

Commit

Permalink
update story for modified navigation menu
Browse files Browse the repository at this point in the history
  • Loading branch information
irfankhan10 committed Oct 6, 2024
1 parent 6c6254b commit b625b39
Showing 1 changed file with 1 addition and 51 deletions.
52 changes: 1 addition & 51 deletions stories/custom/docs-nav.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,58 +1,8 @@
import { Meta, StoryObj } from "@storybook/react";
import {DocsNavBar } from "src";
const navConfig = {
navTextLinks: [
{
title: 'Nexus Concepts',
href: 'concepts/projects.html',
pathMatch: 'somewhere',
},
{
title: 'User Guide',
href: 'user_guide/sign_up.html',
pathMatch: 'somewhere',
},
{
title: 'Admin Guide',
href: 'admin_guide/quotas.html',
pathMatch: 'somewhere',
},
{
title: 'Code Examples',
href: 'examples/overview.html',
pathMatch: 'somewhere',
},
{
title: 'API Reference',
href: '"qnexus_api/auth.html',
pathMatch: 'somewhere',
},
],
navProductName: 'Nexus',
navIconLinks: [
{
title: 'TKET Github',
href: 'https://github.com/CQCL/tket',
pathMatch: 'somewhere',
iconImageURL: '/github.svg',
},
{
title: 'TKET Slack Channel',
href: 'https://tketusers.slack.com/',
pathMatch: 'somewhere',
iconImageURL: '/slack.svg',
},
{
title: 'TKET Stack Exchange',
href: 'https://quantumcomputing.stackexchange.com/questions/tagged/pytket',
pathMatch: 'somewhere',
iconImageURL: '/stack.svg',
},
],
}

export function DocsNavDemo() {
return <DocsNavBar {...navConfig }activePath="/" />;
return <DocsNavBar activePath="/" />;
}

const meta: Meta<typeof DocsNavDemo> = {
Expand Down

0 comments on commit b625b39

Please sign in to comment.