Spaces:
Running
Running
Download order.html from Poundless/fishyfishy: direct link, hf CLI and curl.
- Browser
- Download file 19.5 kB
-
https://huggingface.co/spaces/Poundless/fishyfishy/resolve/main/order.html
- Command line
-
hf download hf://spaces/Poundless/fishyfishy/order.html
-
curl -L -o order.html https://huggingface.co/spaces/Poundless/fishyfishy/resolve/main/order.html
19.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Order Online | The Golden Fry</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| .order-step { | |
| position: relative; | |
| } | |
| .order-step:not(:last-child):after { | |
| content: ''; | |
| position: absolute; | |
| left: 50%; | |
| bottom: -20px; | |
| transform: translateX(-50%); | |
| width: 2px; | |
| height: 20px; | |
| background-color: #d97706; | |
| } | |
| .order-step.active .step-number { | |
| background-color: #d97706; | |
| color: white; | |
| } | |
| .order-step.completed .step-number { | |
| background-color: #65a30d; | |
| color: white; | |
| } | |
| .menu-item:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| input[type="radio"]:checked + label { | |
| border-color: #d97706; | |
| background-color: #fef3c7; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans bg-gray-50"> | |
| <!-- Navigation --> | |
| <nav class="bg-yellow-600 text-white shadow-lg sticky top-0 z-50"> | |
| <div class="container mx-auto px-6 py-3 flex justify-between items-center"> | |
| <a href="index.html" class="text-2xl font-bold flex items-center"> | |
| <i data-feather="anchor" class="mr-2"></i> | |
| The Golden Fry | |
| </a> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="index.html" class="hover:text-yellow-200">Home</a> | |
| <a href="menu.html" class="hover:text-yellow-200">Menu</a> | |
| <a href="order.html" class="hover:text-yellow-200 font-bold">Order Online</a> | |
| <a href="#" class="hover:text-yellow-200">Locations</a> | |
| <a href="#" class="hover:text-yellow-200">About</a> | |
| </div> | |
| <button class="md:hidden focus:outline-none" id="menu-toggle"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| <!-- Mobile menu --> | |
| <div class="md:hidden hidden bg-yellow-700 px-6 py-3" id="mobile-menu"> | |
| <a href="index.html" class="block py-2 hover:text-yellow-200">Home</a> | |
| <a href="menu.html" class="block py-2 hover:text-yellow-200">Menu</a> | |
| <a href="order.html" class="block py-2 hover:text-yellow-200 font-bold">Order Online</a> | |
| <a href="#" class="block py-2 hover:text-yellow-200">Locations</a> | |
| <a href="#" class="block py-2 hover:text-yellow-200">About</a> | |
| </div> | |
| </nav> | |
| <!-- Order Header --> | |
| <section class="bg-gray-800 text-white py-20"> | |
| <div class="container mx-auto px-6 text-center"> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-6">Order Online</h1> | |
| <p class="text-xl max-w-2xl mx-auto">Get your favorite fish and chips delivered or ready for pickup</p> | |
| </div> | |
| </section> | |
| <!-- Order Steps --> | |
| <section class="py-12 bg-white"> | |
| <div class="container mx-auto px-6"> | |
| <div class="flex flex-col md:flex-row justify-between items-center max-w-3xl mx-auto"> | |
| <div class="order-step active mb-8 md:mb-0 text-center" data-step="1"> | |
| <div class="step-number w-12 h-12 rounded-full bg-yellow-600 text-white flex items-center justify-center font-bold text-xl mx-auto mb-2">1</div> | |
| <p class="font-medium">Choose Items</p> | |
| </div> | |
| <div class="order-step mb-8 md:mb-0 text-center" data-step="2"> | |
| <div class="step-number w-12 h-12 rounded-full bg-gray-200 text-gray-700 flex items-center justify-center font-bold text-xl mx-auto mb-2">2</div> | |
| <p class="font-medium">Delivery Info</p> | |
| </div> | |
| <div class="order-step mb-8 md:mb-0 text-center" data-step="3"> | |
| <div class="step-number w-12 h-12 rounded-full bg-gray-200 text-gray-700 flex items-center justify-center font-bold text-xl mx-auto mb-2">3</div> | |
| <p class="font-medium">Payment</p> | |
| </div> | |
| <div class="order-step text-center" data-step="4"> | |
| <div class="step-number w-12 h-12 rounded-full bg-gray-200 text-gray-700 flex items-center justify-center font-bold text-xl mx-auto mb-2">4</div> | |
| <p class="font-medium">Confirmation</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Order Content --> | |
| <section class="py-12 bg-gray-50"> | |
| <div class="container mx-auto px-6"> | |
| <div class="flex flex-col lg:flex-row gap-8"> | |
| <!-- Menu Items --> | |
| <div class="lg:w-2/3"> | |
| <h2 class="text-2xl font-bold mb-6">Select Your Items</h2> | |
| <!-- Delivery Method --> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-8"> | |
| <h3 class="text-lg font-bold mb-4">Delivery Method</h3> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <input type="radio" name="delivery_method" id="delivery" class="hidden" checked> | |
| <label for="delivery" class="border-2 border-gray-200 rounded-lg p-4 flex items-center cursor-pointer transition"> | |
| <i data-feather="truck" class="text-yellow-600 mr-3"></i> | |
| <div> | |
| <p class="font-bold">Delivery</p> | |
| <p class="text-sm text-gray-600">£2.50 delivery fee</p> | |
| </div> | |
| </label> | |
| <input type="radio" name="delivery_method" id="pickup" class="hidden"> | |
| <label for="pickup" class="border-2 border-gray-200 rounded-lg p-4 flex items-center cursor-pointer transition"> | |
| <i data-feather="shopping-bag" class="text-yellow-600 mr-3"></i> | |
| <div> | |
| <p class="font-bold">Pickup</p> | |
| <p class="text-sm text-gray-600">Ready in 20-30 mins</p> | |
| </div> | |
| </label> | |
| </div> | |
| </div> | |
| <!-- Menu Categories --> | |
| <div class="mb-8"> | |
| <div class="flex overflow-x-auto pb-2 mb-4 hide-scrollbar"> | |
| <button class="px-4 py-2 font-medium text-yellow-600 border-b-2 border-yellow-600 whitespace-nowrap">All Items</button> | |
| <button class="px-4 py-2 font-medium text-gray-600 whitespace-nowrap">Classic Fish</button> | |
| <button class="px-4 py-2 font-medium text-gray-600 whitespace-nowrap">Specialty Fish</button> | |
| <button class="px-4 py-2 font-medium text-gray-600 whitespace-nowrap">Sides</button> | |
| <button class="px-4 py-2 font-medium text-gray-600 whitespace-nowrap">Desserts</button> | |
| <button class="px-4 py-2 font-medium text-gray-600 whitespace-nowrap">Drinks</button> | |
| </div> | |
| <!-- Menu Items Grid --> | |
| <div class="grid md:grid-cols-2 gap-4"> | |
| <!-- Item 1 --> | |
| <div class="bg-white rounded-lg overflow-hidden shadow-md menu-item transition duration-300"> | |
| <img src="http://static.photos/food/640x360/42" alt="Traditional Cod" class="w-full h-40 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="text-lg font-bold text-gray-800 mb-1">Traditional Cod</h3> | |
| <p class="text-gray-600 text-sm mb-3">Fresh Atlantic cod in our signature crispy batter</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-yellow-600 font-bold">£12.99</span> | |
| <button class="bg-yellow-600 hover:bg-yellow-700 text-white px-3 py-1 rounded-full text-sm font-medium transition"> | |
| Add to Order | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Item 2 --> | |
| <div class="bg-white rounded-lg overflow-hidden shadow-md menu-item transition duration-300"> | |
| <img src="http://static.photos/food/640x360/43" alt="Haddock" class="w-full h-40 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="text-lg font-bold text-gray-800 mb-1">Haddock</h3> | |
| <p class="text-gray-600 text-sm mb-3">Premium haddock with light crispy batter</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-yellow-600 font-bold">£13.99</span> | |
| <button class="bg-yellow-600 hover:bg-yellow-700 text-white px-3 py-1 rounded-full text-sm font-medium transition"> | |
| Add to Order | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Item 3 --> | |
| <div class="bg-white rounded-lg overflow-hidden shadow-md menu-item transition duration-300"> | |
| <img src="http://static.photos/food/640x360/44" alt="Fisherman's Platter" class="w-full h-40 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="text-lg font-bold text-gray-800 mb-1">Fisherman's Platter</h3> | |
| <p class="text-gray-600 text-sm mb-3">Cod, scampi, and calamari with chips and sides</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-yellow-600 font-bold">£18.99</span> | |
| <button class="bg-yellow-600 hover:bg-yellow-700 text-white px-3 py-1 rounded-full text-sm font-medium transition"> | |
| Add to Order | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Item 4 --> | |
| <div class="bg-white rounded-lg overflow-hidden shadow-md menu-item transition duration-300"> | |
| <img src="http://static.photos/food/640x360/45" alt="Large Chips" class="w-full h-40 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="text-lg font-bold text-gray-800 mb-1">Large Chips</h3> | |
| <p class="text-gray-600 text-sm mb-3">Hand-cut, twice-fried potatoes</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-yellow-600 font-bold">£3.50</span> | |
| <button class="bg-yellow-600 hover:bg-yellow-700 text-white px-3 py-1 rounded-full text-sm font-medium transition"> | |
| Add to Order | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Order Summary --> | |
| <div class="lg:w-1/3"> | |
| <div class="bg-white rounded-lg shadow-md sticky top-4 p-6"> | |
| <h2 class="text-2xl font-bold mb-6">Your Order</h2> | |
| <!-- Empty State --> | |
| <div class="text-center py-8" id="empty-order"> | |
| <i data-feather="shopping-cart" class="w-12 h-12 text-gray-400 mx-auto mb-4"></i> | |
| <p class="text-gray-600">Your cart is empty</p> | |
| <p class="text-sm text-gray-500 mt-2">Add items to get started</p> | |
| </div> | |
| <!-- Order Items (hidden by default) --> | |
| <div class="hidden" id="order-items"> | |
| <div class="border-b border-gray-200 pb-4 mb-4"> | |
| <div class="flex justify-between items-start mb-3"> | |
| <div> | |
| <p class="font-medium">Traditional Cod</p> | |
| <p class="text-sm text-gray-600">With chips and mushy peas</p> | |
| </div> | |
| <span class="font-bold">£12.99</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center border rounded-lg"> | |
| <button class="px-3 py-1 text-gray-600">-</button> | |
| <span class="px-3">1</span> | |
| <button class="px-3 py-1 text-gray-600">+</button> | |
| </div> | |
| <button class="text-red-500 hover:text-red-700"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="border-b border-gray-200 pb-4 mb-4"> | |
| <div class="flex justify-between items-start mb-3"> | |
| <div> | |
| <p class="font-medium">Large Chips</p> | |
| </div> | |
| <span class="font-bold">£3.50</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center border rounded-lg"> | |
| <button class="px-3 py-1 text-gray-600">-</button> | |
| <span class="px-3">1</span> | |
| <button class="px-3 py-1 text-gray-600">+</button> | |
| </div> | |
| <button class="text-red-500 hover:text-red-700"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="text-gray-600">Subtotal</span> | |
| <span>£16.49</span> | |
| </div> | |
| <div class="flex justify-between mb-2"> | |
| <span class="text-gray-600">Delivery Fee</span> | |
| <span>£2.50</span> | |
| </div> | |
| <div class="flex justify-between font-bold text-lg mt-4"> | |
| <span>Total</span> | |
| <span>£18.99</span> | |
| </div> | |
| </div> | |
| <button class="w-full bg-yellow-600 hover:bg-yellow-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300"> | |
| Proceed to Checkout | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Special Instructions --> | |
| <div class="bg-white rounded-lg shadow-md mt-4 p-6"> | |
| <h3 class="font-bold mb-3">Special Instructions</h3> | |
| <textarea class="w-full border border-gray-300 rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-yellow-500" rows="3" placeholder="Allergies, dietary requirements, etc."></textarea> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="container mx-auto px-6"> | |
| <div class="grid md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-4">The Golden Fry</h3> | |
| <p class="text-gray-400"> | |
| Serving authentic British fish and chips since 1985. Fresh ingredients, traditional recipes. | |
| </p> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Quick Links</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="index.html" class="text-gray-400 hover:text-white">Home</a></li> | |
| <li><a href="menu.html" class="text-gray-400 hover:text-white">Menu</a></li> | |
| <li><a href="order.html" class="text-gray-400 hover:text-white">Order Online</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Locations</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Contact</h4> | |
| <ul class="space-y-2 text-gray-400"> | |
| <li class="flex items-center"> | |
| <i data-feather="map-pin" class="mr-2"></i> | |
| 123 Ocean View, Seaville | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="phone" class="mr-2"></i> | |
| (01234) 567890 | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="mail" class="mr-2"></i> | |
| info@goldenfry.com | |
| </li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Opening Hours</h | |
| </body> | |
| </html> |