{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "team-modern",
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "../../packages/blocks/src/team-section/team-modern.tsx",
      "content": "'use client'\r\nimport React, { useRef } from 'react'\r\nimport { Codesandbox } from 'lucide-react'\r\nimport { TimelineAnimation } from '@/components/ui/timeline-animation'\r\n\r\nexport const TEAM_MEMBERS_1 = [\r\n  {\r\n    id: '1',\r\n    name: 'Matt Payel',\r\n    role: 'C.E.O',\r\n    image:\r\n      'https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=880&auto=format&fit=crop',\r\n  },\r\n  {\r\n    id: '2',\r\n    name: 'Jack Remon',\r\n    role: 'C.F.O',\r\n    image:\r\n      'https://images.unsplash.com/photo-1623366302587-b38b1ddaefd9?q=80&w=1025&auto=format&fit=crop',\r\n  },\r\n  {\r\n    id: '3',\r\n    name: 'Zane Carder',\r\n    role: 'Lead Dev',\r\n    quirk: 'Coffee addict',\r\n    image:\r\n      'https://images.unsplash.com/photo-1552058544-f2b08422138a?w=400&h=400&fit=crop',\r\n  },\r\n  {\r\n    id: '4',\r\n    name: 'Abram Dias',\r\n    role: 'UX lead',\r\n    image:\r\n      'https://images.unsplash.com/flagged/photo-1573603867003-89f5fd7a7576?q=80&w=746&auto=format&fit=crop',\r\n  },\r\n]\r\n\r\nexport const TeamModern = () => {\r\n  const timelineRef = useRef<HTMLDivElement>(null)\r\n\r\n  return (\r\n    <section className=\"bg-white\" ref={timelineRef}>\r\n      <div className=\"max-w-7xl mx-auto px-4 py-20\">\r\n        <div className=\"mb-8\">\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          <div className=\"flex flex-col lg:flex-row lg:items-end justify-between gap-6\">\r\n            <div className=\"max-w-2xl\">\r\n              <TimelineAnimation\r\n                timelineRef={timelineRef}\r\n                animationNum={2}\r\n                as=\"h2\"\r\n                className=\"text-5xl font-spaceGrotesk 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\"\r\n              >\r\n                Unleashing creativity, our team of design visionaries turns\r\n                ordinary spaces into extraordinary experiences.\r\n              </TimelineAnimation>\r\n            </div>\r\n            <TimelineAnimation\r\n              timelineRef={timelineRef}\r\n              animationNum={4}\r\n              className=\"flex items-center gap-4\"\r\n            >\r\n              <button className=\"font-spaceGrotesk px-3 py-2.5 bg-orange-500 shadow-lg shadow-orange-500 text-white font-semibold rounded-lg hover:bg-orange-600 transition-colors\">\r\n                Get started\r\n              </button>\r\n              <button className=\"font-spaceGrotesk bg-neutral-100 px-3 py-2.5 border border-neutral-300 text-neutral-700 font-semibold rounded-lg hover:bg-neutral-50 transition-colors\">\r\n                Explore features\r\n              </button>\r\n            </TimelineAnimation>\r\n          </div>\r\n        </div>\r\n\r\n        <TimelineAnimation\r\n          timelineRef={timelineRef}\r\n          animationNum={5}\r\n          className=\"flex flex-wrap gap-8 py-12 mb-12 border-b border-neutral-100\"\r\n        >\r\n          <div className=\"flex items-center gap-2 text-neutral-900 font-semibold text-xl\">\r\n            <Codesandbox color=\"#7C3AED\" size={32} /> UI-Layouts\r\n          </div>\r\n          <div className=\"flex items-center gap-2 text-neutral-900 font-semibold text-xl\">\r\n            <Codesandbox color=\"#4F46E5\" size={32} /> Tools UI\r\n          </div>\r\n          <div className=\"flex items-center gap-2 text-neutral-900 font-semibold text-xl\">\r\n            <Codesandbox color=\"#DC2626\" size={32} /> Logoipsum\r\n          </div>\r\n          <div className=\"flex items-center gap-2 text-neutral-900 font-semibold text-xl\">\r\n            <Codesandbox color=\"#F59E0B\" size={32} /> Logoipsum\r\n          </div>\r\n        </TimelineAnimation>\r\n\r\n        <div className=\"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8\">\r\n          {TEAM_MEMBERS_1.map((member, i) => (\r\n            <TimelineAnimation\r\n              key={member.id}\r\n              timelineRef={timelineRef}\r\n              animationNum={6 + i}\r\n              className=\"group\"\r\n            >\r\n              <div className=\"relative overflow-hidden rounded-2xl mb-4 bg-neutral-100 aspect-4/5\">\r\n                <img\r\n                  src={member.image}\r\n                  alt={member.name}\r\n                  className=\"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110\"\r\n                />\r\n              </div>\r\n              <h3 className=\"text-xl font-spaceGrotesk font-semibold text-neutral-900 mb-1\">\r\n                {member.name}\r\n              </h3>\r\n              <p className=\"text-neutral-500\">{member.role}</p>\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"
}