Website: Add discord link to navbar (#405)

This commit is contained in:
Bram Suurd 2024-11-21 07:51:02 +01:00 committed by GitHub
parent a146ecf22a
commit 378a9be1bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
import { MessagesSquare, Scroll } from "lucide-react";
import { FaGithub } from "react-icons/fa";
import { FaDiscord, FaGithub } from "react-icons/fa";
export const basePath = process.env.BASE_PATH;
@ -10,16 +10,22 @@ export const navbarLinks = [
icon: <FaGithub className="h-4 w-4" />,
text: "Github",
},
{
href: `https://discord.gg/2wvnMDgdnU`,
event: "Discord",
icon: <FaDiscord className="h-4 w-4" />,
text: "Discord",
},
{
href: `https://github.com/community-scripts/${basePath}/blob/main/CHANGELOG.md`,
event: "Change Log",
icon: <Scroll className="h-4 w-4" />,
icon: <Scroll className="h-4 w-4 hidden sm:block" />,
text: "Change Log",
},
{
href: `https://github.com/community-scripts/${basePath}/discussions`,
event: "Discussions",
icon: <MessagesSquare className="h-4 w-4" />,
icon: <MessagesSquare className="h-4 w-4 hidden sm:block" />,
text: "Discussions",
},
];