"use client"; import { Button } from "@heroui/react"; import { useRouter } from "next/navigation"; import { useApp } from "@/contexts/AppContext"; import BorderedButton from "@/components/common/BorderedButton"; interface BorrowMarketItem { icon: string; iconBg: string; name: string; nameEn?: string; category: string; badge?: string; yourBalance: string; yourInterest: string; borrowed: string; ltv: string; ltvColor: string; ltvProgress: number; } export default function BorrowMarket() { const { t } = useApp(); const router = useRouter(); const items: BorrowMarketItem[] = [ { icon: "GY", iconBg: "linear-gradient(135deg, #FF8904 0%, #F54900 100%)", name: "高盈美股量化策略", category: "Quant Strategy • RWA-042", yourBalance: "$25,000", yourInterest: "+$1,250", borrowed: "$12,500", ltv: "50%", ltvColor: "text-[#ff6900]", ltvProgress: 50, }, { icon: "LOGO", iconBg: "linear-gradient(135deg, #00BBA7 0%, #007A55 100%)", name: "HK Commercial RE", nameEn: "PI Only", category: "Real Estate • RWA-109", yourBalance: "$25,000", yourInterest: "+$1,250", borrowed: "$12,500", ltv: "40%", ltvColor: "text-[#ff6900]", ltvProgress: 40, }, { icon: "LOGO", iconBg: "linear-gradient(135deg, #00BBA7 0%, #007A55 100%)", name: "HK Commercial RE", category: "Real Estate • RWA-109", yourBalance: "$25,000", yourInterest: "+$1,250", borrowed: "$12,500", ltv: "0%", ltvColor: "text-text-tertiary", ltvProgress: 0, }, ]; return (