diff --git a/src/App.tsx b/src/App.tsx
index 33d15f9..4f341af 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom';
import Layout from './components/Layout';
import HomePage from './pages/HomePage';
+import MenuOrderPage from "@/pages/MenuOrderPage";
export default function App() {
return (
}>
} />
+ } />
);
diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx
index f3df476..f5b8ce2 100644
--- a/src/components/Layout.tsx
+++ b/src/components/Layout.tsx
@@ -34,7 +34,9 @@ export default function Layout() {
{
"name": "Social Proof",
"href": "#social-proof"
- }
+ },
+ { name: "Menu Order", href: "/menu-order" },
+
];
return (
diff --git a/src/pages/MenuOrderPage.tsx b/src/pages/MenuOrderPage.tsx
new file mode 100644
index 0000000..e709a35
--- /dev/null
+++ b/src/pages/MenuOrderPage.tsx
@@ -0,0 +1,112 @@
+import { routes } from "@/routes";
+import NavbarCentered from "@/components/ui/NavbarCentered";
+import HeroBillboard from "@/components/sections/hero/HeroBillboard";
+import ProductQuantityCards from "@/components/sections/product/ProductQuantityCards";
+import FooterSimple from "@/components/sections/footer/FooterSimple";
+
+const MenuOrderPage = () => {
+ const handleAddToCart = (productName: string, quantity: number) => {
+ console.log(`Added ${quantity} of ${productName} to cart.`);
+ alert(`Added ${quantity} of ${productName} to your order!`);
+ };
+
+ return (
+
+
({ name: r.label, href: r.path }))}
+ ctaButton={{ text: "Order Now", href: "/menu-order" }}
+ />
+
+
+
+
+ handleAddToCart("Classic Burger", quantity),
+ },
+ {
+ name: "Margherita Pizza",
+ price: "$15.50",
+ imageSrc: "https://img.b2bpic.net/img/pizza.webp",
+ onAddToCart: (quantity) => handleAddToCart("Margherita Pizza", quantity),
+ },
+ {
+ name: "Caesar Salad",
+ price: "$9.75",
+ imageSrc: "https://img.b2bpic.net/img/salad.webp",
+ onAddToCart: (quantity) => handleAddToCart("Caesar Salad", quantity),
+ },
+ {
+ name: "Spaghetti Carbonara",
+ price: "$14.00",
+ imageSrc: "https://img.b2bpic.net/img/pasta.webp",
+ onAddToCart: (quantity) => handleAddToCart("Spaghetti Carbonara", quantity),
+ },
+ {
+ name: "Sushi Platter",
+ price: "$22.00",
+ imageSrc: "https://img.b2bpic.net/img/sushi.webp",
+ onAddToCart: (quantity) => handleAddToCart("Sushi Platter", quantity),
+ },
+ {
+ name: "Chocolate Lava Cake",
+ price: "$7.50",
+ imageSrc: "https://img.b2bpic.net/img/dessert.webp",
+ onAddToCart: (quantity) => handleAddToCart("Chocolate Lava Cake", quantity),
+ },
+ ]}
+ />
+
+
+
+
+ );
+};
+
+export default MenuOrderPage;
\ No newline at end of file
diff --git a/src/routes.ts b/src/routes.ts
index 362ecb5..0570e0d 100644
--- a/src/routes.ts
+++ b/src/routes.ts
@@ -6,4 +6,5 @@ export interface Route {
export const routes: Route[] = [
{ path: '/', label: 'Home', pageFile: 'HomePage' },
+ { path: '/menu-order', label: 'Menu Order', pageFile: 'MenuOrderPage' },
];