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": "About Us",
|
||||
"href": "#about"
|
||||
"name": "About Us", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Our Products",
|
||||
"href": "#products"
|
||||
"name": "Our Products", "href": "#products"
|
||||
},
|
||||
{
|
||||
"name": "How It Works",
|
||||
"href": "#how-it-works"
|
||||
"name": "How It Works", "href": "#how-it-works"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "FAQ",
|
||||
"href": "#faq"
|
||||
"name": "FAQ", "href": "#faq"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
"name": "Contact", "href": "#contact"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -43,11 +36,9 @@ export default function Layout() {
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Sweet Delights Bakery"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1555507036-ab1e4006a8a0?auto=format&fit=crop&w=100&h=100&q=80"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/collection-four-organic-bakery-labels-watercolor-style_23-2147627357.jpg"
|
||||
ctaButton={{
|
||||
text: "Order Now",
|
||||
href: "#contact",
|
||||
}}
|
||||
text: "Order Now", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -57,58 +48,35 @@ export default function Layout() {
|
||||
<FooterBasic
|
||||
columns={[
|
||||
{
|
||||
title: "Products",
|
||||
items: [
|
||||
title: "Products", items: [
|
||||
{
|
||||
label: "Pastries",
|
||||
href: "#products",
|
||||
},
|
||||
label: "Pastries", href: "#products"},
|
||||
{
|
||||
label: "Cakes",
|
||||
href: "#products",
|
||||
},
|
||||
label: "Cakes", href: "#products"},
|
||||
{
|
||||
label: "Bread",
|
||||
href: "#products",
|
||||
},
|
||||
label: "Bread", href: "#products"},
|
||||
{
|
||||
label: "Custom Orders",
|
||||
href: "#faq",
|
||||
},
|
||||
label: "Custom Orders", href: "#faq"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "About Us",
|
||||
items: [
|
||||
title: "About Us", items: [
|
||||
{
|
||||
label: "Our Story",
|
||||
href: "#about",
|
||||
},
|
||||
label: "Our Story", href: "#about"},
|
||||
{
|
||||
label: "Our Team",
|
||||
href: "#",
|
||||
},
|
||||
label: "Our Team", href: "#"},
|
||||
{
|
||||
label: "Careers",
|
||||
href: "#",
|
||||
},
|
||||
label: "Careers", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "#faq",
|
||||
},
|
||||
label: "FAQ", href: "#faq"},
|
||||
{
|
||||
label: "Contact Us",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Contact Us", href: "#contact"},
|
||||
{
|
||||
label: "Loyalty Program",
|
||||
href: "#faq",
|
||||
},
|
||||
label: "Loyalty Program", href: "#faq"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user