import Image from "next/image"; import Link from "next/link"; export default function TestimonialCard({ src, alt, url, innerText, user }) { const finalsrc = Boolean(src) ? src : "/images/logo.png"; const isMe = user == "Shadow8t4" ? "text-werefox-blue-dark dark:text-werefox-blue" : "text-werefox-pink-dark dark:text-werefox-pink"; const isMeLink = user == "Shadow8t4" ? "hover:text-werefox-pink-dark dark:hover:text-werefox-pink" : "hover:text-werefox-blue-dark dark:hover:text-werefox-blue"; let testimonialarray = innerText.split("\n"); testimonialarray = testimonialarray.slice(0, testimonialarray.length - 1); const testimonialdict = Object.assign({}, testimonialarray); return (
{" "} {alt} {" "}
{Object.keys(testimonialdict).map((t) => (

{testimonialdict[t] == "" ?
: testimonialdict[t]}

))}

{"- "} {`@${user}`}

); }