"use client"; import { useApp } from "@/contexts/AppContext"; import Sidebar from "@/components/Sidebar"; import TopBar from "@/components/TopBar"; import StatsCards from "@/components/StatsCards"; import ProductCard from "@/components/ProductCard"; import Image from "next/image"; import { Button } from "@heroui/react"; export default function ProductPage() { const { t } = useApp(); const statsData = [ { label: "Total Value Locked", value: "$465.0M", change: "+2.4%", isPositive: true, }, { label: "Cumulative Yield", value: "$505,232", change: "+2.4%", isPositive: true, }, { label: "Your Total Balance", value: "$10,000", change: "+2.4%", isPositive: true, }, { label: "Your Total Earning", value: "--", change: "+2.4%", isPositive: true, }, ]; const products = [ { id: 1, name: "High-Yield US Equity", category: "Quant Strategy", icon: "/product-us-equity.svg", yieldAPY: "22.0%", poolCap: "10M", maturity: "05 Feb 2026", risk: "Medium", riskLevel: 2, lockUp: "12 Months", circulatingSupply: "$2.5M", poolCapacityPercent: 75, }, { id: 2, name: "HK Commercial RE", category: "Real Estate", icon: "/product-hk-re.svg", yieldAPY: "22.0%", poolCap: "10M", maturity: "05 Feb 2026", risk: "LOW", riskLevel: 1, lockUp: "12 Months", circulatingSupply: "$2.5M", poolCapacityPercent: 75, }, { id: 3, name: "High-Yield US Equity", category: "Quant Strategy", icon: "/product-us-equity-2.svg", yieldAPY: "22.0%", poolCap: "10M", maturity: "05 Feb 2026", risk: "High", riskLevel: 3, lockUp: "12 Months", circulatingSupply: "$2.5M", poolCapacityPercent: 75, }, ]; return (