import Image from "next/image"; import Link from "next/link"; export default function IdentityButton({ extraClasses, imageObj, innerText, url, locator, partners, }) { const images = Array(imageObj).flat(); const maybeLocator = locator ? `#${locator}` : ""; return (
{images.map((source) => ( {" "} {source.alt}{" "} ))}{" "} {innerText == "Partners" ? partners > 0 ? `Taken(${partners})` : "Single" : innerText}
); }