import { Link } from "@/i18n/routing"; import { TestimonialCard } from "poyraz-ui/molecules"; import { REFERENCES } from "@/data/references"; import { useLocale } from "next-intl"; import { getLocalizedValue } from "@/lib/locale"; type ReferenceCardsProps = { className?: string; cardClassName?: string; }; export function ReferenceCards({ className, cardClassName }: ReferenceCardsProps) { const locale = useLocale(); return (
{REFERENCES.map((item) => { const card = ( ); if (!item.profileHref) { return
{card}
; } return ( {card} ); })}
); }