From 785e5cb4c5f2fb09195ec589f856a72907e2c5f0 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 25 Jun 2026 06:56:23 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 22a0403..daaf4c3 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -105,6 +105,10 @@ export default function Layout() { }, ]} copyright="© 2024 Nutri Track. All rights reserved." + links={[ + { label: "Privacy Policy", href: "#" }, + { label: "Terms of Service", href: "#" } + ]} /> -- 2.49.1 From c34090a259cfa25a488796c909f9dbb2f88e4921 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 25 Jun 2026 06:56:25 +0000 Subject: [PATCH 2/2] Update src/components/Layout.tsx --- src/components/Layout.tsx | 121 ++++++++++++-------------------------- 1 file changed, 36 insertions(+), 85 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index daaf4c3..5e5bc36 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -7,109 +7,60 @@ import { StyleProvider } from "@/components/ui/StyleProvider"; export default function Layout() { const navItems = [ - { - "name": "Features", - "href": "#features" - }, - { - "name": "About", - "href": "#about" - }, - { - "name": "Pricing", - "href": "#pricing" - }, - { - "name": "Hero", - "href": "#hero" - }, - { - "name": "Product", - "href": "#product" - }, - { - "name": "Metrics", - "href": "#metrics" - }, - { - "name": "Testimonial", - "href": "#testimonial" - } -]; + { name: "Features", href: "#features" }, + { name: "About", href: "#about" }, + { name: "Pricing", href: "#pricing" }, + { name: "Hero", href: "#hero" }, + { name: "Product", href: "#product" }, + { name: "Metrics", href: "#metrics" }, + { name: "Testimonial", href: "#testimonial" } + ]; return ( + logo="Nutri Track" + ctaButton={{ + text: "Login", href: "/login"}} + navItems={navItems} + />
+ ]} + copyright="© 2024 Nutri Track. All rights reserved." + links={[ + { label: "Privacy", href: "#" }, + { label: "Terms", href: "#" } + ]} + />
); -- 2.49.1