"use client"; import Image from "next/image"; type FeatureCardProps = { title?: string; content?: string; imageLightSrc?: string; imageDarkSrc?: string; /** * Deprecated: prefer imageLightSrc and imageDarkSrc */ imageSrc?: string; }; export function FeatureCard({ title, content, imageLightSrc, imageDarkSrc, imageSrc, }: FeatureCardProps) { return (
{imageLightSrc || imageDarkSrc ? ( <> {title {title ) : imageSrc ? ( {title ) : ( <> Feature image Feature image )}

{title || ""}

{content ? (

{content}

) : (
)}
); }