From b78a329ffb482d2032cc2d0a18eff4a65154ee5a Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 22 Jun 2026 04:09:55 +0000 Subject: [PATCH] Bob AI: Added a cinematic 3-scene hero section matching the mockup. --- src/pages/HomePage.tsx | 4 +- src/pages/HomePage/sections/Hero.tsx | 78 +++++++--- src/pages/HomePage/sections/HeroCinematic.tsx | 138 ++++++++++++++++++ 3 files changed, 197 insertions(+), 23 deletions(-) create mode 100644 src/pages/HomePage/sections/HeroCinematic.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 85973b9..753a238 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -14,10 +14,12 @@ import PricingSection from './HomePage/sections/Pricing'; import FaqSection from './HomePage/sections/Faq'; import ContactSection from './HomePage/sections/Contact'; -export default function HomePage(): React.JSX.Element { + +import HeroCinematicSection from './HomePage/sections/HeroCinematic';export default function HomePage(): React.JSX.Element { return ( <> + diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx index 93f811e..b5d636c 100644 --- a/src/pages/HomePage/sections/Hero.tsx +++ b/src/pages/HomePage/sections/Hero.tsx @@ -1,28 +1,62 @@ -// 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"; +import AutoFillText from "@/components/ui/AutoFillText"; +import ScrollReveal from "@/components/ui/ScrollReveal"; -import React from 'react'; -import HeroBillboardBrand from '@/components/sections/hero/HeroBillboardBrand'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const primaryButton = { + text: "Explore Live", + href: "#explore" +}; +const secondaryButton = { + text: "Ask GARDAS AI", + href: "#ai" +}; -export default function HeroSection(): React.JSX.Element { +type HeroBillboardBrandProps = { + brand: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const HeroInline = () => { return ( -
- - - +
+ +
+
+ {"GARDAS North Cyprus"} + +
+ + + +
+
+ ); +}; + +export default function HeroSection() { + return ( +
+ +
); } diff --git a/src/pages/HomePage/sections/HeroCinematic.tsx b/src/pages/HomePage/sections/HeroCinematic.tsx new file mode 100644 index 0000000..8c4f53d --- /dev/null +++ b/src/pages/HomePage/sections/HeroCinematic.tsx @@ -0,0 +1,138 @@ +import { useState, useEffect } from "react"; +import { motion, AnimatePresence } from "motion/react"; +import Button from "@/components/ui/Button"; + +export default function HeroCinematicSection() { + const [scene, setScene] = useState(1); + + useEffect(() => { + // Scene 1 -> 2: Logo splits after 2.5 seconds + const timer1 = setTimeout(() => setScene(2), 2500); + // Scene 2 -> 3: Expressions fade out, Get Access Now appears after 8 seconds + const timer2 = setTimeout(() => setScene(3), 8000); + + return () => { + clearTimeout(timer1); + clearTimeout(timer2); + }; + }, []); + + return ( +
+ + {scene < 3 && ( + +
+ + GARDAŞ + + + + GARDAŞ + + + + {scene === 2 && ( + + + Napan? + + + Sağol + + + İyisin? + + + )} + +
+
+ )} +
+ + + {scene === 3 && ( + + + GARDAŞ + +

+ Get access now +

+

+ Join the community and discover the hidden pulse of the island. +

+ +
+ ); +} \ No newline at end of file -- 2.49.1