{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "team-social",
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "../../packages/blocks/src/team-section/team-social.tsx",
      "content": "'use client'\r\n\r\nimport { TimelineAnimation } from '@/components/ui/timeline-animation'\r\nimport { Button } from '@repo/shadcn'\r\nimport { LinkedinIcon, TwitterIcon } from 'lucide-react'\r\nimport React, { useRef } from 'react'\r\nconst TEAM_MEMBERS_3 = [\r\n  {\r\n    id: '1',\r\n    name: 'Amélie Laurent',\r\n    role: 'Founder & CEO',\r\n    image:\r\n      'https://images.unsplash.com/photo-1544168190-79c17527004f?q=80&w=688&auto=format&fit=crop',\r\n  },\r\n  {\r\n    id: '2',\r\n    name: 'Nikolas Gibbons',\r\n    role: 'Engineering Manager',\r\n    image:\r\n      'https://images.unsplash.com/photo-1560250097-0b93528c311a?q=80&w=687&auto=format&fit=crop',\r\n  },\r\n  {\r\n    id: '3',\r\n    name: 'Sienna Hewitt',\r\n    role: 'Product Manager',\r\n    image:\r\n      'https://images.unsplash.com/photo-1765438869321-d60141efd813?q=80&w=687&auto=format&fit=crop',\r\n  },\r\n  {\r\n    id: '4',\r\n    name: 'Zahra Christensen',\r\n    role: 'Backend Developer',\r\n    image:\r\n      'https://images.unsplash.com/photo-1734434570358-21badf4ba1c6?q=80&w=687&auto=format&fit=crop',\r\n  },\r\n]\r\n\r\nexport const TeamSocial = () => {\r\n  const timelineRef = useRef<HTMLDivElement>(null)\r\n\r\n  return (\r\n    <section className=\"bg-white min-h-screen\" ref={timelineRef}>\r\n      <div className=\"max-w-7xl mx-auto px-4 py-20\">\r\n        <div className=\"text-center mb-16\">\r\n          <TimelineAnimation\r\n            timelineRef={timelineRef}\r\n            animationNum={1}\r\n            as=\"span\"\r\n            className=\"inline-block px-3 py-1 bg-green-50 text-green-700 text-xs font-semibold rounded-full mb-4\"\r\n          >\r\n            Pure talent\r\n          </TimelineAnimation>\r\n          <TimelineAnimation\r\n            timelineRef={timelineRef}\r\n            animationNum={2}\r\n            as=\"h2\"\r\n            className=\"text-5xl font-serif font-bold text-neutral-900 mb-6\"\r\n          >\r\n            Meet our team\r\n          </TimelineAnimation>\r\n          <TimelineAnimation\r\n            timelineRef={timelineRef}\r\n            animationNum={3}\r\n            as=\"p\"\r\n            className=\"text-lg text-neutral-500 leading-relaxed max-w-2xl mx-auto mb-10\"\r\n          >\r\n            Unleashing creativity, our team of design visionaries turns ordinary\r\n            spaces into extraordinary experiences.\r\n          </TimelineAnimation>\r\n          <TimelineAnimation\r\n            timelineRef={timelineRef}\r\n            animationNum={4}\r\n            className=\"flex items-center justify-center gap-4\"\r\n          >\r\n            <Button className=\"px-6 py-3 font-spaceGrotesk bg-orange-500 shadow-lg shadow-orange-500 text-white font-bold rounded-xl hover:bg-ornage-600 transition-all \">\r\n              Get started\r\n            </Button>\r\n            <Button className=\"px-4 py-3 font-spaceGrotesk border border-neutral-200 font-bold rounded-xl text-white transition-all\">\r\n              Explore features\r\n            </Button>\r\n          </TimelineAnimation>\r\n        </div>\r\n\r\n        <div className=\"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-y-16 gap-x-12\">\r\n          {TEAM_MEMBERS_3.map((member, i) => (\r\n            <TimelineAnimation\r\n              key={member.id}\r\n              timelineRef={timelineRef}\r\n              animationNum={5 + i}\r\n              className=\"flex flex-col items-center text-center group\"\r\n            >\r\n              <div className=\"w-full rounded-full overflow-hidden mb-6 ring-4 ring-transparent group-hover:ring-orange-100 transition-all duration-300\">\r\n                <img\r\n                  src={member.image}\r\n                  alt={member.name}\r\n                  className=\"w-full h-full object-cover\"\r\n                />\r\n              </div>\r\n              <h3 className=\"text-xl font-bold text-neutral-900 mb-1\">\r\n                {member.name}\r\n              </h3>\r\n              <p className=\"text-neutral-500 mb-4\">{member.role}</p>\r\n              <div className=\"flex gap-4 text-neutral-400\">\r\n                <a\r\n                  href=\"#\"\r\n                  className=\"hover:text-neutral-600 transition-colors\"\r\n                >\r\n                  <TwitterIcon />\r\n                </a>\r\n                <a\r\n                  href=\"#\"\r\n                  className=\"hover:text-neutral-600 transition-colors\"\r\n                >\r\n                  <LinkedinIcon />\r\n                </a>\r\n              </div>\r\n            </TimelineAnimation>\r\n          ))}\r\n        </div>\r\n      </div>\r\n    </section>\r\n  )\r\n}\r\n",
      "type": "registry:block"
    },
    {
      "path": "./components/ui/timeline-animation.tsx",
      "content": "import type { Variants } from 'motion/react';\nimport { type HTMLMotionProps, motion, useInView } from 'motion/react';\nimport type React from 'react';\n\ntype TimelineContentProps<T extends keyof HTMLElementTagNameMap> = {\n  children?: React.ReactNode;\n  animationNum: number;\n  className?: string;\n  timelineRef: React.RefObject<HTMLElement | null>;\n  as?: T;\n  customVariants?: Variants;\n  once?: boolean;\n} & HTMLMotionProps<T>;\n\nexport const TimelineAnimation = <T extends keyof HTMLElementTagNameMap = 'div'>({\n  children,\n  animationNum,\n  timelineRef,\n  className,\n  as,\n  customVariants,\n  once = true,\n  ...props\n}: TimelineContentProps<T>) => {\n  const defaultSequenceVariants = {\n    visible: (i: number) => ({\n      filter: 'blur(0px)',\n      y: 0,\n      opacity: 1,\n      transition: {\n        delay: i * 0.5,\n        duration: 0.5,\n      },\n    }),\n    hidden: {\n      filter: 'blur(20px)',\n      y: 0,\n      opacity: 0,\n    },\n  };\n\n  const sequenceVariants = customVariants || defaultSequenceVariants;\n\n  const isInView = useInView(timelineRef, {\n    once,\n  });\n\n  const MotionComponent = motion[as || 'div'] as React.ElementType;\n\n  return (\n    <MotionComponent\n      initial='hidden'\n      animate={isInView ? 'visible' : 'hidden'}\n      custom={animationNum}\n      variants={sequenceVariants}\n      className={className}\n      {...props}\n    >\n      {children}\n    </MotionComponent>\n  );\n};\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:block"
}