From ef7f23b3b6f4109da0ae8ada76199cd6de9df533 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 23:06:53 +0000 Subject: [PATCH] Bob AI: Add description and video placeholder to modules --- src/pages/HomePage.tsx | 185 ++----------------- src/pages/HomePage/sections/Cta.tsx | 27 +++ src/pages/HomePage/sections/Faq.tsx | 35 ++++ src/pages/HomePage/sections/Hero.tsx | 48 +++++ src/pages/HomePage/sections/Modules.tsx | 166 +++++++++++++++++ src/pages/HomePage/sections/Testimonials.tsx | 42 +++++ 6 files changed, 336 insertions(+), 167 deletions(-) create mode 100644 src/pages/HomePage/sections/Cta.tsx create mode 100644 src/pages/HomePage/sections/Faq.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Modules.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 252f592..52e93c2 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,176 +1,27 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard'; -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 ModulesSection from './HomePage/sections/Modules'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSection from './HomePage/sections/Faq'; +import CtaSection from './HomePage/sections/Cta'; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/Cta.tsx b/src/pages/HomePage/sections/Cta.tsx new file mode 100644 index 0000000..e2f61c7 --- /dev/null +++ b/src/pages/HomePage/sections/Cta.tsx @@ -0,0 +1,27 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "cta" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CtaSection(): 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..90c012b --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,35 @@ +// 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 FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): 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..c87e3e9 --- /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 HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Modules.tsx b/src/pages/HomePage/sections/Modules.tsx new file mode 100644 index 0000000..63f5a48 --- /dev/null +++ b/src/pages/HomePage/sections/Modules.tsx @@ -0,0 +1,166 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import { ArrowUpRight } from "lucide-react"; +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { useButtonClick } from "@/hooks/useButtonClick"; + +const items = [ + { + title: "Módulo 1: Começando", + description: "Aprenda como se afiliar aos melhores produtos e preparar sua mentalidade para o sucesso no mercado digital.", + tags: [ + "Afiliação", + "Mindset" + ], + imageSrc: "http://img.b2bpic.net/free-photo/futuristic-ai-data-visualization_23-2151977857.jpg" + }, + { + title: "Módulo 2: Estrutura", + description: "Passo a passo para montar sua estrutura própria, configurando domínio, hospedagem e páginas de alta conversão.", + tags: [ + "Setup", + "Ferramentas" + ], + imageSrc: "http://img.b2bpic.net/free-photo/futuristic-data-interface_23-2152011741.jpg" + }, + { + title: "Módulo 3: Tráfego Pago", + description: "Domine o Facebook Ads e Google Ads. Crie campanhas do zero, teste criativos e escale seus resultados diários.", + tags: [ + "Ads", + "Facebook" + ], + imageSrc: "http://img.b2bpic.net/free-vector/velocity-technology-interface-design-elements_53876-100773.jpg" + }, + { + title: "Módulo 4: Orgânico", + description: "Estratégias validadas para atrair clientes sem investir em anúncios usando TikTok, Reels e YouTube Shorts.", + tags: [ + "Viral", + "Conteúdo" + ], + imageSrc: "http://img.b2bpic.net/free-vector/pack-futuristic-infographic-elements_52683-17611.jpg" + }, + { + title: "Módulo 5: Criativos", + description: "Descubra os segredos por trás de imagens e vídeos que convertem. Aprenda a usar ferramentas simples de design.", + tags: [ + "Design", + "Conversão" + ], + imageSrc: "http://img.b2bpic.net/free-photo/rendering-smart-home-device_23-2151039367.jpg" + } +]; + +type FeatureItem = { + title: string; + description?: string; + tags: string[]; + href?: string; + onClick?: () => void; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const ArrowButton = ({ href, onClick }: { href?: string; onClick?: () => void }) => { + const handleClick = useButtonClick(href, onClick); + return ( + + + + ); +}; + +interface FeaturesArrowCardsProps { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + items: FeatureItem[]; +} + +const ModulesInline = () => { + return ( +
+
+
+
+

{"Conteúdo Exclusivo"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ + + + {items.map((item) => ( +
+
+ +
+
+
+
+ Assistir Aula +
+
+ +
+
+
+

{item.title}

+ {item.description && ( +

{item.description}

+ )} +
+ {item.tags.map((itemTag) => ( +
+

{itemTag}

+
+ ))} +
+
+
+ ))} +
+
+
+
+ ); +}; + +export default function ModulesSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..85062c1 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,42 @@ +// 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 TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}