diff --git a/src/components/custom/HeroImage.tsx b/src/components/custom/HeroImage.tsx new file mode 100644 index 0000000..44042c5 --- /dev/null +++ b/src/components/custom/HeroImage.tsx @@ -0,0 +1,83 @@ +import { motion } from "motion/react"; +import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/Avatar"; +import Button from "@/components/ui/Button"; +import { cn } from "@/lib/utils"; + +const HeroImage = ({ + title, + description, + primaryButton, + secondaryButton, + imageSrc, + avatars, + avatarsLabel, +}: { + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + imageSrc: string; + avatars: { src: string }[]; + avatarsLabel: string; +}) => { + return ( +
+
+ +
+
+ {avatars.map((avatar, index) => ( + + + {index} + + ))} +
+ {avatarsLabel} +
+

+ {title} +

+

+ {description} +

+
+ + +
+
+ + Hero Image + +
+
+
+ ); +}; + +export default HeroImage; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 55f45ac..49cac50 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -2,7 +2,7 @@ import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; import ContactCta from '@/components/sections/contact/ContactCta'; import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; import FeaturesProfileCards from '@/components/sections/features/FeaturesProfileCards'; -import HeroBillboard from '@/components/sections/hero/HeroBillboard'; +import HeroImage from '@/components/custom/HeroImage'; import PricingSplitCards from '@/components/sections/pricing/PricingSplitCards'; import ProductVariantCards from '@/components/sections/product/ProductVariantCards'; import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; @@ -13,8 +13,7 @@ export default function HomePage() { <>
-