From 3429df4273e9ffeb5c67b0ede42fe5f29848dde2 Mon Sep 17 00:00:00 2001 From: yusufipk <50673822-yusufipk@users.noreply.replit.com> Date: Wed, 17 Dec 2025 14:22:13 +0000 Subject: [PATCH] Restored to 'd1470a5818dc60498a699347c3ffffd9afb70634' Replit-Restored-To: d1470a5818dc60498a699347c3ffffd9afb70634 --- client/src/components/DECard.tsx | 42 ++++++++------------------------ client/src/data/distros.json | 36 +++++++++------------------ 2 files changed, 22 insertions(+), 56 deletions(-) diff --git a/client/src/components/DECard.tsx b/client/src/components/DECard.tsx index 07afa99..8093c68 100644 --- a/client/src/components/DECard.tsx +++ b/client/src/components/DECard.tsx @@ -10,14 +10,11 @@ interface DECardProps { resourceUsage: string; customization: string; colorPalette: string[]; - image?: string; }; onSwipe: (direction: 'left' | 'right' | 'super') => void; isTop: boolean; } -const deImages: Record = {}; - const styleIcons: Record = { 'modern': Settings, 'minimalist': Feather, @@ -116,35 +113,16 @@ export default function DECard({ de, onSwipe, isTop }: DECardProps) { GEÇ -
- {de.image ? ( -
- {de.name} { - e.currentTarget.style.display = 'none'; - e.currentTarget.parentElement!.style.display = 'none'; - }} - /> -
- ) : ( -
- -
- )} +
+
+ +