const SuccessPage = () => {
const lineItems = [
{ name: 'Pizza Quattro Stagioni', qty: 1, price: 12.50, color: '#a16207', emoji: '๐' },
{ name: 'Pizza Margherita', qty: 2, price: 10.00, color: '#dc2626', emoji: '๐
' },
];
const total = lineItems.reduce((s, i) => s + i.qty * i.price, 0);
return (
{/* Hero confirmation */}
โ
Betaling geslaagd!
Bestelling #3SKTI3E3 is bevestigd.
{/* Big ready time card โ the most important info */}
Je bestelling is klaar om
17:35
op zaterdag ยท 09 mei 2026
๐ Foodtruck Gouden Plakje ยท op het terras bij de pont
{/* Order summary card */}
Bestelling ยท op naam van Senne Visser
{lineItems.map((item, i) => (
{item.emoji}
{item.qty}ร {item.name}
โฌ{(item.qty * item.price).toFixed(2)}
))}
Totaal betaald
โฌ{total.toFixed(2)}
โ๏ธ
Een bon is onderweg naar sennevisser@outlook.com
Vragen? Bel ons op +31 6 31780849
of stuur een mail naar bestelling@foodtruckgoudenplakje.nl
);
};
window.SuccessPage = SuccessPage;