import Link from 'next/link' import { useTranslations } from 'next-intl' import Grid from '@/components/ui/tailwind/Grid' import Button from '@/components/ui/tailwind/Button' import Card from '@/components/ui/tailwind/Card' import { SectionContainer } from '@/components/landing/shared' import { EXPLORER_PATH } from '@/constants/urls' import { getTotalBridgeVolume, getTotalTxCount, getTotalValueLocked, ExplorerQueryStatsResponse, } from '@/utils/hooks/useExplorerStats' export default function ExplorerSection() { const totalBridgeVolume = getTotalBridgeVolume() const totalTxCount = getTotalTxCount() const totalValueLocked = getTotalValueLocked() const t = useTranslations('Landing.ExplorerSection') return (

{t('Battle tested')}

{t('Synapse has processed')}

) } function StatisticsCard({ title, value, }: { title: string value: ExplorerQueryStatsResponse }) { return ( {value ? (
{value}
) : (
)} ) }