diff --git a/src/pages/HomePage/sections/Team.tsx b/src/pages/HomePage/sections/Team.tsx index 7fce0a5..fc7f51b 100644 --- a/src/pages/HomePage/sections/Team.tsx +++ b/src/pages/HomePage/sections/Team.tsx @@ -1,17 +1,148 @@ -// Created by add_section_from_catalog (TeamProfileCards). +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import { BadgeCheck } from "lucide-react"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import Button from "@/components/ui/Button"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { useButtonClick } from "@/hooks/useButtonClick"; -import React from 'react'; -import TeamProfileCards from '@/components/sections/team/TeamProfileCards'; +const items = [ + { + avatarSrc: "https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&q=80&w=256&h=256", + buttonText: "LinkedIn", + title: "Michael Chen", + imageSrc: "https://picsum.photos/seed/731591061/1200/800", + description: "10+ years of experience in digital marketing and brand strategy." + }, + { + buttonText: "LinkedIn", + title: "Sarah Jenkins", + imageSrc: "https://picsum.photos/seed/1117886791/1200/800", + avatarSrc: "https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&q=80&w=256&h=256", + description: "Specializes in SEO, content creation, and organic growth." + }, + { + imageSrc: "https://picsum.photos/seed/1228880249/1200/800", + buttonText: "LinkedIn", + title: "David Rodriguez", + avatarSrc: "https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?auto=format&fit=crop&q=80&w=256&h=256", + description: "Expert in paid media, analytics, and conversion rate optimization." + } +]; -export default function TeamSection(): React.JSX.Element { +type TeamItem = { + title: string; + description: string; + avatarSrc: string; + buttonText: string; + buttonHref?: string; + buttonOnClick?: () => void; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const ProfileCard = ({ item }: { item: TeamItem }) => { + const handleClick = useButtonClick(item.buttonHref, item.buttonOnClick); + + return ( +
+ + +
+ + LinkedIn + + + Instagram + + + X + +
+ +