import Image from 'next/image'; const iconMap = { 'API Tool': '/toolIcons/tool_api_tool.svg', 'Brave Search Tool': '/toolIcons/tool_brave.svg', 'Cryptoprice Tool': '/toolIcons/tool_cryptoprice.svg', 'Ntfy Tool': '/toolIcons/tool_ntfy.svg', 'PostgreSQL Tool': '/toolIcons/tool_postgres.svg', 'Read Webpage Tool': '/toolIcons/tool_read_webpage.svg', 'Telegram Tool': '/toolIcons/tool_telegram.svg' }; export function ToolCards({ items }) { return ( <>
{items.map(({ title, link, description }) => { const isExternal = link.startsWith('https://'); const iconSrc = iconMap[title] || '/default-icon.png'; // Default icon if not found return (
{iconSrc &&
{title}
} {/* Reduced icon size */}

{title}

{description &&

{description}

} {/* Card URL element removed from here */}
); })}
); }