import { useState } from 'react' import { useTranslation } from 'react-i18next' import { toast } from 'sonner' import { PageShell } from '@/layouts/PageShell' import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card' import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' import { Button } from '@/components/ui/button' export function LoyaltyPage() { const { t } = useTranslation() const [earn, setEarn] = useState('1') const [referral, setReferral] = useState('50') const [minRedeem, setMinRedeem] = useState('100') return ( No-code loyalty config
setEarn(e.target.value)} />
setReferral(e.target.value)} />
setMinRedeem(e.target.value)} />

Tiers: Bronze / Silver / Gold — thresholds editable in full config.

) }