Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Cart – BistroByte</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| </head> | |
| <body class="bg-gray-50 dark:bg-gray-900 text-gray-800 dark:text-gray-100 transition-colors"> | |
| <custom-header></custom-header> | |
| <main class="max-w-3xl mx-auto px-4 py-10"> | |
| <h1 class="text-3xl font-bold mb-6">Your Order</h1> | |
| <div id="cartList" class="space-y-4"> | |
| <!-- Cart items injected by JS --> | |
| </div> | |
| <div id="cartEmpty" class="hidden text-center py-16"> | |
| <i data-feather="shopping-cart" class="w-16 h-16 mx-auto text-gray-300"></i> | |
| <p class="mt-4 text-gray-500">Your cart is empty. <a href="index.html" class="text-orange-500 hover:underline">Go add some goodies!</a></p> | |
| </div> | |
| <div id="cartTotal" class="mt-6 border-t dark:border-gray-700 pt-4 flex justify-between items-center"> | |
| <span class="text-xl font-semibold">Total</span> | |
| <span id="totalPrice" class="text-2xl font-bold text-orange-500">$0.00</span> | |
| </div> | |
| <button id="checkoutBtn" class="mt-6 w-full px-6 py-3 rounded-full bg-orange-500 hover:bg-orange-600 text-white font-semibold shadow-lg hover:shadow-xl transform hover:-translate-y-0.5 transition disabled:opacity-50 disabled:cursor-not-allowed">Proceed to Pickup</button> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/header.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="cart.js"></script> | |
| <script>feather.replace();</script> | |
| </body> | |
| </html> |