Update src/components/Layout.tsx

This commit is contained in:
2026-06-16 12:58:41 +00:00
parent c83a78acf4
commit c588c2c1d2

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": "Products",
"href": "#products"
"name": "Products", "href": "#products"
},
{
"name": "About",
"href": "#features"
"name": "About", "href": "#features"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Social Proof",
"href": "#social-proof"
"name": "Social Proof", "href": "#social-proof"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Alpha Textiles"
logoImageSrc="https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=100&h=100&fit=crop&q=80"
logoImageSrc="http://img.b2bpic.net/free-vector/flat-design-fashion-accessories-logo-collection_23-2148878066.jpg"
ctaButton={{
text: "Get a Quote",
href: "#contact",
}}
text: "Get a Quote", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,63 +49,40 @@ export default function Layout() {
brand="Alpha Textiles"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#features",
},
label: "About Us", href: "#features"},
{
label: "Career",
href: "#",
},
label: "Career", href: "#"},
{
label: "Location",
href: "#",
},
label: "Location", href: "#"},
],
},
{
title: "Products",
items: [
title: "Products", items: [
{
label: "Cotton",
href: "#products",
},
label: "Cotton", href: "#products"},
{
label: "Polyester",
href: "#products",
},
label: "Polyester", href: "#products"},
{
label: "Denim",
href: "#products",
},
label: "Denim", href: "#products"},
],
},
{
title: "Support",
items: [
title: "Support", items: [
{
label: "FAQs",
href: "#faq",
},
label: "FAQs", href: "#faq"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
]}
copyright="© 2024 Alpha Textiles. All Rights Reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
]}
/>
</SectionErrorBoundary>