Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "#hero"
|
||||
"name": "Home", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Menu",
|
||||
"href": "#menu"
|
||||
"name": "Menu", "href": "#menu"
|
||||
},
|
||||
{
|
||||
"name": "Order",
|
||||
"href": "#contact"
|
||||
"name": "Order", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Pricing",
|
||||
"href": "#pricing"
|
||||
"name": "Pricing", "href": "#pricing"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -43,11 +36,9 @@ export default function Layout() {
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="The Grilled"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&q=80&w=100&h=100"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/users/user_3FGb4P6cBaLmLnaWbl8xsv1crSD/uploaded-1781704279017-faiwozh3.jpg"
|
||||
ctaButton={{
|
||||
text: "Order on WhatsApp",
|
||||
href: "https://wa.me/923149243439",
|
||||
}}
|
||||
text: "Order on WhatsApp", href: "https://wa.me/923149243439"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -58,47 +49,32 @@ export default function Layout() {
|
||||
brand="The Grilled"
|
||||
columns={[
|
||||
{
|
||||
title: "Location",
|
||||
items: [
|
||||
title: "Location", items: [
|
||||
{
|
||||
label: "Mardan Road, Charsadda, KPK",
|
||||
href: "#",
|
||||
},
|
||||
label: "Mardan Road, Charsadda, KPK", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Menu",
|
||||
items: [
|
||||
title: "Menu", items: [
|
||||
{
|
||||
label: "Burgers",
|
||||
href: "#menu",
|
||||
},
|
||||
label: "Burgers", href: "#menu"},
|
||||
{
|
||||
label: "Pizza",
|
||||
href: "#menu",
|
||||
},
|
||||
label: "Pizza", href: "#menu"},
|
||||
{
|
||||
label: "Steaks",
|
||||
href: "#menu",
|
||||
},
|
||||
label: "Steaks", href: "#menu"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 The Grilled. All rights reserved."
|
||||
links={[
|
||||
{
|
||||
label: "WhatsApp",
|
||||
href: "https://wa.me/923149243439",
|
||||
},
|
||||
label: "WhatsApp", href: "https://wa.me/923149243439"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
|
||||
Reference in New Issue
Block a user