From a489f50a4027d8a4e7bdca589633046f8ae190b2 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 25 Jun 2026 08:02:29 +0000 Subject: [PATCH 1/2] Bob AI: Add nutrition page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/NutritionPage.tsx | 77 +++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 src/pages/NutritionPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..49ac79d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom'; import Layout from './components/Layout'; import HomePage from './pages/HomePage'; +import NutritionPage from "@/pages/NutritionPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 815df5b..467cd59 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -34,7 +34,9 @@ export default function Layout() { { "name": "Training Schedules", "href": "#training-schedules" - } + }, + { name: "Nutrition", href: "/nutrition" }, + ]; return ( diff --git a/src/pages/NutritionPage.tsx b/src/pages/NutritionPage.tsx new file mode 100644 index 0000000..877b61c --- /dev/null +++ b/src/pages/NutritionPage.tsx @@ -0,0 +1,77 @@ +import React from 'react'; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import HeroSplit from "@/components/sections/hero/HeroSplit"; +import FeaturesBentoGrid from "@/components/sections/features/FeaturesBentoGrid"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function NutritionPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Get Started", href: "/contact" }} + /> + +
+ + + +
+ + +
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..301c15a 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -6,4 +6,5 @@ export interface Route { export const routes: Route[] = [ { path: '/', label: 'Home', pageFile: 'HomePage' }, + { path: '/nutrition', label: 'Nutrition', pageFile: 'NutritionPage' }, ]; -- 2.49.1 From 179107ff92dbae9a838683056d73a146b9b5aa01 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 25 Jun 2026 08:03:20 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/NutritionPage.tsx (snippet builder, 3 sections) --- src/pages/NutritionPage.tsx | 96 +++++++++---------------------------- 1 file changed, 23 insertions(+), 73 deletions(-) diff --git a/src/pages/NutritionPage.tsx b/src/pages/NutritionPage.tsx index 877b61c..107f74c 100644 --- a/src/pages/NutritionPage.tsx +++ b/src/pages/NutritionPage.tsx @@ -1,77 +1,27 @@ -import React from 'react'; -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; -import HeroSplit from "@/components/sections/hero/HeroSplit"; -import FeaturesBentoGrid from "@/components/sections/features/FeaturesBentoGrid"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; +import Button from "@/components/ui/Button"; +import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import FaqSimple from "@/components/sections/faq/FaqSimple"; export default function NutritionPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Get Started", href: "/contact" }} - /> - -
- - - -
- - -
+ <> +

Personalized Nutrition

+

Nutrition Guide

Personalized Meal Plans

Tailored nutrition plans designed to meet your specific health and fitness goals.

+

Macronutrient Tracking

Learn how to balance proteins, fats, and carbs for optimal energy and recovery.

+

Hydration Strategies

Stay hydrated with our comprehensive guides on water intake and electrolyte balance.

+

Mindful Eating Practices

Build a healthier relationship with food and nourish your mind with every bite.

+
+ ); -} \ No newline at end of file +} -- 2.49.1