From 56279992be34ec99ec8f131610664cfae16c6333 Mon Sep 17 00:00:00 2001 From: John Gribbin <30157175+johngribbin@users.noreply.github.com> Date: Tue, 21 May 2024 19:20:40 -0400 Subject: [PATCH] Fix bug where apple buttons are missing from full list (#10) --- src/lib/components/shared/Downloads.svelte | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/lib/components/shared/Downloads.svelte b/src/lib/components/shared/Downloads.svelte index 3507647..9a135b3 100644 --- a/src/lib/components/shared/Downloads.svelte +++ b/src/lib/components/shared/Downloads.svelte @@ -36,7 +36,20 @@ href: string isFirst: boolean icon: string - }[] = [] + }[] = [ + { + os: 'Silicon', + href: `${CRAB_NEBULA_URL}/dmg-aarch64`, + isFirst: os === 'macos-arm', + icon: AppleIcon + }, + { + os: 'Intel', + href: `${CRAB_NEBULA_URL}/dmg-x86_64`, + isFirst: os === 'macos-intel', + icon: AppleIcon + } + ] const comingSoonDownloads = [ {