From 4d168cffc33bd94dda12c4fd71b90c9955cb2a77 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 26 Apr 2026 15:43:11 +0000 Subject: [PATCH] Bob AI: add a trusted by carousel to the hero section with logos of --- src/App.tsx | 6 ++--- .../sections/hero/HeroWithMarquee.tsx | 23 +++++++++++++++++++ src/components/ui/LogoMarquee.tsx | 22 ++++++++++++++++++ src/index.css | 8 +++++++ 4 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 src/components/sections/hero/HeroWithMarquee.tsx create mode 100644 src/components/ui/LogoMarquee.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..c05b11d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,13 +1,13 @@ import { Routes, Route } from 'react-router-dom'; import Layout from './components/Layout'; -import HomePage from './pages/HomePage'; +import HeroWithMarquee from './components/sections/hero/HeroWithMarquee'; export default function App() { return ( }> - } /> + } /> ); -} +} \ No newline at end of file diff --git a/src/components/sections/hero/HeroWithMarquee.tsx b/src/components/sections/hero/HeroWithMarquee.tsx new file mode 100644 index 0000000..87c8d72 --- /dev/null +++ b/src/components/sections/hero/HeroWithMarquee.tsx @@ -0,0 +1,23 @@ +import LogoMarquee from "@/components/ui/LogoMarquee"; + +export default function HeroWithMarquee() { + return ( +
+
+ Trusted Partner +

+ Build faster with Webild +

+

+ The ultimate website builder for modern teams. +

+
+ Get Started + Learn More +
+
+ + +
+ ); +} \ No newline at end of file diff --git a/src/components/ui/LogoMarquee.tsx b/src/components/ui/LogoMarquee.tsx new file mode 100644 index 0000000..05a16af --- /dev/null +++ b/src/components/ui/LogoMarquee.tsx @@ -0,0 +1,22 @@ +export default function LogoMarquee() { + const logos = [ + "https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg", + "https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg", + "https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg", + "https://upload.wikimedia.org/wikipedia/commons/5/51/IBM_logo.svg", + "https://upload.wikimedia.org/wikipedia/commons/0/08/Cisco_logo_blue_2016.svg" + ]; + + return ( +
+

Trusted by innovative companies

+
+
+ {[...logos, ...logos, ...logos, ...logos].map((logo, i) => ( + Company Logo + ))} +
+
+
+ ); +} \ No newline at end of file diff --git a/src/index.css b/src/index.css index 7b2e9d5..7188970 100644 --- a/src/index.css +++ b/src/index.css @@ -196,4 +196,12 @@ h6 { .rotate-y-180 { transform: rotateY(180deg); } + .animate-marquee { + animation: marquee 30s linear infinite; + } +} + +@keyframes marquee { + from { transform: translateX(0%); } + to { transform: translateX(-50%); } } \ No newline at end of file -- 2.49.1