Update src/components/Layout.tsx

This commit is contained in:
2026-06-15 14:46:38 +00:00
parent fca4d0178e
commit 2d05d79447

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "Pricing",
"href": "#pricing"
"name": "Pricing", "href": "#pricing"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Social Proof",
"href": "#social-proof"
"name": "Social Proof", "href": "#social-proof"
},
{
"name": "Reveal",
"href": "#reveal"
"name": "Reveal", "href": "#reveal"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="SBATx"
logoImageSrc="https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=100&h=100&fit=crop"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=zl2rgr"
ctaButton={{
text: "Get Analysis",
href: "#contact",
}}
text: "Get Analysis", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -59,42 +50,28 @@ export default function Layout() {
brand="Small Business Analytics of Texas"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
{
label: "Services",
href: "#services",
},
label: "Services", href: "#services"},
{
label: "Pricing",
href: "#pricing",
},
label: "Pricing", href: "#pricing"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy",
href: "#",
},
label: "Privacy", href: "#"},
{
label: "Terms",
href: "#",
},
label: "Terms", href: "#"},
],
},
]}
copyright="© 2024 SBATx. All rights reserved."
links={[
{
label: "Contact Us",
href: "#contact",
},
label: "Contact Us", href: "#contact"},
]}
/>
</SectionErrorBoundary>