From d35659f6f62b05b8d08dd37ee377ba8cf5370389 Mon Sep 17 00:00:00 2001 From: itsMapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Sun, 12 Mar 2023 15:01:12 -0500 Subject: [PATCH] fix website build --- packages/reacord/tsconfig.json | 3 ++- packages/website/package.json | 2 +- packages/website/src/components/app-footer.astro | 2 +- .../website/src/components/main-navigation.astro | 14 +++++++------- packages/website/tsconfig.json | 13 ++++++++++++- pnpm-lock.yaml | 8 ++++---- 6 files changed, 27 insertions(+), 15 deletions(-) diff --git a/packages/reacord/tsconfig.json b/packages/reacord/tsconfig.json index 9536a0f..86dfcb8 100644 --- a/packages/reacord/tsconfig.json +++ b/packages/reacord/tsconfig.json @@ -1,3 +1,4 @@ { - "extends": "../../tsconfig.base.json" + "extends": "../../tsconfig.base.json", + "include": ["**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs"] } diff --git a/packages/website/package.json b/packages/website/package.json index cc446e9..06e9c75 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -20,7 +20,7 @@ "@fontsource/jetbrains-mono": "^4.5.12", "@fontsource/rubik": "^4.5.14", "@headlessui/react": "^1.6.6", - "@heroicons/react": "^1.0.6", + "@heroicons/react": "^2.0.16", "@reach/rect": "^0.17.0", "@remix-run/node": "^1.6.5", "@remix-run/react": "^1.6.5", diff --git a/packages/website/src/components/app-footer.astro b/packages/website/src/components/app-footer.astro index d322f9f..a2cf37a 100644 --- a/packages/website/src/components/app-footer.astro +++ b/packages/website/src/components/app-footer.astro @@ -1,5 +1,5 @@ --- -import { HeartIcon } from "@heroicons/react/solid" +import { HeartIcon } from "@heroicons/react/20/solid" import ExternalLink from "./external-link.astro" --- diff --git a/packages/website/src/components/main-navigation.astro b/packages/website/src/components/main-navigation.astro index 836ec0f..30ad013 100644 --- a/packages/website/src/components/main-navigation.astro +++ b/packages/website/src/components/main-navigation.astro @@ -1,10 +1,10 @@ --- -import { MenuIcon } from "@heroicons/react/outline" import { - CodeIcon, + ArrowTopRightOnSquareIcon, + CodeBracketIcon, DocumentTextIcon, - ExternalLinkIcon, -} from "@heroicons/react/solid" +} from "@heroicons/react/20/solid" +import { Bars3Icon } from "@heroicons/react/24/outline" import AppLogo from "./app-logo.astro" import ExternalLink from "./external-link.astro" import MenuItem from "./menu-item.astro" @@ -20,13 +20,13 @@ const links = [ { href: "/api/", label: "API Reference", - icon: CodeIcon, + icon: CodeBracketIcon, component: "a", }, { href: "https://github.com/itsMapleLeaf/reacord", label: "GitHub", - icon: ExternalLinkIcon, + icon: ArrowTopRightOnSquareIcon, component: ExternalLink, }, ] @@ -53,7 +53,7 @@ const links = [