Skip to content

Commit 0f5273d

Browse files
authored
Navbar with dropdown (#25)
Update to use latest dist from quantinuum-sphinx. Includes new navbar with dropdown.
1 parent de91f10 commit 0f5273d

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/quantinuum-sphinx

landing/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

landing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@cqcl/quantinuum-ui": "^1.20.3",
12+
"@cqcl/quantinuum-ui": "1.24.0-navbar.3",
1313
"lucide-react": "^0.436.0",
1414
"next": "14.2.0",
1515
"react": "^18",

landing/src/app/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { FaGithub, FaDiscord } from 'react-icons/fa'
44
import { LifeBuoyIcon, BookIcon } from "lucide-react";
55

66
import Image from 'next/image'
7-
import Link from 'next/link'
7+
import NextLink from 'next/link'
88
import { LambeqLogo } from './LambeqLogo';
99

1010
const cardConfig = [
@@ -73,7 +73,7 @@ const helpSectionConfig = {
7373
title: "Get in touch for support",
7474
icon_description: "Support Icon",
7575
icon: LifeBuoyIcon,
76-
link: "mailto:lambeq-support@quantinuum.com",
76+
link: "https://www.quantinuum.com/contact/docs",
7777
description: "Need help? Contact our support team here",
7878

7979
},
@@ -109,20 +109,20 @@ export default function Home() {
109109
className="-mt-px flex-grow py-[1.38rem] border-border border bg-background"
110110
asChild
111111
>
112-
<Link href="https://github.com/CQCL/lambeq/">
112+
<NextLink href="https://github.com/CQCL/lambeq/">
113113
<FaGithub className="mr-2 h-6 w-6"></FaGithub>
114114
GitHub
115-
</Link>
115+
</NextLink>
116116
</Button>
117117
<Button
118118
variant="secondary"
119119
className="-mt-px flex-grow py-[1.38rem] border-border border bg-background"
120120
asChild
121121
>
122-
<Link href="https://discord.gg/TA63zghMrC">
122+
<NextLink href="https://discord.gg/TA63zghMrC">
123123
<FaDiscord className="mr-2 h-6 w-6"></FaDiscord>
124124
Discord
125-
</Link>
125+
</NextLink>
126126
</Button>
127127
</div>
128128
</div>
@@ -140,7 +140,7 @@ export default function Home() {
140140
</div>
141141
</DocsHeaderRight>
142142
</DocsHeaderWrapper>
143-
<DocsTripleCard cards={cardConfig} imageComponent={Image}/>
143+
<DocsTripleCard cards={cardConfig} imageComponent={Image} linkComponent={NextLink}/>
144144
<DocsHelpCard {...helpSectionConfig} />
145145
<DocsFooter/>
146146
</DocsPageLayout>

0 commit comments

Comments
 (0)