diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml
index 0dd7528..d13346b 100644
--- a/.github/workflows/pre-release.yml
+++ b/.github/workflows/pre-release.yml
@@ -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:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a3e673b..ce72c36 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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.
diff --git a/package.json b/package.json
index 6954c63..0134d58 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"scripts": {
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
+ "lint": "tsc",
"build": "rm -rf ./dist && rollup -c"
},
"release": {
diff --git a/src/custom/docs/components/footer/index.tsx b/src/custom/docs/components/footer/index.tsx
index 6423426..37bcc2a 100644
--- a/src/custom/docs/components/footer/index.tsx
+++ b/src/custom/docs/components/footer/index.tsx
@@ -8,15 +8,15 @@ 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"
}
]
}, {
@@ -24,11 +24,11 @@ const footerConfig = {
items: [
{
name: "TKET",
- href: "https://docs.quantinuum.com/tket"
+ href: "/tket"
},
{
name: "\u03BBambeq",
- href: "https://docs.quantinuum.com/lambeq"
+ href: "/lambeq"
}
]
},{
diff --git a/stories/custom/docs-footer.stories.tsx b/stories/custom/docs-footer.stories.tsx
index 26b2d1f..38d6759 100644
--- a/stories/custom/docs-footer.stories.tsx
+++ b/stories/custom/docs-footer.stories.tsx
@@ -1,71 +1,9 @@
import { Meta, StoryObj } from "@storybook/react";
import {DocsFooter } from "src";
-import { QuantinuumLogo } from "src/custom/docs/QuantinuumLogo";
- const footerConfig = {
- logo: ,
- 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 ;
+ return ;
}
const meta: Meta = {