From 0a1f8c25039051bbf4ccaabc12772b8350d90408 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Sat, 11 Jul 2026 14:21:51 +0700 Subject: [PATCH] feat(linktree):add donate link --- components/LinkCard.tsx | 12 ++++++++---- lib/config.ts | 8 +++++++- lib/icons.tsx | 13 ++++--------- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index cf893c1..2ed0975 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -8,7 +8,7 @@ import Link from "next/link"; import { ArrowLeft, ArrowRight } from "lucide-react"; import { LinkConfig, type IconName } from "@/lib/config"; import { getCountForLink, formatCount, FollowerCounts } from "@/lib/followers/utils"; -import { RobloxIcon, DiscordIcon, TiktokIcon, YoutubeIcon, FormIcon } from "@/lib/icons"; +import { RobloxIcon, DiscordIcon, TiktokIcon, YoutubeIcon, FormIcon, DonateIcon } from "@/lib/icons"; const iconMap: Record>> = { roblox: RobloxIcon, @@ -16,6 +16,7 @@ const iconMap: Record>> = { tiktok: TiktokIcon, youtube: YoutubeIcon, form: FormIcon, + donate: DonateIcon, }; export function LinkCard({ counts, links1, links2 }: { counts: FollowerCounts, links1: LinkConfig[], links2: LinkConfig[] }) { @@ -28,6 +29,7 @@ export function LinkCard({ counts, links1, links2 }: { counts: FollowerCounts, l