From d4248c063d3dbce16f8d1812044d43e0677ac569 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 13 Jun 2026 20:45:15 +0000 Subject: [PATCH] Bob AI: Replaced tag with 5-star rating in hero section --- src/pages/HomePage.tsx | 172 +++----------------- src/pages/HomePage/sections/About.tsx | 123 ++++++++++++++ src/pages/HomePage/sections/Contact.tsx | 27 +++ src/pages/HomePage/sections/Faq.tsx | 62 +++++++ src/pages/HomePage/sections/Hero.tsx | 51 ++++++ src/pages/HomePage/sections/Services.tsx | 29 ++++ src/pages/HomePage/sections/Testimonial.tsx | 20 +++ 7 files changed, 331 insertions(+), 153 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/Hero.tsx create mode 100644 src/pages/HomePage/sections/Services.tsx create mode 100644 src/pages/HomePage/sections/Testimonial.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 4ac7766..7fdb980 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,16 +1,22 @@ +// 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. + import { motion } from "motion/react"; import { StyleProvider } from "@/components/ui/StyleProvider"; import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot"; -import TestimonialTrustCard from "@/components/sections/testimonial/TestimonialTrustCard"; -import HeroWorkScrollStack from "@/components/sections/hero/HeroWorkScrollStack"; -import AboutTestimonialParallax from "@/components/sections/about/AboutTestimonialParallax"; -import FeaturesBentoGridCta from "@/components/sections/features/FeaturesBentoGridCta"; -import FaqTabbedAccordion from "@/components/sections/faq/FaqTabbedAccordion"; -import ContactSplitFormParallax from "@/components/sections/contact/ContactSplitFormParallax"; import LoaderReveal from "@/components/ui/LoaderReveal"; import CornerGlowBackground from "@/components/ui/CornerGlowBackground"; +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import TestimonialSection from './HomePage/sections/Testimonial'; +import AboutSection from './HomePage/sections/About'; +import ServicesSection from './HomePage/sections/Services'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; -export default function HomePage() { +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..79ec714 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,123 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import { useRef } from "react"; +import { useScroll, useTransform, motion } from "motion/react"; +import type { LucideIcon } from "lucide-react"; +import { Quote } from "lucide-react"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import TextAnimation from "@/components/ui/TextAnimation"; +import { useButtonClick } from "@/hooks/useButtonClick"; +import { resolveIcon } from "@/utils/resolve-icon"; + +const socialLinks = [ + { + icon: "Twitter", + label: "Twitter", + href: "#" + }, + { + icon: "Linkedin", + label: "LinkedIn", + href: "#" + }, + { + icon: "Instagram", + label: "Instagram", + href: "#" + } +]; + +type SocialLink = { + icon: string | LucideIcon; + label: string; + href?: string; + onClick?: () => void; +}; + +type AboutTestimonialParallaxProps = { + tag: string; + quote: string; + author: string; + role: string; + socialLinks?: SocialLink[]; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const SocialLinkButton = ({ icon, label, href, onClick }: SocialLink) => { + const Icon = resolveIcon(icon); + const handleClick = useButtonClick(href, onClick); + + return ( + + + {label} + + ); +}; + +const AboutInline = () => { + const imageRef = useRef(null); + + const { scrollYProgress } = useScroll({ + target: imageRef, + offset: ["start end", "end start"], + }); + const imageScale = useTransform(scrollYProgress, [0, 0.6], [1.3, 1]); + + return ( +
+
+
+
+ +
+ +
+
+

{"About"}

+
+ + + +
+ {"Joseph Alexander"} + + {"Independent Designer"} +
+
+
+ +
+ + + + + {socialLinks && socialLinks.length > 0 && ( +
+ {socialLinks.map((link, index) => ( + + ))} +
+ )} +
+
+
+ ); +}; + +export default function AboutSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..8aaa44c --- /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 ContactSplitFormParallax from "@/components/sections/contact/ContactSplitFormParallax"; + +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..f443e8b --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,62 @@ +// 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 FaqTabbedAccordion from "@/components/sections/faq/FaqTabbedAccordion"; + +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..3dd7398 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,51 @@ +// 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 HeroWorkScrollStack from "@/components/sections/hero/HeroWorkScrollStack"; +import RatingStars from "@/components/ui/RatingStars"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ 5.0 Rating
as any} + title="Design that" + titleHighlight="commands attention." + description="Design engineered for performance, not just aesthetics." + descriptionMuted="I craft every visual touchpoint your brand needs to capture attention and convert it into revenue." + primaryButton={{ + text: "Book a call with me", + href: "#contact", + avatarSrc: "https://storage.googleapis.com/webild/default/templates/creative-portfolio/avatar.webp", + avatarLabel: "You", + }} + sectionTag="Selected Work" + sectionTitle="Projects That Speak for Themselves" + sectionDescription="A curated selection of design work that drove real business results for ambitious brands." + items={[ + { + title: "HydroFlow Product Launch", + description: "Beverage brand shoot. Every frame engineered to sell.", + imageSrc: "https://storage.googleapis.com/webild/default/templates/creative-portfolio/screen-1.webp", + tag: "Product Shot", + }, + { + title: "Webild Athlete Campaign", + description: "Sports tech shoot. Wearables captured in raw motion.", + imageSrc: "https://storage.googleapis.com/webild/default/templates/creative-portfolio/screen-2.webp", + tag: "Photography", + }, + { + title: "Maru Residence", + description: "Architectural interior shoot. Minimal compositions.", + imageSrc: "https://storage.googleapis.com/webild/default/templates/creative-portfolio/screen-3.webp", + tag: "Interior Design", + }, + ]} + secondaryButton={{ text: "View all my projects", href: "#" }} + /> + + ); +} diff --git a/src/pages/HomePage/sections/Services.tsx b/src/pages/HomePage/sections/Services.tsx new file mode 100644 index 0000000..9523117 --- /dev/null +++ b/src/pages/HomePage/sections/Services.tsx @@ -0,0 +1,29 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "services" section. + +import React from 'react'; +import FeaturesBentoGridCta from "@/components/sections/features/FeaturesBentoGridCta"; + +export default function ServicesSection(): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonial.tsx b/src/pages/HomePage/sections/Testimonial.tsx new file mode 100644 index 0000000..8f77d31 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonial.tsx @@ -0,0 +1,20 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonial" section. + +import React from 'react'; +import TestimonialTrustCard from "@/components/sections/testimonial/TestimonialTrustCard"; + +export default function TestimonialSection(): React.JSX.Element { + return ( +
+ +
+ ); +}