Use static assets instead of fetching from github (#156)

This commit is contained in:
Håvard Gjøby Thom 2024-11-09 20:06:54 +01:00 committed by GitHub
parent 2af11d145f
commit d199762427
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 136 additions and 107 deletions

View file

@ -1,7 +1,7 @@
import { MessagesSquare, Scroll } from "lucide-react";
import { FaGithub } from "react-icons/fa";
export const basePath = process.env.BASE_PATH;
export const basePath = process.env.BASE_PATH;
export const navbarLinks = [
{
@ -17,7 +17,7 @@ export const navbarLinks = [
text: "Change Log",
},
{
href: `https://github.com/community-scripts/${basePath}/discussions`,
href: `https://github.com/community-scripts/${basePath}/discussions`,
event: "Discussions",
icon: <MessagesSquare className="h-4 w-4" />,
text: "Discussions",