From 2b36034a5cc23ef0d7b2876b15911fae3b7cbee0 Mon Sep 17 00:00:00 2001 From: aidanCQ Date: Thu, 2 Apr 2026 11:41:34 +0100 Subject: [PATCH 1/5] Init. --- landing/src/app/_components/GuppyLogo.tsx | 154 ++++++++++++++++++++++ landing/src/app/page.tsx | 124 ++++++----------- 2 files changed, 195 insertions(+), 83 deletions(-) create mode 100644 landing/src/app/_components/GuppyLogo.tsx diff --git a/landing/src/app/_components/GuppyLogo.tsx b/landing/src/app/_components/GuppyLogo.tsx new file mode 100644 index 0000000..cc200bf --- /dev/null +++ b/landing/src/app/_components/GuppyLogo.tsx @@ -0,0 +1,154 @@ +import type { ComponentProps } from 'react' + +export const GuppyLogo = (props: ComponentProps<'svg'>) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) +} diff --git a/landing/src/app/page.tsx b/landing/src/app/page.tsx index 43ea541..7356832 100644 --- a/landing/src/app/page.tsx +++ b/landing/src/app/page.tsx @@ -1,6 +1,6 @@ +import { GuppyLogo } from './_components/GuppyLogo' import { CodeSnippet } from './code_snippet' -import { DocsFooter, DocsNavBar } from '@quantinuum/quantinuum-ui' -import { Button, Separator } from '@quantinuum/quantinuum-ui' +import { Button, DocsFooter, DocsNavBar, Separator } from '@quantinuum/quantinuum-ui' import { ArrowRight } from 'lucide-react' import Image from 'next/image' import Link from 'next/link' @@ -28,18 +28,15 @@ const featureConfig = [ }, { title: 'Classical Compute', - description: - 'Perform classical calculations and data manipulation alongside quantum operations seamlessly.', + description: 'Perform classical calculations and data manipulation alongside quantum operations seamlessly.', }, { title: 'Data Structures', - description: - 'Work with arrays, tuples, and user-defined types in both classical and quantum contexts.', + description: 'Work with arrays, tuples, and user-defined types in both classical and quantum contexts.', }, { title: 'First-class Functions', - description: - 'Define functions to write structured quantum software, and pass them just like any other value.', + description: 'Define functions to write structured quantum software, and pass them just like any other value.', }, { title: 'Legacy Support', @@ -83,8 +80,7 @@ export default async function Home() { }, { title: 'Post-selection', - description: - 'Exit a shot when an error is detected without running any more operations.', + description: 'Exit a shot when an error is detected without running any more operations.', className: 'bg-gradient-to-b from-[#3F8D82] to-[#699B31]', image: 'select.svg', href: '/guppy/guppylang/examples/postselect.html', @@ -108,31 +104,31 @@ export default async function Home() {

- guppy logo - guppy logo + guppy logo + guppy logo

Quantum-first programming
language, embedded in Python.

- +
+ + +
- guppy logo + guppy logo
@@ -172,12 +162,8 @@ export default async function Home() { ].map(({ title, description }) => { return (
-

- {title} -

-

- {description} -

+

{title}

+

{description}

) })} @@ -202,9 +188,7 @@ export default async function Home() { key={feature.title} className="bg-background self-stretch lg:w-[calc(33.333%-1.75rem)] shadow-md rounded-2xl border border-border/60 p-6 py-5 pb-6 text-xl" > -

- {feature.title} -

+

{feature.title}

{feature.description}

@@ -225,9 +209,7 @@ export default async function Home() {

Examples

-

- Some novel use cases with guppy. -

+

Some novel use cases with guppy.

{examples.map((feature) => { return ( @@ -235,31 +217,16 @@ export default async function Home() { key={feature.title} className="border border-border/60 shadow-md flex flex-col rounded-xl bg-background p-5" > -
- {`${feature.title} +
+ {`${feature.title}
-

- {feature.title} -

-

- {feature.description} -

+

{feature.title}

+

{feature.description}

- Open Notebook{' '} - + Open Notebook
) @@ -277,12 +244,10 @@ export default async function Home() {
-

- Open Source -

+

Open Source

- The guppylang compiler and the target HUGR intermediate - representation are open source, and welcome contributions! + The guppylang compiler and the target HUGR intermediate representation are open source, and welcome + contributions!

@@ -297,15 +262,8 @@ export default async function Home() { target="_blank" rel="noreferer" > - {`github - {item.title}{' '} - + {`github + {item.title} ) })} From b2e828c1d9c01e02e48d2e34d1e410a468289267 Mon Sep 17 00:00:00 2001 From: aidanCQ Date: Thu, 2 Apr 2026 11:52:16 +0100 Subject: [PATCH 2/5] Style changes. --- landing/src/app/page.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/landing/src/app/page.tsx b/landing/src/app/page.tsx index 7356832..bffa0e0 100644 --- a/landing/src/app/page.tsx +++ b/landing/src/app/page.tsx @@ -115,17 +115,14 @@ export default async function Home() { -
From 44863dc3b9cfba33ab296e4f060062f823141e02 Mon Sep 17 00:00:00 2001 From: aidanCQ Date: Wed, 13 May 2026 12:10:35 +0100 Subject: [PATCH 3/5] Clean. --- landing/src/app/page.tsx | 16 ++++++++-------- landing/tsconfig.json | 27 +++++++++++++++++++++------ package-lock.json | 6 ++++++ 3 files changed, 35 insertions(+), 14 deletions(-) create mode 100644 package-lock.json diff --git a/landing/src/app/page.tsx b/landing/src/app/page.tsx index bffa0e0..9d43e45 100644 --- a/landing/src/app/page.tsx +++ b/landing/src/app/page.tsx @@ -1,9 +1,9 @@ -import { GuppyLogo } from './_components/GuppyLogo' -import { CodeSnippet } from './code_snippet' import { Button, DocsFooter, DocsNavBar, Separator } from '@quantinuum/quantinuum-ui' import { ArrowRight } from 'lucide-react' import Image from 'next/image' import Link from 'next/link' +import { GuppyLogo } from './_components/GuppyLogo' +import { CodeSnippet } from './code_snippet' const featureConfig = [ { @@ -111,19 +111,19 @@ export default async function Home() { Quantum-first programming
language, embedded in Python. -
+
-
diff --git a/landing/tsconfig.json b/landing/tsconfig.json index 9bb90ae..53c6f65 100644 --- a/landing/tsconfig.json +++ b/landing/tsconfig.json @@ -1,13 +1,17 @@ { "compilerOptions": { - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", @@ -18,9 +22,20 @@ } ], "paths": { - "@/*": ["./src/*"] - } + "@/*": [ + "./src/*" + ] + }, + "target": "ES2017" }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] } diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..57d8a3d --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "guppy-docs", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} From 6f0457b709d2b977047dcc9c23ecaa8bcb035259 Mon Sep 17 00:00:00 2001 From: aidanCQ Date: Wed, 13 May 2026 12:16:21 +0100 Subject: [PATCH 4/5] Revert --- landing/tsconfig.json | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/landing/tsconfig.json b/landing/tsconfig.json index 53c6f65..9bb90ae 100644 --- a/landing/tsconfig.json +++ b/landing/tsconfig.json @@ -1,17 +1,13 @@ { "compilerOptions": { - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "bundler", + "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", @@ -22,20 +18,9 @@ } ], "paths": { - "@/*": [ - "./src/*" - ] - }, - "target": "ES2017" + "@/*": ["./src/*"] + } }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - ".next/dev/types/**/*.ts" - ], - "exclude": [ - "node_modules" - ] + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] } From c6e9b82371d1ebc56b4733200935a51b0a3b6e19 Mon Sep 17 00:00:00 2001 From: aidanCQ Date: Wed, 13 May 2026 12:16:55 +0100 Subject: [PATCH 5/5] Remove erroneous lock file. --- package-lock.json | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 57d8a3d..0000000 --- a/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "guppy-docs", - "lockfileVersion": 3, - "requires": true, - "packages": {} -}