import { useEffect, useState } from 'react' import { estimatePlatformFunds } from '@/lib/fundingCalculation' import { t } from '@/lib/i18n' interface FundingProgressBarProps { progressPercent: number } function FundingProgressBar({ progressPercent }: FundingProgressBarProps) { return (
{t('home.funding.progress', { percent: progressPercent.toFixed(1) })}
{t('home.funding.description')}
{t('common.loading')}