{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "team-section-1",
  "title": "Team Section 1",
  "description": "Solace UI team section block variation 1.",
  "dependencies": [
    "motion",
    "lucide-react"
  ],
  "files": [
    {
      "path": "src/registry/blocks/team-section/one/index.tsx",
      "content": "\"use client\";\r\n\r\nimport { motion } from \"motion/react\";\r\nimport TeamMemberCard, { type TeamMember } from \"@/registry/blocks/team-section/one/team-card-one\";\n\r\nconst teamMembers: TeamMember[] = [\r\n  {\r\n    id: 1,\r\n    name: \"James\",\r\n    role: \"Founder\",\r\n    image:\r\n      \"https://assets.solaceui.com/solaceui-member-four.png\",\r\n    cardType: \"white\", // white, yellow, pink and white-alt\r\n    social: \"https://twitter.com/harshitlog\",\r\n  },\r\n  {\r\n    id: 2,\r\n    name: \"Charlotte \",\r\n    role: \"Design Engineer\",\r\n    image:\r\n      \"https://assets.solaceui.com/solaceui-member-five.png\",\r\n    cardType: \"white\",\r\n    social: \"https://twitter.com/harshitlog\",\r\n  },\r\n  {\r\n    id: 3,\r\n    name: \"Alexander\",\r\n    role: \"Social Media Manager\",\r\n    image:\r\n      \"https://assets.solaceui.com/solaceui-member-one.png\",\r\n    cardType: \"white\",\r\n    social: \"https://twitter.com/harshitlog\",\r\n  },\r\n  {\r\n    id: 4,\r\n    name: \"Olivia\",\r\n    role: \"Product Manager\",\r\n    image:\r\n      \"https://assets.solaceui.com/solaceui-member-three.png\",\r\n    cardType: \"white\",\r\n    social: \"https://twitter.com/harshitlog\",\r\n  },\r\n];\r\n\r\nexport default function Team1() {\r\n  return (\r\n    <section className=\"py-16 flex flex-col items-center justify-center px-9\">\r\n      <motion.div\r\n        initial={{ opacity: 0, y: 20 }}\r\n        animate={{ opacity: 1, y: 0 }}\r\n        transition={{ duration: 0.6 }}\r\n        className=\"container mx-auto px-4\"\r\n      >\r\n        <h2 className=\"text-4xl font-bold dark:text-white text-black text-center mb-12\">\r\n          Meet Our Team\r\n        </h2>\r\n\r\n        <div className=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 justify-items-center\">\r\n          {teamMembers.map((member) => (\r\n            <TeamMemberCard key={member.id} member={member} />\r\n          ))}\r\n        </div>\r\n      </motion.div>\r\n    </section>\r\n  );\r\n}\r\n",
      "type": "registry:component",
      "target": "components/team-section-1.tsx"
    },
    {
      "path": "src/registry/blocks/team-section/one/team-card-one.tsx",
      "content": "\"use client\";\r\n\r\nimport { motion } from \"motion/react\";\r\nimport Image from \"next/image\";\r\nimport Link from \"next/link\";\r\nimport { useState } from \"react\";\r\nimport { MoveUpRight } from \"lucide-react\";\r\n\r\nexport type TeamMember = {\r\n  id: number;\r\n  name: string;\r\n  role: string;\r\n  image: string;\r\n  cardType: \"yellow\" | \"white\" | \"pink\" | \"white-alt\";\r\n  social?: string;\r\n};\r\n\r\nexport default function TeamMemberCard({ member }: { member: TeamMember }) {\r\n  const [isHovered, setIsHovered] = useState(false);\r\n\r\n  // Card border colors based on type\r\n  const cardBorder = {\r\n    yellow: \"border-yellow-300\",\r\n    white: \"border-white\",\r\n    pink: \"border-pink-500\",\r\n    \"white-alt\": \"border-white\",\r\n  };\r\n\r\n  return (\r\n    <div\r\n      className={`relative p-2 transition-all duration-300 transform hover:scale-105 ${\r\n        isHovered ? \"z-50\" : \"z-0\"\r\n      }`}\r\n    >\r\n      {/* Lanyard clip */}\r\n      <div className=\"absolute left-1/2 -top-8 transform -translate-x-1/2 w-8 h-8 dark:bg-white bg-black rounded-full flex items-center justify-center z-10\">\r\n        <div className=\"w-4 h-4 dark:bg-[#212121] bg-white rounded-full\"></div>\r\n      </div>\r\n\r\n      {/* Lanyard */}\r\n      <div className=\"absolute left-1/2 -top-2 transform -translate-x-1/2 w-1 h-6 dark:bg-gray-300 bg-black\"></div>\r\n\r\n      {/* ID Card */}\r\n      <motion.div\r\n        className={`relative w-64 h-96 rounded-xl overflow-hidden shadow-lg border-2 gap-4 ${\r\n          cardBorder[member.cardType]\r\n        }`}\r\n        initial={{ y: 10, opacity: 0 }}\r\n        animate={{ y: 0, opacity: 1 }}\r\n        transition={{ duration: 0.5 }}\r\n        onMouseEnter={() => setIsHovered(true)}\r\n        onMouseLeave={() => setIsHovered(false)}\r\n      >\r\n        {/* Background Image (Black & White to Color on Hover) */}\r\n        <div className=\"absolute inset-0\">\r\n          <Image\r\n            src={member.image || \"/placeholder.svg?height=400&width=300\"}\r\n            alt={member.name}\r\n            fill\r\n            className={`object-cover filter transition duration-300 ${\r\n              isHovered ? \"grayscale-0\" : \"grayscale\"\r\n            }`}\r\n            unoptimized\r\n          />\r\n        </div>\r\n\r\n        <div className=\"absolute bottom-2 left-0 right-0 z-10 text-center\">\r\n          <div className=\"text-xl font-bold text-white drop-shadow-md\">\r\n            Logo\r\n          </div>\r\n        </div>\r\n\r\n        {/* Hover overlay with name and designation */}\r\n        <motion.div\r\n          initial={{ opacity: 0 }}\r\n          animate={{ opacity: isHovered ? 1 : 0 }}\r\n          transition={{ duration: 0.3 }}\r\n          className=\"absolute inset-0 bg-black/70 flex flex-col items-center justify-center p-6 z-10\"\r\n        >\r\n          <div className=\"text-center\">\r\n            {member.social ? (\r\n              <Link\r\n                href={member.social}\r\n                target=\"_blank\"\r\n                className=\"inline-flex items-center gap-1\"\r\n              >\r\n                <span className=\"text-2xl font-bold text-white leading-none\">\r\n                  {member.name}\r\n                </span>\r\n                {/* Adjust top offset if needed for perfect alignment */}\r\n                <MoveUpRight className=\"w-4 h-4 text-white relative top-[1px]\" />\r\n              </Link>\r\n            ) : (\r\n              <span className=\"text-2xl font-bold text-white leading-none\">\r\n                {member.name}\r\n              </span>\r\n            )}\r\n            <p className=\"text-lg text-white mt-1\">{member.role}</p>\r\n          </div>\r\n        </motion.div>\r\n      </motion.div>\r\n    </div>\r\n  );\r\n}\r\n",
      "type": "registry:component",
      "target": "components/team-card-one.tsx"
    }
  ],
  "type": "registry:block"
}