From 223f008bee4e2d6d3b720a7571ecf7c42d44e976 Mon Sep 17 00:00:00 2001 From: Yana Date: Wed, 11 Dec 2024 15:40:46 +0700 Subject: [PATCH] wip --- explorer-nextjs/src/app/page.tsx | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/explorer-nextjs/src/app/page.tsx b/explorer-nextjs/src/app/page.tsx index e48c43d3a7..35e1709eef 100644 --- a/explorer-nextjs/src/app/page.tsx +++ b/explorer-nextjs/src/app/page.tsx @@ -23,6 +23,47 @@ import React, { useEffect, useState } from "react"; import { type ContentCardProps, MonoCard } from "../components/cards/MonoCard"; import { type ExplorerData, getCacheExplorerData } from "./api"; +const accountStatsCard: IAccountStatsCardProps = { + overTitle: "Total value", + priceTitle: 1990.0174, + rows: [ + { type: "Spendable", allocation: 15.53, amount: 12800, value: 1200 }, + { + type: "Delegated", + allocation: 15.53, + amount: 12800, + value: 1200, + history: [ + { type: "Liquid", amount: 6900 }, + { type: "Locked", amount: 6900 }, + ], + }, + { + type: "Claimable", + allocation: 15.53, + amount: 12800, + value: 1200, + history: [ + { type: "Unlocked", amount: 6900 }, + { type: "Staking rewards", amount: 6900 }, + { type: "Operator comission", amount: 6900 }, + ], + }, + { + type: "Self bonded", + allocation: 15.53, + amount: 12800, + value: 1200, + }, + { + type: "Locked", + allocation: 15.53, + amount: 12800, + value: 1200, + }, + ], +}; + export default function Home() { const [explorerData, setExplorerData] = useState();