"use client"; import { CalendarDaysIcon } from "lucide-react"; interface XMap { // tagName: colorCode [tag: string]: string; } interface ExtendableCardProps { name: string; description: string; joinDate: string; location: string; tags: XMap | null; minInvestment: number; totalInvestor: number; totalRaised: number; } export function ExtendableCard(props: ExtendableCardProps) { return (
Card image
{props.name}
{/* Default content (visible when not hovered) */}
Joined {props.joinDate}
{props.location}
{["Technology", "Gaming"].map((tag) => ( {tag} ))}
{/* Hover content (appears when hovered) */}

{props.description}


${props.totalRaised.toLocaleString()}{" "} committed and reserved


{props.totalInvestor.toLocaleString()}{" "} investors


${props.minInvestment.toLocaleString()} min. investment

); }