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