From b2a01dbac1abf28233387fa2c036a7a19ed56d02 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 25 Jun 2026 07:13:39 +0000 Subject: [PATCH] Bob AI: Update hero section with custom dashboard mockup and dark mo --- src/pages/HomePage/sections/Hero.tsx | 252 ++++++++++++++++++++++----- 1 file changed, 211 insertions(+), 41 deletions(-) diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx index 3ff7bdf..ab62446 100644 --- a/src/pages/HomePage/sections/Hero.tsx +++ b/src/pages/HomePage/sections/Hero.tsx @@ -1,48 +1,218 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "hero" section. +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import Button from "@/components/ui/Button"; +import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; + +const primaryButton = { + href: "/signup", + text: "Start tracking free" +}; +const secondaryButton = { + href: "#features", + text: "See how it works" +}; +const leftItems = []; +const rightItems = []; + +type HeroSplitVerticalMarqueeProps = { + tag: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + leftItems: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; + rightItems: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; +}; -import React from 'react'; import HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; -export default function HeroSection(): React.JSX.Element { +const HeroInline = () => { return ( -
- - - +
+
+ +
+
+
+

AI-Powered Nutrition Companion

+
+ + + + + +
+
+ +
+
+ {[1, 2, 3, 4].map((i) => ( + User + ))} +
+
+
+ {[1, 2, 3, 4, 5].map((star) => ( + + + + ))} +
+ Trusted by 50,000+ users +
+
+
+ +
+
+ {/* Notch */} +
+ + {/* Screen Content */} +
+ {/* Header */} +
+
+

Today

+

Dashboard

+
+
+ + + +
+
+ + {/* Content */} +
+ {/* Calorie Ring */} +
+
+
+ + + + +
+ 1,840 + kcal left +
+
+
+
Eaten660
+
Burned320
+
+
+ + {/* Macros */} +
+ {[ + { label: 'Protein', value: '45g', color: 'bg-[#3B82F6]', percent: '60%' }, + { label: 'Carbs', value: '120g', color: 'bg-[#10B981]', percent: '40%' }, + { label: 'Fat', value: '22g', color: 'bg-[#F59E0B]', percent: '30%' } + ].map((macro, i) => ( +
+ {macro.label} + {macro.value} +
+
+
+
+ ))} +
+ + {/* Recent Meal */} +
+
+

Lunch

+ 540 kcal +
+
+
+ Salad +
+
+
Grilled Chicken Salad
+

1 serving • 45g P • 12g C • 22g F

+
+
+
+
+ + {/* Bottom Nav */} +
+
+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ +
+
+
+
+ + {/* Floating Elements */} +
+
+ +
+
+

Goal Reached!

+

Protein target hit

+
+
+ +
+
+ +
+
+

320 kcal

+

Burned today

+
+
+
+
+ ); +}; + +export default function HeroSection() { + return ( +
+ +
); }