Update src/components/Layout.tsx

This commit is contained in:
2026-06-19 08:27:07 +00:00
parent c2e63ac51b
commit 8819704466

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "/"
"name": "Home", "href": "/"
},
{
"name": "How It Works",
"href": "#how-it-works"
"name": "How It Works", "href": "#how-it-works"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Product Highlights",
"href": "#product-highlights"
"name": "Product Highlights", "href": "#product-highlights"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -44,9 +37,7 @@ export default function Layout() {
<NavbarInline
logo="TruthBite AI"
ctaButton={{
text: "Scan Food",
href: "/scan",
}}
text: "Scan Food", href: "/scan"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -55,63 +46,43 @@ export default function Layout() {
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="TruthBite AI"
links={[
{ label: "Privacy", href: "/privacy" },
{ label: "Terms", href: "/terms" },
{ label: "Disclaimer", href: "/disclaimer" }
]}
columns={[
{
title: "Platform",
items: [
title: "Platform", items: [
{
label: "Scan",
href: "/scan",
},
label: "Scan", href: "/scan"},
{
label: "Directory",
href: "/explore",
},
label: "Directory", href: "/explore"},
{
label: "Pricing",
href: "/pricing",
},
label: "Pricing", href: "/pricing"},
],
},
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About",
href: "/about",
},
label: "About", href: "/about"},
{
label: "Careers",
href: "/careers",
},
label: "Careers", href: "/careers"},
{
label: "Contact",
href: "/contact",
},
label: "Contact", href: "/contact"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy",
href: "/privacy",
},
label: "Privacy", href: "/privacy"},
{
label: "Terms",
href: "/terms",
},
label: "Terms", href: "/terms"},
{
label: "Disclaimer",
href: "/disclaimer",
},
label: "Disclaimer", href: "/disclaimer"},
],
},
]}
links={[
{ label: "Privacy", href: "/privacy" },
{ label: "Terms", href: "/terms" }
]}
copyright="© 2024 TruthBite AI. All rights reserved."
/>
</SectionErrorBoundary>