import { clsx, type ClassValue } from "clsx"; import { twMerge } from "tailwind-merge"; export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); } export function formatCurrency( amount: number, currency: string = "EUR", ): string { return new Intl.NumberFormat("en-US", { style: "currency", currency, }).format(amount); } export function formatDate(dateString: string): string { const date = new Date(dateString); return date.toLocaleDateString("en-US", { year: "numeric", month: "short", day: "numeric", }); }