fix website build

This commit is contained in:
itsMapleLeaf
2023-03-12 15:01:12 -05:00
parent 3969e6471f
commit d35659f6f6
6 changed files with 27 additions and 15 deletions

View File

@@ -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",

View File

@@ -1,5 +1,5 @@
---
import { HeartIcon } from "@heroicons/react/solid"
import { HeartIcon } from "@heroicons/react/20/solid"
import ExternalLink from "./external-link.astro"
---

View File

@@ -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 = [
<Menu>
<Fragment slot="button">
<MenuIcon className="w-6" />
<Bars3Icon className="w-6" />
<span class="sr-only">Menu</span>
</Fragment>
{

View File

@@ -8,5 +8,16 @@
"~/*": ["./src/*"]
}
},
"include": ["**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs", "**/*.astro"]
"include": ["**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs", "**/*.astro"],
"exclude": [
"**/node_modules/**",
"**/coverage/**",
"**/build/**",
"**/dist/**",
"**/.cache/**",
"**/api/_build/**",
"**/public/**",
"**/cypress/**",
"app"
]
}