From cc9e81ac93b66b1d7ec308424fcd67bfc6d671c0 Mon Sep 17 00:00:00 2001 From: Ruzbyte <104939854+ruzbyte@users.noreply.github.com> Date: Wed, 10 Jun 2026 05:04:36 +0200 Subject: [PATCH] fix(marketing) : marketing showing wrong icons on linux (#2696) Co-authored-by: Julius Marminge --- apps/marketing/src/components/TuxIcon.astro | 53 --------------------- apps/marketing/src/pages/download.astro | 2 +- apps/marketing/src/pages/index.astro | 8 ++-- 3 files changed, 5 insertions(+), 58 deletions(-) delete mode 100644 apps/marketing/src/components/TuxIcon.astro diff --git a/apps/marketing/src/components/TuxIcon.astro b/apps/marketing/src/components/TuxIcon.astro deleted file mode 100644 index a6f1b4902c6b68443825a29503e73b42a9289c28..0000000000000000000000000000000000000000 --- a/apps/marketing/src/components/TuxIcon.astro +++ /dev/null @@ -1,53 +0,0 @@ ---- -interface Props { - class?: string; - idPrefix: string; -} - -const { class: className, idPrefix } = Astro.props; ---- - - diff --git a/apps/marketing/src/pages/download.astro b/apps/marketing/src/pages/download.astro index b9e0e0181e4f7ab20eeaf71602e800831c036c5a..76977ad4ce25e2d7d53a8857a94c748e1a59b18e 100644 --- a/apps/marketing/src/pages/download.astro +++ b/apps/marketing/src/pages/download.astro @@ -47,7 +47,7 @@ import { RELEASES_URL } from "../lib/releases";
- +

Linux

diff --git a/apps/marketing/src/pages/index.astro b/apps/marketing/src/pages/index.astro index dd2ba30a71a569bd0b3becb7a513f37a168c5389..0b76f3508968166d7dcdd2bb072b555a2021e78a 100644 --- a/apps/marketing/src/pages/index.astro +++ b/apps/marketing/src/pages/index.astro @@ -1,6 +1,5 @@ --- import Layout from "../layouts/Layout.astro"; -import TuxIcon from "../components/TuxIcon.astro"; import { tweets } from "../lib/tweets"; const desktopEndorsementRows = [ @@ -53,7 +52,7 @@ const mobileEndorsementRows = [ > - + Download for macOS @@ -360,7 +359,8 @@ const mobileEndorsementRows = [ - + + Download for macOS Windows · Linux · other @@ -548,7 +548,7 @@ const mobileEndorsementRows = [ :global([data-platform="mac"]) .dl-icon--apple { display: block; } :global([data-platform="win"]) .dl-icon--windows { display: block; } :global([data-platform="linux"]) .dl-icon--linux { display: block; } - :global(:not([data-platform])) .dl-icon--apple { display: block; } + :global(html:not([data-platform])) .dl-icon--apple { display: block; } /* Floating harness marks */ .hero-float { -- 2.54.0