"use client"; import { useApp } from "@/contexts/AppContext"; export default function LiquidityAllocationTable() { const { t } = useApp(); const allocations = [ { icon: "GY", iconBg: "linear-gradient(135deg, #FF8904 0%, #F54900 100%)", name: "YT-GY", category: t("alp.quantStrategy"), poolSize: "$25,000", poolAmount: "24,1938 YTGY", currentWeight: "47%", targetWeight: "33%", currentPrice: "$1.03", }, { icon: "LOGO", iconBg: "linear-gradient(135deg, #00BBA7 0%, #007A55 100%)", name: "YT-GY", category: t("alp.quantStrategy"), poolSize: "$25,000", poolAmount: "24,1938 YTGY", currentWeight: "47%", targetWeight: "33%", currentPrice: "$1.03", }, { icon: "LOGO", iconBg: "linear-gradient(135deg, #1447E6 0%, #032BBD 100%)", name: "YT-GY", category: t("alp.quantStrategy"), poolSize: "$25,000", poolAmount: "24,1938 YTGY", currentWeight: "47%", targetWeight: "33%", currentPrice: "$1.03", }, ]; return (
{/* Title */}

{t("alp.liquidityAllocation")}

{/* Table */}
{/* Header */}
{t("alp.token")}
{t("alp.poolSize")}
{t("alp.currentTargetWeight")}
{t("alp.currentPrice")}
{/* Body */} {allocations.map((item, index) => (
{/* Token Column */}
{item.icon}
{item.name} {item.category}
{/* Pool Size Column */}
{item.poolSize} {item.poolAmount}
{/* Weight Column */}
{item.currentWeight} / {item.targetWeight}
{/* Price Column */}
{item.currentPrice}
))}
); }