import Link from 'next/link'; import { ArrowRight } from 'lucide-react'; import { ElementType } from 'react'; interface ToolCardProps { title: string; description: string; icon: ElementType; url: string; index: number; badges?: string[]; } export default function ToolCard({ title, description, icon: Icon, url, index, badges }: ToolCardProps) { return ( {/* Top shimmer accent on hover */}
{/* Radial glow on hover */}
{/* Icon */}
{/* Title */}

{title}

{/* Description */}

{description}

{/* Footer: badges + arrow */}
{badges && badges.length > 0 ? (
{badges.map((badge) => ( {badge} ))}
) : ( )}
); }