From 14abb54108e1818fd9ba549aed4f59fe723b2d7c Mon Sep 17 00:00:00 2001 From: gunshiz Date: Mon, 29 Jun 2026 21:58:13 +0700 Subject: [PATCH] feat: add Redis caching for follower counts, implement fetch timeouts, enable Nginx gzip compression, and refactor icon management. --- components/LinkCard.tsx | 16 ++-------------- docker-compose.yml | 6 ++---- lib/config.ts | 15 ++++++++------- lib/followers/discord.ts | 1 + lib/followers/index.ts | 26 +++++++++++++++++++++++++- lib/followers/roblox.ts | 2 +- lib/followers/tiktok.ts | 3 ++- lib/followers/youtube.ts | 2 +- lib/icons.tsx | 37 +++++++++++++++++++++++++++++++++++++ nginx.conf | 32 +++++++++++++++++++++++++++++--- 10 files changed, 108 insertions(+), 32 deletions(-) create mode 100644 lib/icons.tsx diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index ea8a3a9..ba41167 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -3,7 +3,6 @@ import { useState } from "react"; import { Button } from "@/components/ui/button"; import { CardContent } from "@/components/ui/card"; -import Image from "next/image"; import Link from "next/link"; import { ArrowLeft, ArrowRight } from "lucide-react"; import { config, config_p2 } from "@/lib/config"; @@ -18,8 +17,7 @@ export function LinkCard({ counts }: { counts: FollowerCounts }) {