"use client"; import { CalendarDaysIcon } from "lucide-react"; import { cn } from "@/lib/utils"; import Image from "next/image"; interface XMap { [tag: string]: string; } interface ProjectCardProps { name: string; description: string; joinDate: string; location: string; tags: XMap | null | never[] | string[]; imageUri: string | null; minInvestment: number; totalInvestor: number; totalRaised: number; className?: string; } export function ProjectCard(props: ProjectCardProps) { return (
{props.description}
${props.totalRaised.toLocaleString()} committed and reserved
{props.totalInvestor.toLocaleString()} investors
${props.minInvestment.toLocaleString()} min. investment