import Image from "next/image"; import { isUploadAssetPath } from "@/lib/image-url"; type Props = { src: string; alt: string; }; export function WaffleMenuImage({ src, alt }: Props) { if (src.startsWith("http://") || src.startsWith("https://")) { return ( // eslint-disable-next-line @next/next/no-img-element -- URLs externes arbitraires {alt} ); } return ( {alt} ); }