import { Button } from '@/components/ui/button' import { CODY_PUBKEY } from '@/constants' import { cn } from '@/lib/utils' import { useState } from 'react' import { useTranslation } from 'react-i18next' import ZapDialog from '../ZapDialog' import RecentSupporters from './RecentSupporters' export default function Donation({ className }: { className?: string }) { const { t } = useTranslation() const [open, setOpen] = useState(false) const [donationAmount, setDonationAmount] = useState(undefined) return (
{t('Enjoying Jumble?')}
{t('Your donation helps me maintain Jumble and make it better! 😊')}
{[ { amount: 1000, text: '☕️ 1k' }, { amount: 10000, text: '🍜 10k' }, { amount: 100000, text: '🍣 100k' }, { amount: 1000000, text: '✈️ 1M' } ].map(({ amount, text }) => { return ( ) })}
) }