import Link from "next/link"; import { getStatusClass } from "@/components/petUtils"; //Card shown in the adopt grid, links to the pet's detail page export default function PetCard({petId, petName, petSpecies, petStatus, imageUrl}) { return (
{petName} { e.currentTarget.onerror = null; e.currentTarget.src = "/images/pet-placeholder.png"; }} />

{petName}

{petSpecies}

{petStatus}
); }