diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx index af28470..23387e6 100644 --- a/src/pages/HomePage/sections/Hero.tsx +++ b/src/pages/HomePage/sections/Hero.tsx @@ -1,41 +1,98 @@ -// 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 AvatarGroup from "@/components/ui/AvatarGroup"; -import React from 'react'; -import HeroCenteredLogos from '@/components/sections/hero/HeroCenteredLogos'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const avatarsSrc = [ + "http://img.b2bpic.net/free-photo/handsome-black-male-dressed-suit-from-wool_613910-15865.jpg", + "http://img.b2bpic.net/free-photo/happy-builder-hardhat_1398-1726.jpg", + "http://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg", + "http://img.b2bpic.net/free-photo/portrait-smiling-mature-businessman-looking-away_23-2147955371.jpg" +]; +const primaryButton = { + text: "تصفح الآليات الآن", + href: "#products" +}; +const secondaryButton = { + text: "طلب استشارة", + href: "#contact" +}; +const names = [ + "معدات موثوقة", + "شحن عالمي", + "دعم فني", + "تأمين جودة" +]; -export default function HeroSection(): React.JSX.Element { +type HeroCenteredLogosProps = { + avatarsSrc: string[]; + avatarText: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + names: string[]; + hideMedia?: boolean; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const HeroInline = () => { return ( -