diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49f6ddd..e6748a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - repo: builtin hooks: - id: trailing-whitespace - exclude: '^sphinx-ui/demo/' + exclude: '(^sphinx-ui/demo/|\.snap$)' - id: end-of-file-fixer exclude: '^sphinx-ui/demo/' - id: check-yaml diff --git a/documentation-ui/.gitignore b/documentation-ui/.gitignore index 8d1bc6b..7d4e105 100644 --- a/documentation-ui/.gitignore +++ b/documentation-ui/.gitignore @@ -5,4 +5,4 @@ storybook.log storybook-static .mypy_cache .vscode -*.tgz +*.tgz diff --git a/documentation-ui/src/custom/docs/QuantinuumLogo.tsx b/documentation-ui/src/custom/docs/QuantinuumLogo.tsx index 28fc66a..a40555a 100644 --- a/documentation-ui/src/custom/docs/QuantinuumLogo.tsx +++ b/documentation-ui/src/custom/docs/QuantinuumLogo.tsx @@ -1,50 +1,50 @@ -import { ComponentProps } from "react" -import { cn } from "src" +import { ComponentProps } from 'react' +import { cn } from 'src' export const QuantinuumLogo = (props: ComponentProps<'svg'>) => { - return ( - + ) +} diff --git a/documentation-ui/src/custom/docs/components/footer/index.tsx b/documentation-ui/src/custom/docs/components/footer/index.tsx index ec6a546..193636e 100644 --- a/documentation-ui/src/custom/docs/components/footer/index.tsx +++ b/documentation-ui/src/custom/docs/components/footer/index.tsx @@ -1,131 +1,161 @@ -import { QuantinuumLogo } from "../../QuantinuumLogo"; -import { Separator } from "@quantinuum/quantinuum-ui"; +import { QuantinuumLogo } from '../../QuantinuumLogo' +import { Separator } from '@quantinuum/quantinuum-ui' const footerConfig = { columns: [ { - name: "User Community", + name: 'User Community', items: [ { - name: "Compute Platform Updates", - href: "/product-updates" - },{ - name: "Q-NET", - href: "https://www.quantinuum.com/q-net#get-started" - },{ - name: "Quantinuum Startup Partner Program", - href: "https://www.quantinuum.com/startup-partner-program#join" - } - ] - }, { - name: "Compute Platform", + name: 'Compute Platform Updates', + href: '/product-updates', + }, + { + name: 'Q-NET', + href: 'https://www.quantinuum.com/q-net#get-started', + }, + { + name: 'Quantinuum Startup Partner Program', + href: 'https://www.quantinuum.com/startup-partner-program#join', + }, + ], + }, + { + name: 'Compute Platform', items: [ { - name: "Quantinuum Systems", - href: "/systems" - }, { - name: "Quantinuum Nexus", - href: "/nexus" - }, { - name: "Guppy", - href: "/guppy" - }, { - name: "Selene", - href: "/selene" - }, { - name: "Pytket", - href: "/tket" + name: 'Quantinuum Systems', + href: '/systems', + }, + { + name: 'Quantinuum Nexus', + href: '/nexus', + }, + { + name: 'Guppy', + href: '/guppy', + }, + { + name: 'Selene', + href: '/selene', + }, + { + name: 'Pytket', + href: '/tket', }, - ] - }, { - name: "Applications", + ], + }, + { + name: 'Applications', items: [ { - name: "InQuanto", - href: "/inquanto" - }, + name: 'InQuanto', + href: '/inquanto', + }, { - name: "Quantum Origin", - href: "/origin" - },{ - name: "\u03BBambeq", - href: "/lambeq/" - }, - ] - },{ - name: "Quantinuum", + name: 'Quantum Origin', + href: '/origin', + }, + { + name: '\u03BBambeq', + href: '/lambeq/', + }, + ], + }, + { + name: 'Quantinuum', items: [ { - name: "About", - href: "https://www.quantinuum.com/about", - },{ - name: "Careers", - href: "https://www.quantinuum.com/careers", - },{ - name: "Events", - href: "https://www.quantinuum.com/events" - } - ] - } + name: 'About', + href: 'https://www.quantinuum.com/about', + }, + { + name: 'Careers', + href: 'https://www.quantinuum.com/careers', + }, + { + name: 'Events', + href: 'https://www.quantinuum.com/events', + }, + ], + }, ], } export const Footer = () => { return (