diff --git a/next.config.js b/next.config.js index 70be9c84c8..56e13b9dc0 100644 --- a/next.config.js +++ b/next.config.js @@ -3,9 +3,10 @@ import nextra from "nextra" import path from "node:path" import withLess from "next-with-less" -import { remarkGraphiQLComment } from "./src/remark-graphiql-comment.js" import fs from "fs" +import { remarkGraphiQLComment } from "./src/remark-graphiql-comment.js" + const vercelJSON = JSON.parse(fs.readFileSync("./vercel.json", "utf-8")) const withNextra = nextra({ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fb8006eaa9..b9052f1ef5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7688,6 +7688,10 @@ snapshots: dependencies: acorn: 8.11.3 + acorn-jsx@5.3.2(acorn@8.15.0): + dependencies: + acorn: 8.15.0 + acorn@8.11.3: {} acorn@8.15.0: {} @@ -9827,7 +9831,7 @@ snapshots: mdast-util-mdx@3.0.0: dependencies: - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.2 mdast-util-mdx-expression: 2.0.0 mdast-util-mdx-jsx: 3.1.2 mdast-util-mdxjs-esm: 2.0.1 @@ -10055,8 +10059,8 @@ snapshots: micromark-extension-mdxjs@3.0.0: dependencies: - acorn: 8.11.3 - acorn-jsx: 5.3.2(acorn@8.11.3) + acorn: 8.15.0 + acorn-jsx: 5.3.2(acorn@8.15.0) micromark-extension-mdx-expression: 3.0.0 micromark-extension-mdx-jsx: 3.0.0 micromark-extension-mdx-md: 2.0.0 diff --git a/public/img/graph-wash.png b/public/img/graph-wash.png deleted file mode 100644 index 678844a070..0000000000 Binary files a/public/img/graph-wash.png and /dev/null differ diff --git a/src/components/index-page/how-it-works.tsx b/src/components/index-page/how-it-works.tsx index 5c6abf22d1..c882b76c1f 100644 --- a/src/components/index-page/how-it-works.tsx +++ b/src/components/index-page/how-it-works.tsx @@ -1,43 +1,46 @@ -import Link from "next/link" +import { ChevronRight } from "@/app/conf/_design-system/pixelarticons/chevron-right" +import { Button } from "@/app/conf/_design-system/button" + import { CodeA, CodeB, CodeC } from "../code-blocks" -import { clsx } from "clsx" + +const TRY_IT_OUT_URL = "https://graphql.org/swapi-graphql" export function HowItWorks() { return ( -