From a8733d59f810adc456dfc1c87fdfd311848385d6 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 18:34:40 +0000 Subject: [PATCH] Bob AI: Applied dark theme to products section --- src/index.css | 18 +- src/pages/HomePage.tsx | 275 ++--------------------- src/pages/HomePage/sections/About.tsx | 21 ++ src/pages/HomePage/sections/Contact.tsx | 27 +++ src/pages/HomePage/sections/Faq.tsx | 34 +++ src/pages/HomePage/sections/Features.tsx | 40 ++++ src/pages/HomePage/sections/Hero.tsx | 48 ++++ src/pages/HomePage/sections/Products.tsx | 153 +++++++++++++ 8 files changed, 352 insertions(+), 264 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Faq.tsx create mode 100644 src/pages/HomePage/sections/Features.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Products.tsx diff --git a/src/index.css b/src/index.css index e950535..bcb532c 100644 --- a/src/index.css +++ b/src/index.css @@ -5,15 +5,15 @@ :root { /* @colorThemes/lightTheme/grayNavyBlue */ - --background: #f5faff; - --card: #ffffff; - --foreground: #001122; - --primary-cta: #15479c; - --primary-cta-text: #f5faff; - --secondary-cta: #ffffff; - --secondary-cta-text: #001122; - --accent: #a8cce8; - --background-accent: #7ba3cf; + --background: #000000; + --card: #0a0a0a; + --foreground: #ffffff; + --primary-cta: #ff0000; + --primary-cta-text: #ffffff; + --secondary-cta: #1a1a1a; + --secondary-cta-text: #ffffff; + --accent: #999999; + --background-accent: #111111; /* @layout/border-radius/rounded */ --radius: 1rem; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 107cd38..0488c3d 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,268 +1,33 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSimple from '@/components/sections/faq/FaqSimple'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; -import HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel'; -import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; -import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; -import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in .//sections/.tsx. Edit the section +// files directly. Non-block content (wrappers, non-inlinable sections) is +// preserved inline; extracted section blocks become refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import AboutSection from './HomePage/sections/About'; +import FeaturesSection from './HomePage/sections/Features'; +import ProductsSection from './HomePage/sections/Products'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
-
- - - -
-
- - - -
-
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/About.tsx b/src/pages/HomePage/sections/About.tsx new file mode 100644 index 0000000..0c0844c --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "about" section. + +import React from 'react'; +import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..187d2a4 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,27 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "contact" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..c9bd11a --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,34 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "faq" section. + +import React from 'react'; +import FaqSimple from '@/components/sections/faq/FaqSimple'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Features.tsx b/src/pages/HomePage/sections/Features.tsx new file mode 100644 index 0000000..a734379 --- /dev/null +++ b/src/pages/HomePage/sections/Features.tsx @@ -0,0 +1,40 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "features" section. + +import React from 'react'; +import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..bb6609e --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,48 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "hero" section. + +import React from 'react'; +import HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Products.tsx b/src/pages/HomePage/sections/Products.tsx new file mode 100644 index 0000000..6c314a5 --- /dev/null +++ b/src/pages/HomePage/sections/Products.tsx @@ -0,0 +1,153 @@ +/* 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 TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { cls } from "@/lib/utils"; + +const items = [ + { + imageSrc: "http://img.b2bpic.net/free-photo/brain-booster-pills-container-still-life_23-2150760052.jpg", + description: "Recuperación muscular rápida y efectiva.", + title: "Proteína Whey" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/young-woman-holding-cup-white-wall_114579-81712.jpg", + description: "Protección muscular y resistencia.", + title: "BCAAs" + }, + { + title: "EAAs", + imageSrc: "http://img.b2bpic.net/free-photo/healthy-nutrition-clean-eating-concept-ingredients-oatmeal-with-blueberry-almond-nut-yoghurt-preparing-yummy-sweet-nutrient-low-calorie-dessert-breakfast-time-muesli-with-fruits_273609-38086.jpg", + description: "Aminoácidos esenciales para el crecimiento." + }, + { + title: "Ashwagandha", + imageSrc: "http://img.b2bpic.net/free-photo/concentrated-fitness-lady-sitting-outdoors-drinking-water_171337-8196.jpg", + description: "Control del estrés y optimización hormonal." + }, + { + title: "Creatina Pura", + imageSrc: "http://img.b2bpic.net/free-photo/pills-pink-background-flat-lay-medicine-concept_169016-19830.jpg", + description: "Fuerza explosiva garantizada." + }, + { + title: "Pre-Entrenos", + imageSrc: "http://img.b2bpic.net/free-photo/chocolate-drops-near-yogurt_23-2147895735.jpg", + description: "Enfoque y energía ilimitada." + } +]; + +type FeatureItem = { + title: string; + description: string; + href?: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +interface FeaturesImageBentoProps { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem]; +} + +const ProductsInline = () => { + const gridClasses = [ + "md:col-span-2", + "md:col-span-4", + "md:col-span-3", + "md:col-span-3", + "md:col-span-2", + "md:col-span-2", + "md:col-span-2", + ]; + + const staggerDelays = [ + 0, + 0.1, + 0, + 0.1, + 0, + 0.1, + 0.2, + ]; + + return ( +
+
+
+
+

{"Colección"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ +
+ {items.map((item, index) => { + const content = ( +
+ + +
+ {item.title} + {item.description} +
+
+ ); + + return ( + + {item.href ? ( + + {content} + + ) : ( +
+ {content} +
+ )} +
+ ); + })} +
+
+
+ ); +}; + +export default function ProductsSection() { + return ( +
+ +
+ ); +} -- 2.49.1