Update frontend links, navbar, etc.

This commit is contained in:
Sam Heinz
2025-01-09 21:57:06 +10:00
parent 2cd120429e
commit b5036f77a3
6 changed files with 23 additions and 27 deletions

View File

@@ -70,9 +70,9 @@ export default function Page() {
<DialogHeader>
<DialogTitle>Thank You!</DialogTitle>
<DialogDescription>
A big thank you to Tteck and the many contributors who have
made this project possible. Your hard work is truly
appreciated by the entire Proxmox community!
A big thank you to Tteck, for your hard work over all of these years,
and also to the many other contributors to the project.
Your hard work is truly appreciated by the entire Proxmox community!
</DialogDescription>
</DialogHeader>
<CardFooter className="flex flex-col gap-2">
@@ -93,7 +93,18 @@ export default function Page() {
rel="noopener noreferrer"
className="flex items-center justify-center"
>
<ExternalLink className="mr-2 h-4 w-4" /> Proxmox Helper
<ExternalLink className="mr-2 h-4 w-4" /> Upstream Proxmox Helper
Scripts
</a>
</Button>
<Button className="w-full" asChild>
<a
href={`https://github.com/asylumexp/${basePath}`}
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center"
>
<ExternalLink className="mr-2 h-4 w-4" /> ARM64 port - Proxmox Helper
Scripts
</a>
</Button>
@@ -106,8 +117,7 @@ export default function Page() {
Make managing your Homelab a breeze
</h1>
<p className="max-w-2xl text-center text-lg leading-relaxed tracking-tight text-muted-foreground md:text-xl">
We are a community-driven initiative that simplifies the setup of
Proxmox Virtual Environment (VE).
This project aims to take the community-made Proxmox Helper Scripts, originally started by tteck, and port it to arm64.
<br />
<br />
Originally created by{" "}
@@ -118,12 +128,6 @@ export default function Page() {
<br />
the process of creating and configuring Linux containers (LXC) and
virtual machines (VMs) on Proxmox VE.
<br />
<br />
With 200+ scripts to help you manage your{" "}
<b>Proxmox VE environment</b>.<br />
Whether you&#39;re a seasoned user or a newcomer, we&#39;ve got
you covered.
</p>
</div>
<div className="flex flex-row gap-3">

View File

@@ -54,17 +54,9 @@ function ScriptItem({
<div className="ml-4 flex flex-col justify-between">
<div className="flex h-full w-full flex-col justify-between">
<div>
<h1 className="text-lg font-semibold">
<span title={
item.status === '✅' ? 'This has been tested and should work.' :
item.status === '❌' ? 'This is not supported.' :
item.status === '🚧' ? 'This has not been ported yet.' :
item.status === '🧪' ? 'This has been ported but not tested yet.' :
''
}>
{item.status}
</span> {item.name} {getDisplayValueFromType(item.type)}
</h1>
<h1 className="text-lg font-semibold">
{item.status} {item.name} {getDisplayValueFromType(item.type)}
</h1>
<p className="w-full text-sm text-muted-foreground">
Date added: {extractDate(item.date_created)}
</p>

View File

@@ -5,7 +5,7 @@ import { Script } from "@/lib/types";
import { getDisplayValueFromType } from "../ScriptInfoBlocks";
const getInstallCommand = (scriptPath?: string, isAlpine = false) => {
return `bash -c "$(wget -q${isAlpine ? "" : "L"}O - https://github.com/community-scripts/${basePath}/raw/main/${scriptPath})"`;
return `bash -c "$(wget -q${isAlpine ? "" : "L"}O - https://github.com/asylumexp/${basePath}/raw/main/${scriptPath})"`;
};
export default function InstallCommand({ item }: { item: Script }) {

View File

@@ -51,7 +51,7 @@ function Navbar() {
alt="logo"
src="logo.png"
/>
<span className="hidden lg:block">Proxmox VE Helper-Scripts</span>
<span className="hidden lg:block">Proxmox ARM64 Helper-Scripts</span>
</Link>
<div className="flex gap-2">
<CommandMenu />

View File

@@ -13,7 +13,7 @@ export default function StarOnGithubButton() {
const fetchStars = async () => {
try {
const res = await fetch(
`https://api.github.com/repos/community-scripts/${basePath}`,
`https://api.github.com/repos/asylumexp/${basePath}`,
{
next: { revalidate: 60 * 60 * 24 },
},

View File

@@ -34,7 +34,7 @@ export const navbarLinks = [
export const mostPopularScripts = [
"Proxmox VE Post Install",
"Docker",
"Home Assistant OS",
"PiMox HAOS",
];
export const analytics = {