"use client"; import { useApp } from "@/contexts/AppContext"; export default function LendingHeader() { const { t } = useApp(); const stats = [ { label: t("lending.totalUsdcSupply"), value: "$200.4M", valueColor: "text-text-primary dark:text-white", }, { label: t("lending.utilization"), value: "65%", valueColor: "text-[#10b981] dark:text-green-400", }, { label: t("lending.activeLoans"), value: "3", valueColor: "text-text-primary dark:text-white", }, ]; return (
{/* Title Section */}

{t("lending.title")}

{t("lending.subtitle")}

{/* Stats Cards */}
{stats.map((stat, index) => (
{stat.label} {stat.value}
))}
); }