From b90b374bbf28261fb02c6d0243506008423e6741 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 4 Jul 2026 21:11:48 +0000 Subject: [PATCH 1/3] Bob AI: Update global theme to bright minimal palette --- src/index.css | 18 +- src/pages/HomePage.tsx | 275 ++----------------- src/pages/HomePage/sections/About.tsx | 22 ++ src/pages/HomePage/sections/Contact.tsx | 28 ++ src/pages/HomePage/sections/Faq.tsx | 39 +++ src/pages/HomePage/sections/Hero.tsx | 44 +++ src/pages/HomePage/sections/Metrics.tsx | 39 +++ src/pages/HomePage/sections/Services.tsx | 58 ++++ src/pages/HomePage/sections/Team.tsx | 44 +++ src/pages/HomePage/sections/Testimonials.tsx | 53 ++++ 10 files changed, 361 insertions(+), 259 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/Metrics.tsx create mode 100644 src/pages/HomePage/sections/Services.tsx create mode 100644 src/pages/HomePage/sections/Team.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/index.css b/src/index.css index e1cd940..d72a363 100644 --- a/src/index.css +++ b/src/index.css @@ -5,15 +5,15 @@ :root { /* @colorThemes/lightTheme/grayNavyBlue */ - --background: #050012; - --card: #040121; - --foreground: #f0e6ff; - --primary-cta: #c89bff; - --primary-cta-text: #050012; - --secondary-cta: #1d123b; - --secondary-cta-text: #f0e6ff; - --accent: #684f7b; - --background-accent: #65417c; + --background: #ffffff; + --card: #f8f9fa; + --foreground: #111827; + --primary-cta: #6366f1; + --primary-cta-text: #ffffff; + --secondary-cta: #e0e7ff; + --secondary-cta-text: #4f46e5; + --accent: #6b7280; + --background-accent: #f3f4f6; /* @layout/border-radius/rounded */ --radius: 1.5rem; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 364bee9..0611eab 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,262 +1,37 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroCenteredLogos from '@/components/sections/hero/HeroCenteredLogos'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import TeamProfileCards from '@/components/sections/team/TeamProfileCards'; -import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; -import { TrendingUp, Users, Zap } from "lucide-react"; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in the sibling sections/ folder (one file per section). +// Edit those section files directly. Non-block content (wrappers, +// non-inlinable sections) is preserved inline; extracted section blocks +// become component refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import AboutSection from './HomePage/sections/About'; +import ServicesSection from './HomePage/sections/Services'; +import MetricsSection from './HomePage/sections/Metrics'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import TeamSection from './HomePage/sections/Team'; +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..4092f70 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,22 @@ +// 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..6a82b12 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,28 @@ +// 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..e536ecc --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,39 @@ +// 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 FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; +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..b5a9fb4 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,44 @@ +// 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 HeroCenteredLogos from '@/components/sections/hero/HeroCenteredLogos'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..46b9cd3 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,39 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "metrics" section. + +import React from 'react'; +import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; +import { TrendingUp, Users, Zap } from "lucide-react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Services.tsx b/src/pages/HomePage/sections/Services.tsx new file mode 100644 index 0000000..aaa8470 --- /dev/null +++ b/src/pages/HomePage/sections/Services.tsx @@ -0,0 +1,58 @@ +// 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 FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ServicesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Team.tsx b/src/pages/HomePage/sections/Team.tsx new file mode 100644 index 0000000..59ba41d --- /dev/null +++ b/src/pages/HomePage/sections/Team.tsx @@ -0,0 +1,44 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "team" section. + +import React from 'react'; +import TeamProfileCards from '@/components/sections/team/TeamProfileCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TeamSection(): 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..31fdf60 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,53 @@ +// 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 TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1 From a46d7d78067c1e6da7785c5b68119fb4ded35f8e Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 4 Jul 2026 21:12:05 +0000 Subject: [PATCH 2/3] Bob AI: Update layout style provider to use magnetic buttons and rem --- src/components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 3f2f5db..18bed78 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -38,7 +38,7 @@ export default function Layout() { ]; return ( - + Date: Sat, 4 Jul 2026 21:13:07 +0000 Subject: [PATCH 3/3] Bob AI: Create interactive metrics section with scroll animations an --- src/pages/HomePage.tsx | 6 +- src/pages/HomePage/sections/Metrics.tsx | 232 ++++++++++++++++++++---- 2 files changed, 201 insertions(+), 37 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 0611eab..9bfe142 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -8,13 +8,13 @@ import React from 'react'; import HeroSection from './HomePage/sections/Hero'; import AboutSection from './HomePage/sections/About'; import ServicesSection from './HomePage/sections/Services'; -import MetricsSection from './HomePage/sections/Metrics'; import TestimonialsSection from './HomePage/sections/Testimonials'; import TeamSection from './HomePage/sections/Team'; import FaqSection from './HomePage/sections/Faq'; import ContactSection from './HomePage/sections/Contact'; -export default function HomePage(): React.JSX.Element { + +import MetricsSection from './HomePage/sections/Metrics';export default function HomePage(): React.JSX.Element { return ( <> @@ -22,8 +22,8 @@ export default function HomePage(): React.JSX.Element { + - diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx index 46b9cd3..caa6f9d 100644 --- a/src/pages/HomePage/sections/Metrics.tsx +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -1,39 +1,203 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "metrics" section. - -import React from 'react'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import { TrendingUp, Users, Zap } from "lucide-react"; +import React, { useEffect, useRef, useState } from 'react'; +import { motion, useScroll, useTransform, useInView } from 'motion/react'; +import { TrendingUp, Users, Search, MousePointerClick, ArrowUpRight } from 'lucide-react'; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import CursorTrail from "@/components/ui/CursorTrail"; export default function MetricsSection(): React.JSX.Element { + const containerRef = useRef(null); + const isInView = useInView(containerRef, { once: false, amount: 0.3 }); + const [mousePos, setMousePos] = useState({ x: 0, y: 0 }); + + const { scrollYProgress } = useScroll({ + target: containerRef, + offset: ["start end", "end start"] + }); + + // Animate metrics based on scroll + const profitValue = useTransform(scrollYProgress, [0.2, 0.8], [0, 345]); + const leadsValue = useTransform(scrollYProgress, [0.2, 0.8], [0, 89]); + const visitorsValue = useTransform(scrollYProgress, [0.2, 0.8], [0, 12500]); + const rankingValue = useTransform(scrollYProgress, [0.2, 0.8], [50, 1]); + + const [displayValues, setDisplayValues] = useState({ + profit: 0, + leads: 0, + visitors: 0, + ranking: 50 + }); + + useEffect(() => { + const handleMouseMove = (e: MouseEvent) => { + if (!containerRef.current) return; + const rect = containerRef.current.getBoundingClientRect(); + setMousePos({ + x: e.clientX - rect.left, + y: e.clientY - rect.top + }); + }; + + window.addEventListener('mousemove', handleMouseMove); + return () => window.removeEventListener('mousemove', handleMouseMove); + }, []); + + useEffect(() => { + const unsubscribeProfit = profitValue.on("change", v => setDisplayValues(prev => ({ ...prev, profit: Math.round(v) }))); + const unsubscribeLeads = leadsValue.on("change", v => setDisplayValues(prev => ({ ...prev, leads: Math.round(v) }))); + const unsubscribeVisitors = visitorsValue.on("change", v => setDisplayValues(prev => ({ ...prev, visitors: Math.round(v) }))); + const unsubscribeRanking = rankingValue.on("change", v => setDisplayValues(prev => ({ ...prev, ranking: Math.round(v) }))); + + return () => { + unsubscribeProfit(); + unsubscribeLeads(); + unsubscribeVisitors(); + unsubscribeRanking(); + }; + }, [profitValue, leadsValue, visitorsValue, rankingValue]); + return ( -
- - - -
+
+ + + {/* Mouse-following spotlight */} + + + +
+
+ +
+ + Interaktívne výsledky +
+
+ + + + +

+ Moderný web nie je len vizitka. Je to predajný nástroj, ktorý pracuje 24/7. + Posúvajte stránku a sledujte, aký vplyv má kvalitný marketing na vaše čísla. +

+
+
+ +
+ {/* Profit Chart Card */} + +
+ +
+
+
+ +
+

Nárast tržieb

+
+ +{displayValues.profit}% + YoY +
+ + {/* Animated Chart */} +
+ {[40, 55, 45, 70, 65, 85, 100].map((height, i) => ( + + + + ))} +
+
+
+ +
+ {/* Google Ranking Card */} + +
+
+
+ +
+

Pozícia v Google

+
#{displayValues.ranking}
+
+
+
Organická návštevnosť
+
+{Math.round((50 - displayValues.ranking) * 12.5)}%
+
+
+
+ +
+
+ +
+ {/* Leads Card */} + +
+ +
+

Nové dopyty

+
{displayValues.leads} / mesiac
+
+ + {/* Visitors Card */} + +
+ +
+

Návštevníci

+
+ {displayValues.visitors > 1000 ? `${(displayValues.visitors / 1000).toFixed(1)}k` : displayValues.visitors} +
+
+
+
+
+
+
+
); -} +} \ No newline at end of file -- 2.49.1