From d74c8deca5a6b260318931cb17d85754ce53292b Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Sat, 18 May 2024 00:15:07 +0200 Subject: [PATCH] Update Navbar component to make it more efficient to update + use --- components/Navbar.tsx | 90 +++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 51 deletions(-) diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 5c74a36..d5eef47 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -149,7 +149,7 @@ function Navbar() { pathname: "/scripts", query: { id: script.id }, }} - className="justify-between text-muted-foreground flex" + className="flex justify-between text-muted-foreground" > {script.title}{" "}
- - - - - + {[ + { + href: "https://github.com/tteck/Proxmox/blob/main/.github/CONTRIBUTING.md", + event: "Contributing", + icon: , + text: "Contribute", + }, + { + href: "https://github.com/tteck/Proxmox/blob/main/USER_SUBMITTED_GUIDES.md", + event: "Guides", + icon: , + text: "Guides", + }, + { + href: "https://github.com/tteck/Proxmox/blob/main/CHANGELOG.md", + event: "Change Log", + icon: , + text: "Changelog", + }, + { + href: "https://ko-fi.com/proxmoxhelperscripts", + event: "ko-fi", + icon: , + text: "Buy me a coffee", + }, + { + href: "https://github.com/tteck/Proxmox", + event: "View on GitHub", + icon: , + text: "View on Github", + }, + ].map(({ href, event, icon, text }) => ( + + ))}