feat: SuccessScreen apos pagamento confirmado

This commit is contained in:
Rodribm10 2026-04-13 23:59:26 -03:00
parent b60dc6f45d
commit ab2e64435e

View File

@ -0,0 +1,27 @@
import { Button } from '@/components/ui/button'
interface Props {
onRestart: () => void
}
export function SuccessScreen({ onRestart }: Props) {
return (
<section className="mx-auto max-w-md text-center space-y-6 rounded-2xl border border-emerald/40 bg-emerald/10 p-10 backdrop-blur">
<div className="mx-auto flex h-20 w-20 items-center justify-center rounded-full bg-emerald text-obsidian text-4xl font-bold">
</div>
<h2 className="font-serif text-3xl text-ivory">Reserva confirmada!</h2>
<p className="text-slate">
O pagamento caiu e sua reserva está registrada.
<br />
Nossa atendente foi avisada e vai confirmar os próximos passos pelo WhatsApp.
</p>
<Button variant="primary" size="md" onClick={onRestart} className="w-full">
Fazer outra reserva
</Button>
</section>
)
}