// app/components/InfoCard.tsx import { HiOutlineArrowNarrowRight } from "react-icons/hi"; interface InfoCardProps { title: string; description: string; actionLabel: string; href?: string; onClick?: () => void; } export default function InfoCard({ title, description, actionLabel, href, onClick }: InfoCardProps) { const actionClasses = ` group inline-flex items-center gap-2 text-[#f1c50e] font-bold uppercase text-[1rem] tracking-wider transition-all duration-300 relative pb-1 `; const content = ( <> {actionLabel} ); return (

{title}

{description}

{href ? ( {content} ) : ( )}
); }