"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", categoryColor: "blue" as const, iconType: "us-flag-1" as const, yieldAPY: "22.0%", poolCap: "10M", maturity: "05 Feb 2026", risk: "Medium", riskLevel: 2 as const, lockUp: "12 Months", circulatingSupply: "$2.5M", poolCapacityPercent: 75, }, { id: 2, name: "HK Commercial RE", category: "Real Estate", categoryColor: "green" as const, iconType: "hk-flag" as const, yieldAPY: "22.0%", poolCap: "10M", maturity: "05 Feb 2026", risk: "LOW", riskLevel: 1 as const, lockUp: "12 Months", circulatingSupply: "$2.5M", poolCapacityPercent: 75, }, { id: 3, name: "High-Yield US Equity", category: "Quant Strategy", categoryColor: "purple" as const, iconType: "us-flag-2" as const, yieldAPY: "22.0%", poolCap: "10M", maturity: "05 Feb 2026", risk: "High", riskLevel: 3 as const, lockUp: "12 Months", circulatingSupply: "$2.5M", poolCapacityPercent: 75, }, ]; return (
{/* Page Title */}

AssetX Fund Market

{/* Stats Cards */}
{/* Assets Section */}
{/* Section Header */}

Assets

{/* Product Cards Grid */}
{products.map((product) => ( console.log("Invest in", product.name)} /> ))}
); }