Update src/app/menu/page.tsx
This commit is contained in:
@@ -8,7 +8,7 @@ import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloating
|
||||
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
||||
import ProductCatalogItem from '@/components/ecommerce/productCatalog/ProductCatalogItem';
|
||||
|
||||
export default function LandingPage() {
|
||||
export default function MenuPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="icon-arrow"
|
||||
@@ -26,28 +26,14 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "/",
|
||||
},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "/menu",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "/about",
|
||||
},
|
||||
{
|
||||
name: "Order",
|
||||
id: "/order",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "/contact",
|
||||
},
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Menu", id: "/menu" },
|
||||
{ name: "About", id: "/about" },
|
||||
{ name: "Order", id: "/order" },
|
||||
{ name: "Contact", id: "/contact" },
|
||||
]}
|
||||
brandName="Java Cafe"
|
||||
button={{ text: "Order Now", href: "/order" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -58,42 +44,12 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Espresso",
|
||||
price: "$3.50",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Cappuccino",
|
||||
price: "$4.50",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg?_wi=2",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Latte",
|
||||
price: "$4.75",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg?_wi=3",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Mocha",
|
||||
price: "$5.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg?_wi=4",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Croissant",
|
||||
price: "$3.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg?_wi=5",
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "Cheesecake",
|
||||
price: "$6.50",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg?_wi=6",
|
||||
},
|
||||
{ id: "1", name: "Espresso", price: "$3.50", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg" },
|
||||
{ id: "2", name: "Cappuccino", price: "$4.50", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg" },
|
||||
{ id: "3", name: "Latte", price: "$4.75", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg" },
|
||||
{ id: "4", name: "Mocha", price: "$5.00", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg" },
|
||||
{ id: "5", name: "Croissant", price: "$3.00", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg" },
|
||||
{ id: "6", name: "Cheesecake", price: "$6.50", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg" },
|
||||
]}
|
||||
title="Our Menu"
|
||||
description="Premium coffee, specialty drinks, and artisanal desserts."
|
||||
@@ -102,13 +58,7 @@ export default function LandingPage() {
|
||||
|
||||
<div id="ecommerce" data-section="ecommerce">
|
||||
<ProductCatalogItem
|
||||
product={{
|
||||
id: "1",
|
||||
name: "Signature Blend",
|
||||
price: "$12.00",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg?_wi=7",
|
||||
}}
|
||||
product={{ id: "1", name: "Signature Blend", price: "$12.00", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-various-coffee_53876-31309.jpg" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -121,16 +71,8 @@ export default function LandingPage() {
|
||||
title="Menu Highlights"
|
||||
description="Our top picks."
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
value: "50+",
|
||||
description: "Drinks",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
value: "20+",
|
||||
description: "Pastries",
|
||||
},
|
||||
{ id: "1", value: "50+", description: "Drinks" },
|
||||
{ id: "2", value: "20+", description: "Pastries" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -138,30 +80,8 @@ export default function LandingPage() {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Menu",
|
||||
href: "/menu",
|
||||
},
|
||||
{
|
||||
label: "About",
|
||||
href: "/about",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Order",
|
||||
href: "/order",
|
||||
},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "/contact",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ items: [{ label: "Menu", href: "/menu" }, { label: "About", href: "/about" }] },
|
||||
{ items: [{ label: "Order", href: "/order" }, { label: "Contact", href: "/contact" }] },
|
||||
]}
|
||||
logoText="Java Cafe"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user