From 18c593000a21d95e8ce3f283dc8f74b8b3e8162c Mon Sep 17 00:00:00 2001 From: Jared Schoeny Date: Fri, 24 Oct 2025 14:13:28 -1000 Subject: [PATCH] Change patch downloads symbol --- src/components/Hack/DownloadsBadge.tsx | 4 ++-- src/components/HackCard.tsx | 13 +++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/components/Hack/DownloadsBadge.tsx b/src/components/Hack/DownloadsBadge.tsx index 9a999a6..ba1c2da 100644 --- a/src/components/Hack/DownloadsBadge.tsx +++ b/src/components/Hack/DownloadsBadge.tsx @@ -1,7 +1,7 @@ "use client"; import React from "react"; -import { FaDownload } from "react-icons/fa6"; +import { ImDownload } from "react-icons/im"; import { formatCompactNumber } from "@/utils/format"; import type { DownloadEvent } from "@/types/util"; @@ -28,7 +28,7 @@ export default function DownloadsBadge({ slug, initialCount }: { slug: string; i anim ? "scale-110 shadow-md font-bold" : "" }`} > - + {formatCompactNumber(count)} ); diff --git a/src/components/HackCard.tsx b/src/components/HackCard.tsx index 83283a1..ceb60fe 100644 --- a/src/components/HackCard.tsx +++ b/src/components/HackCard.tsx @@ -8,6 +8,7 @@ import { useEffect, useState } from "react"; import useEmblaCarousel from "embla-carousel-react"; import { usePathname } from "next/navigation"; import { FaRegImages } from "react-icons/fa6"; +import { ImDownload } from "react-icons/im"; type CardHack = { slug: string; @@ -142,14 +143,10 @@ export default function HackCard({ hack, clickable = true, className = "" }: { h

By {hack.author}

-
- - - - - - {formatCompactNumber(hack.downloads)} -
+
+ + {formatCompactNumber(hack.downloads)} +

{(() => {