Skip to content

Commit

Permalink
Merge branch 'feat/global_footer' of https://github.com/CQCL/quantinu…
Browse files Browse the repository at this point in the history
…um-ui into feat/global_footer
  • Loading branch information
irfankhan10 committed Oct 3, 2024
2 parents ed1e978 + 34f9064 commit f982431
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 68 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npx semantic-release
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run build && npm run build-storybook

- name: Upload artifact.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"scripts": {
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"lint": "tsc",
"build": "rm -rf ./dist && rollup -c"
},
"release": {
Expand Down
10 changes: 5 additions & 5 deletions src/custom/docs/components/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ const footerConfig = {
items: [
{
name: "H-Series",
href: "https://docs.quantinuum.com/h-series"
href: "/h-series"
},
{
name: "Nexus",
href: "https://docs.quantinuum.com/nexus"
href: "/nexus"
},
{
name: "InQuanto",
href: "https://docs.quantinuum.com/inquanto"
href: "/inquanto"
}
]
}, {
name: "Opensource",
items: [
{
name: "TKET",
href: "https://docs.quantinuum.com/tket"
href: "/tket"
},
{
name: "\u03BBambeq",
href: "https://docs.quantinuum.com/lambeq"
href: "/lambeq"
}
]
},{
Expand Down
64 changes: 1 addition & 63 deletions stories/custom/docs-footer.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,71 +1,9 @@
import { Meta, StoryObj } from "@storybook/react";
import {DocsFooter } from "src";
import { QuantinuumLogo } from "src/custom/docs/QuantinuumLogo";

const footerConfig = {
logo: <QuantinuumLogo />,
columns: [
{
title: 'Solutions',
items: [
{
href: 'https://docs.quantinuum.com/nexus/index.html',
name: 'Quantinuum Nexus',
},
{
href: 'https://docs.quantinuum.com/inquanto/index.html',
name: 'Inquanto',
},
{
href: 'https://tket.quantinuum.com/',
name: 'TKET',
},
{
href: 'https://docs.quantinuum.com/lambeq',
name: 'Lambeq',
},
],
},
{
title: 'Hardware',
items: [
{
href: 'https://docs.quantinuum.com/h-series/index.html',
name: 'System Model H1',
},
{
href: 'https://docs.quantinuum.com/h-series/index.html',
name: 'System Model H2',
},
{
href: 'https://www.quantinuum.com/hardware#access',
name: 'Get Access',
},
],
},
{
title: 'What We Do?',
items: [
{
href: 'https://www.quantinuum.com/about',
name: 'About Quantinuum',
},
{
href: '"https://www.quantinuum.com/publications',
name: 'Research',
},
{
href: 'https://www.quantinuum.com/events',
name: 'Events',
},
],
},
],
subtitle: '',
}

export function DocsNavDemo() {
return <DocsFooter {...footerConfig} />;
return <DocsFooter />;
}

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

0 comments on commit f982431

Please sign in to comment.