From ad03bd84f3293942e8c21642d3f423d5abf38fd3 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 17 Jun 2026 15:01:07 +0000 Subject: [PATCH 1/2] Bob AI: Updated About section to a two-column layout with an image a --- src/pages/HomePage.tsx | 249 ++----------------- src/pages/HomePage/sections/About.tsx | 72 ++++++ src/pages/HomePage/sections/Benefits.tsx | 46 ++++ src/pages/HomePage/sections/Categories.tsx | 42 ++++ src/pages/HomePage/sections/Hero.tsx | 36 +++ src/pages/HomePage/sections/Products.tsx | 64 +++++ src/pages/HomePage/sections/Subscription.tsx | 27 ++ src/pages/HomePage/sections/Testimonials.tsx | 57 +++++ 8 files changed, 366 insertions(+), 227 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Benefits.tsx create mode 100644 src/pages/HomePage/sections/Categories.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Products.tsx create mode 100644 src/pages/HomePage/sections/Subscription.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index dc4725c..c4e1ed0 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,238 +1,33 @@ -import AboutText from '@/components/sections/about/AboutText'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesBentoGrid from '@/components/sections/features/FeaturesBentoGrid'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid'; -import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; -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 CategoriesSection from './HomePage/sections/Categories'; +import AboutSection from './HomePage/sections/About'; +import ProductsSection from './HomePage/sections/Products'; +import BenefitsSection from './HomePage/sections/Benefits'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import SubscriptionSection from './HomePage/sections/Subscription'; + +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..52e70bd --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,72 @@ +/* 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 Tag from "@/components/ui/Tag"; + +const primaryButton = { + text: "Conoce nuestra historia", + href: "#" +}; + +interface AboutTextProps { + title: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; +} + +const AboutInline = () => { + return ( +
+
+
+
+ +
+
+ + +
+

+ Nuestra misión es conectar tu estilo de vida con la sabiduría de la botánica, priorizando siempre la sostenibilidad y el origen responsable de cada componente. +

+
    +
  • +
    + Misión y Valores +
  • +
  • +
    + Compromiso con la sostenibilidad +
  • +
  • +
    + Compromiso con la calidad +
  • +
+
+ {primaryButton &&
+
+
+
+ ); +}; + +export default function AboutSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Benefits.tsx b/src/pages/HomePage/sections/Benefits.tsx new file mode 100644 index 0000000..bc67f36 --- /dev/null +++ b/src/pages/HomePage/sections/Benefits.tsx @@ -0,0 +1,46 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "benefits" section. + +import React from 'react'; +import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function BenefitsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Categories.tsx b/src/pages/HomePage/sections/Categories.tsx new file mode 100644 index 0000000..8c1e8ec --- /dev/null +++ b/src/pages/HomePage/sections/Categories.tsx @@ -0,0 +1,42 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "categories" section. + +import React from 'react'; +import FeaturesBentoGrid from '@/components/sections/features/FeaturesBentoGrid'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CategoriesSection(): 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..44e6545 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,36 @@ +// 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 HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid'; +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..168da16 --- /dev/null +++ b/src/pages/HomePage/sections/Products.tsx @@ -0,0 +1,64 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "products" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProductsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Subscription.tsx b/src/pages/HomePage/sections/Subscription.tsx new file mode 100644 index 0000000..c1c4c1a --- /dev/null +++ b/src/pages/HomePage/sections/Subscription.tsx @@ -0,0 +1,27 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "subscription" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function SubscriptionSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..0e7ea9d --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonials" section. + +import React from 'react'; +import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1 From aa579e254fad8103c0b980ad1885a23da07dbc2d Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 17 Jun 2026 15:04:09 +0000 Subject: [PATCH 2/2] Bob AI: Updated Products section to a grid layout with two buttons p --- src/pages/HomePage/sections/Products.tsx | 213 +++++++++++++++++------ 1 file changed, 155 insertions(+), 58 deletions(-) diff --git a/src/pages/HomePage/sections/Products.tsx b/src/pages/HomePage/sections/Products.tsx index 168da16..246d33c 100644 --- a/src/pages/HomePage/sections/Products.tsx +++ b/src/pages/HomePage/sections/Products.tsx @@ -1,64 +1,161 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "products" 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 TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { cls } from "@/lib/utils"; -import React from 'react'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const items = [ + { + title: "Aceite esencial", + description: "$25", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/top-view-arrangement-argan-oil-care-product_23-2148955832.jpg" + }, + { + title: "Difusor", + description: "$45", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/aroma-oil-diffuser-lamp-blurred-background-interior-room_169016-30279.jpg" + }, + { + title: "Serum botánico", + description: "$35", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242181.jpg" + }, + { + title: "Vela de soja", + description: "$20", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/top-view-advent-wreath-ornaments-still-life_23-2150820774.jpg" + }, + { + title: "Jabón artesanal", + description: "$15", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/person-with-festive-wrapped-christmas-gift_23-2149161152.jpg" + }, + { + title: "Kit de inicio", + description: "$80", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/gift-set-with-candles-vase-holiday_169016-18658.jpg" + }, + { + title: "Infusión herbal", + description: "$12", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/dry-tea-leaves-glass_114579-70343.jpg" + } +]; + +type FeatureItem = { + title: string; + description: string; + href: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +interface FeaturesRevealCardsBentoProps { + 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 FeaturesRevealCardsBento = () => { + 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, + ]; -export default function ProductsSection(): React.JSX.Element { return ( -
- - - +
+
+
+
+

{"Tienda"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ +
+ {items.map((item, index) => ( + +
+
+ +
+
+

{item.title}

+

{item.description}

+
+
+
+
+
+ ))} +
+
+ ); +}; + +export default function ProductsSection() { + return ( +
+ +
); } -- 2.49.1