Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 04:52:57 +00:00
parent 54bdc9a8dd
commit 26d91c41e4

View File

@@ -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",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Products",
"href": "#products"
"name": "Products", "href": "#products"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -44,9 +37,7 @@ export default function Layout() {
<NavbarFloating
logo="Furniture King"
ctaButton={{
text: "Get Directions",
href: "#contact",
}}
text: "Get Directions", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,37 +49,24 @@ export default function Layout() {
brand="Furniture King"
columns={[
{
title: "Store",
items: [
title: "Store", items: [
{
label: "Visit Today",
href: "#contact",
},
label: "Visit Today", href: "#contact"},
{
label: "Catalog",
href: "#products",
},
label: "Catalog", href: "#products"},
],
},
{
title: "Support",
items: [
title: "Support", items: [
{
label: "Customer Satisfaction",
href: "#",
},
label: "Customer Satisfaction", href: "#"},
{
label: "FAQ",
href: "#",
},
label: "FAQ", href: "#"},
],
},
]}
copyright="© 2024 Furniture King Jagadhri. All rights reserved."
links={[
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" }
]}
links={[]}
/>
</SectionErrorBoundary>
</StyleProvider>