From a86a2ec8f8e273f41d0720102827100d2d6f8b0a Mon Sep 17 00:00:00 2001 From: ferrreo Date: Sun, 16 Jul 2023 15:14:12 +0100 Subject: [PATCH] Add new isos, consolidate mirror to just world wide --- src/components/widgets/Downloads.astro | 5 ++-- src/pages/index.astro | 36 ++++++++++++++++++++------ 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/src/components/widgets/Downloads.astro b/src/components/widgets/Downloads.astro index 8470fe7..88f25e2 100644 --- a/src/components/widgets/Downloads.astro +++ b/src/components/widgets/Downloads.astro @@ -3,7 +3,6 @@ import { Icon } from 'astro-icon'; interface Download { text: string; - hrefEU: string; hrefWW: string; md5: string; isComgingSoon: boolean; @@ -37,11 +36,11 @@ const { ) } {subtitle &&

} -

ISO
EU Mirror
World Mirror
Hash
+
ISO
World Mirror
Hash
{ downloads && downloads.map((download) => ( -
{download.text}
{download.isComgingSoon ? "Coming Soon" : ({}ISO)}
{download.isComgingSoon ? "Coming Soon" : ({}ISO)}
{download.isComgingSoon ? "Coming Soon" : ({}MD5)}
+
{download.text}
{download.isComgingSoon ? "Coming Soon" : ({}ISO)}
{download.isComgingSoon ? "Coming Soon" : ({}MD5)}
)) }
diff --git a/src/pages/index.astro b/src/pages/index.astro index 59c9814..26363a3 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -258,20 +258,40 @@ const meta = { downloads={[ { text: "Gnome", - hrefEU: - "https://pika-os.com/PikaOS-Gnome-2304-amd64-23.05.30.iso", - hrefWW: "https://cdn.pika-os.com/PikaOS-Gnome-2304-amd64-23.05.30.iso", - md5: "https://pika-os.com/PikaOS-Gnome-2304-amd64-23.05.30.md5", + hrefWW: "https://cdn.pika-os.com/PikaOS-Gnome-2304-amd64-23.07.16.iso", + md5: "https://iso.pika-os.com/PikaOS-Gnome-2304-amd64-23.07.16.md5", isComgingSoon: false, }, { text: "KDE", - hrefEU: - "https://pika-os.com/PikaOS-KDE-2304-amd64-23.05.30.iso", - hrefWW: "https://cdn.pika-os.com/PikaOS-KDE-2304-amd64-23.05.30.iso", - md5: "https://pika-os.com/PikaOS-KDE-2304-amd64-23.05.30.md5", + hrefWW: "https://cdn.pika-os.com/PikaOS-KDE-2304-amd64-23.07.16.iso", + md5: "https://iso.pika-os.com/PikaOS-KDE-2304-amd64-23.07.16.md5", isComgingSoon: false, }, + { + text: "Hyprland", + hrefWW: "https://cdn.pika-os.com/PikaOS-Hyprland-2304-amd64-23.07.16.iso", + md5: "https://iso.pika-os.com/PikaOS-Hyprland-2304-amd64-23.07.16.md5", + isComgingSoon: true, + }, + { + text: "Gnome Nvidia", + hrefWW: "https://cdn.pika-os.com/PikaOS-nvidia-Gnome-2304-amd64-23.07.16.iso", + md5: "https://iso.pika-os.com/PikaOS-nvidia-Gnome-2304-amd64-23.07.16.md5", + isComgingSoon: false, + }, + { + text: "KDE Nvidia", + hrefWW: "https://cdn.pika-os.com/PikaOS-nvidia-KDE-2304-amd64-23.07.16.iso", + md5: "https://iso.pika-os.com/PikaOS-nvidia-KDE-2304-amd64-23.07.16.md5", + isComgingSoon: false, + }, + { + text: "Hyprland Nvidia", + hrefWW: "https://cdn.pika-os.com/PikaOS-nvidia-Hyprland-2304-amd64-23.07.16.iso", + md5: "https://iso.pika-os.com/PikaOS-nvidia-Hyprland-2304-amd64-23.07.16.md5", + isComgingSoon: true, + }, ]} > PikaOS Download