diff --git a/src/app/page.tsx b/src/app/page.tsx index 11e2c95..78f97fe 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -50,6 +50,7 @@ export default function LandingPage() { total={`$${cartItems.reduce((acc, item) => acc + (parseFloat(item.price.replace('$', '')) || 0) * item.quantity, 0).toFixed(2)}`} onRemove={(id) => setCartItems(prev => prev.filter(i => i.id !== id))} onQuantityChange={(id, qty) => setCartItems(prev => prev.map(i => i.id === id ? {...i, quantity: qty} : i))} + buttons={[{ text: "Checkout", onClick: () => console.log("Checkout") }]} />