From 84edf07ee1a0e5a0d0a3bffd343c159e71041edd Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 22 Jun 2026 07:20:03 +0000 Subject: [PATCH] Bob AI: Add border glow animation to the hero tag --- src/pages/HomePage/sections/Hero.tsx | 164 ++++++++++++++++++++------- 1 file changed, 122 insertions(+), 42 deletions(-) diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx index 21d72d6..df2799b 100644 --- a/src/pages/HomePage/sections/Hero.tsx +++ b/src/pages/HomePage/sections/Hero.tsx @@ -1,48 +1,128 @@ -// 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 HeroTiltedCards from '@/components/sections/hero/HeroTiltedCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +/* 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 ScrollReveal from "@/components/ui/ScrollReveal"; +import { cls } from "@/lib/utils"; + +const primaryButton = { + text: "View Projects", + href: "#features" +}; +const secondaryButton = { + text: "Contact", + href: "#contact" +}; +const items = [ + { + imageSrc: "http://img.b2bpic.net/free-photo/panoramic-views-dubai-city-illuminated-neon-spectrum_23-2151305369.jpg" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/optical-fiber-background_23-2149301549.jpg" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/cyber-security-concept-digital-art_23-2151637778.jpg" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/woman-wheelchair-doing-maintenance-server-room-infrastructure_482257-124817.jpg" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/portrait-white-stationery-mock-up-against-black-background_23-2148052544.jpg" + } +]; + +type MediaItem = { imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }; + +interface HeroTiltedCardsProps { + tag: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + items: [MediaItem, MediaItem, MediaItem, MediaItem, MediaItem]; +} + +import BorderGlow from "@/components/ui/BorderGlow"; + +const HeroInline = () => { + const marqueeItems = [...items, ...items]; + const galleryStyles = [ + "-rotate-6 z-10 -translate-y-5", + "rotate-6 z-20 translate-y-5 -ml-15", + "-rotate-6 z-30 -translate-y-5 -ml-15", + "rotate-6 z-40 translate-y-5 -ml-15", + "-rotate-6 z-50 -translate-y-5 -ml-15", + ]; -export default function HeroSection(): React.JSX.Element { return ( -
- - - - - +
+ +
+
+ +
+

{"Software Engineer"}

+
+
+ + + + + +
+
+
+ + +
+ {marqueeItems.map((item, index) => ( +
+ +
+ ))} +
+
+ + +
+ {items.map((item, index) => ( +
+ +
+ ))} +
+
+
+ ); +}; + +export default function HeroSection() { + return ( +
+ +
); } -- 2.49.1