Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions src/components/data-api-providers-pivot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,18 +320,24 @@ function ChainSubScores({
return (
<>
{visible.map((c) => (
<span
<div
key={c.chain}
className="text-[8px] font-bold rounded px-1 py-0.5"
style={{
color: accent,
background: `${accent}22`,
letterSpacing: "0.04em",
}}
className="flex items-center gap-0.5"
title={`${c.label}: #1`}
>
{c.label}
</span>
<span
className="text-[8px] font-medium uppercase text-ink-faint"
style={{ letterSpacing: "0.04em" }}
>
{c.label}
</span>
<span
className="text-[9px] font-bold"
style={{ color: accent }}
>
#1
</span>
</div>
))}
{overflow > 0 && (
<span className="text-[8px] text-ink-faint">+{overflow}</span>
Expand Down
11 changes: 11 additions & 0 deletions src/lib/data-api-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,17 @@ const CHAIN_LABELS: Record<string, string> = {
solana: "SOL",
robinhood: "RH",
ethereum: "ETH",
xrp: "XRP",
stellar: "XLM",
ripple: "XRP",
polygon: "POL",
avalanche: "AVAX",
arbitrum: "ARB",
optimism: "OP",
tron: "TRX",
sui: "SUI",
aptos: "APT",
ton: "TON",
};

export type RegionLeader = {
Expand Down
Loading