Update src/app/order/page.tsx
This commit is contained in:
@@ -27,29 +27,17 @@ export default function LandingPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "/",
|
||||
},
|
||||
name: "Home", id: "/"},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "/menu",
|
||||
},
|
||||
name: "Menu", id: "/menu"},
|
||||
{
|
||||
name: "Order Online",
|
||||
id: "/order",
|
||||
},
|
||||
name: "Order Online", id: "/order"},
|
||||
{
|
||||
name: "About Us",
|
||||
id: "/about",
|
||||
},
|
||||
name: "About Us", id: "/about"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "/contact",
|
||||
},
|
||||
name: "Contact", id: "/contact"},
|
||||
{
|
||||
name: "Reservations",
|
||||
id: "/reservations",
|
||||
},
|
||||
name: "Reservations", id: "/reservations"},
|
||||
]}
|
||||
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=psz2y5"
|
||||
logoAlt="The American Diner Logo"
|
||||
@@ -64,79 +52,30 @@ export default function LandingPage() {
|
||||
layout="page"
|
||||
products={[
|
||||
{
|
||||
id: "order-1",
|
||||
category: "Popular",
|
||||
name: "Crispy Chicken Sandwich",
|
||||
price: "$17.00",
|
||||
rating: 5,
|
||||
reviewCount: "105",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-food-assortment_23-2149182251.jpg",
|
||||
imageAlt: "Crispy Chicken Sandwich",
|
||||
},
|
||||
id: "order-1", category: "Popular", name: "Crispy Chicken Sandwich", price: "$17.00", rating: 5,
|
||||
reviewCount: "105", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-food-assortment_23-2149182251.jpg", imageAlt: "Crispy Chicken Sandwich"},
|
||||
{
|
||||
id: "order-2",
|
||||
category: "Quick Bites",
|
||||
name: "Classic Club Sandwich",
|
||||
price: "$16.00",
|
||||
rating: 4,
|
||||
reviewCount: "88",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-club-sandwich-with-french-fries-board_141793-4868.jpg",
|
||||
imageAlt: "Classic Club Sandwich",
|
||||
},
|
||||
id: "order-2", category: "Quick Bites", name: "Classic Club Sandwich", price: "$16.00", rating: 4,
|
||||
reviewCount: "88", imageSrc: "http://img.b2bpic.net/free-photo/side-view-club-sandwich-with-french-fries-board_141793-4868.jpg", imageAlt: "Classic Club Sandwich"},
|
||||
{
|
||||
id: "order-3",
|
||||
category: "Popular",
|
||||
name: "Mini Slider Combo",
|
||||
price: "$22.00",
|
||||
rating: 5,
|
||||
reviewCount: "65",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/us-labor-day-celebration-with-food-top-view_23-2150347543.jpg",
|
||||
imageAlt: "Mini Slider Combo",
|
||||
},
|
||||
id: "order-3", category: "Popular", name: "Mini Slider Combo", price: "$22.00", rating: 5,
|
||||
reviewCount: "65", imageSrc: "http://img.b2bpic.net/free-photo/us-labor-day-celebration-with-food-top-view_23-2150347543.jpg", imageAlt: "Mini Slider Combo"},
|
||||
{
|
||||
id: "order-4",
|
||||
category: "Healthy Options",
|
||||
name: "Grilled Chicken Caesar",
|
||||
price: "$15.00",
|
||||
rating: 4,
|
||||
reviewCount: "72",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/grilled-chicken-breast-meat-salad_74190-6126.jpg",
|
||||
imageAlt: "Grilled Chicken Caesar",
|
||||
},
|
||||
id: "order-4", category: "Healthy Options", name: "Grilled Chicken Caesar", price: "$15.00", rating: 4,
|
||||
reviewCount: "72", imageSrc: "http://img.b2bpic.net/free-photo/grilled-chicken-breast-meat-salad_74190-6126.jpg", imageAlt: "Grilled Chicken Caesar"},
|
||||
{
|
||||
id: "order-5",
|
||||
category: "Quick Bites",
|
||||
name: "Fish and Chips",
|
||||
price: "$21.00",
|
||||
rating: 5,
|
||||
reviewCount: "91",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fine-roasted-chicken-fillet-with-herbs-french-fries-colorful-plate_114579-1794.jpg",
|
||||
imageAlt: "Fish and Chips",
|
||||
},
|
||||
id: "order-5", category: "Quick Bites", name: "Fish and Chips", price: "$21.00", rating: 5,
|
||||
reviewCount: "91", imageSrc: "http://img.b2bpic.net/free-photo/fine-roasted-chicken-fillet-with-herbs-french-fries-colorful-plate_114579-1794.jpg", imageAlt: "Fish and Chips"},
|
||||
{
|
||||
id: "order-6",
|
||||
category: "Popular",
|
||||
name: "Chili Cheese Hot Dog",
|
||||
price: "$14.00",
|
||||
rating: 4,
|
||||
reviewCount: "78",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-corn-dogs-with-pickles-plate-flat-lay_23-2149455075.jpg",
|
||||
imageAlt: "Chili Cheese Hot Dog",
|
||||
},
|
||||
id: "order-6", category: "Popular", name: "Chili Cheese Hot Dog", price: "$14.00", rating: 4,
|
||||
reviewCount: "78", imageSrc: "http://img.b2bpic.net/free-photo/tasty-corn-dogs-with-pickles-plate-flat-lay_23-2149455075.jpg", imageAlt: "Chili Cheese Hot Dog"},
|
||||
]}
|
||||
searchPlaceholder="Search for quick orders..."
|
||||
filters={[
|
||||
{
|
||||
label: "Category",
|
||||
options: [
|
||||
"All",
|
||||
"Popular",
|
||||
"Quick Bites",
|
||||
"Combos",
|
||||
"Healthy Options",
|
||||
],
|
||||
selected: "All",
|
||||
onChange: "() => {}",
|
||||
label: "Category", options: [
|
||||
"All", "Popular", "Quick Bites", "Combos", "Healthy Options"],
|
||||
selected: "All", onChange: () => {},
|
||||
},
|
||||
]}
|
||||
/>
|
||||
@@ -150,19 +89,13 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
icon: Car,
|
||||
title: "Swift Delivery",
|
||||
description: "Get your delicious meal delivered hot and fresh directly to your doorstep with our reliable service.",
|
||||
},
|
||||
title: "Swift Delivery", description: "Get your delicious meal delivered hot and fresh directly to your doorstep with our reliable service."},
|
||||
{
|
||||
icon: Clock,
|
||||
title: "Flexible Pickup",
|
||||
description: "Order ahead and pick up at your convenience, minimizing wait times and maximizing your day.",
|
||||
},
|
||||
title: "Flexible Pickup", description: "Order ahead and pick up at your convenience, minimizing wait times and maximizing your day."},
|
||||
{
|
||||
icon: CreditCard,
|
||||
title: "Secure Payments",
|
||||
description: "We offer multiple secure payment options, including credit card, Apple Pay, Google Pay, and cash on delivery.",
|
||||
},
|
||||
title: "Secure Payments", description: "We offer multiple secure payment options, including credit card, Apple Pay, Google Pay, and cash on delivery."},
|
||||
]}
|
||||
title="Your Order, Your Way"
|
||||
description="Enjoy the convenience of seamless online ordering. Choose pickup or delivery, and we'll handle the rest."
|
||||
@@ -174,62 +107,37 @@ export default function LandingPage() {
|
||||
logoText="The American Diner"
|
||||
columns={[
|
||||
{
|
||||
title: "Restaurant",
|
||||
items: [
|
||||
title: "Restaurant", items: [
|
||||
{
|
||||
label: "Home",
|
||||
href: "/",
|
||||
},
|
||||
label: "Home", href: "/"},
|
||||
{
|
||||
label: "About Us",
|
||||
href: "/about",
|
||||
},
|
||||
label: "About Us", href: "/about"},
|
||||
{
|
||||
label: "Reservations",
|
||||
href: "/reservations",
|
||||
},
|
||||
label: "Reservations", href: "/reservations"},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "/contact",
|
||||
},
|
||||
label: "Contact", href: "/contact"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Menu & Order",
|
||||
items: [
|
||||
title: "Menu & Order", items: [
|
||||
{
|
||||
label: "View Menu",
|
||||
href: "/menu",
|
||||
},
|
||||
label: "View Menu", href: "/menu"},
|
||||
{
|
||||
label: "Order Online",
|
||||
href: "/order",
|
||||
},
|
||||
label: "Order Online", href: "/order"},
|
||||
{
|
||||
label: "Special Offers",
|
||||
href: "/#special-offers",
|
||||
},
|
||||
label: "Special Offers", href: "/#special-offers"},
|
||||
{
|
||||
label: "Loyalty Program",
|
||||
href: "/#special-offers",
|
||||
},
|
||||
label: "Loyalty Program", href: "/#special-offers"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Service", href: "#"},
|
||||
{
|
||||
label: "Cookie Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Cookie Policy", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user