"use client"; import Image from "next/image"; import Link from "next/link"; import { useState } from "react"; export interface BrandCardProps { name: string; imageUrl: string; url?: string; } export const BrandCard = ({ name, imageUrl, url }: BrandCardProps) => { const [imageError, setImageError] = useState(false); const [loaded, setLoaded] = useState(false); const cardContent = (
{name}