From 61d4de3cb8120afc7f03ce8eb87ed6066bd534e7 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 17 Apr 2026 21:17:15 +0000 Subject: [PATCH] Switch to version 1: remove registry/components/TeamCardTwo.json --- registry/components/TeamCardTwo.json | 140 --------------------------- 1 file changed, 140 deletions(-) delete mode 100644 registry/components/TeamCardTwo.json diff --git a/registry/components/TeamCardTwo.json b/registry/components/TeamCardTwo.json deleted file mode 100644 index b3ab48b..0000000 --- a/registry/components/TeamCardTwo.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "name": "TeamCardTwo", - "description": "Team member card with image background, overlay info card, and social links.", - "details": "Use for team member profiles with visual impact. Layout: Full Image Background → Bottom Overlay Card (Name + Role Badge in header row → Description → Social Link Icons). Card has fixed height (h-100) with image fill. Overlay uses card styling with rounded corners. Name on left, role badge (secondary-button) on right in header. Social links are flexible - pass any Lucide icon with url. Icons use primary-button styling with text-background for contrast. All required fields for visual consistency. Best for team pages, about sections, or leadership displays. Automatically switches between grid (1-4 items) and carousel (5+ items). Optional header with title, description, tag, and buttons.", - "constraints": { - "textRules": { - "title": { - "required": true, - "example": "Meet Our Team", - "minChars": 2, - "maxChars": 35 - }, - "description": { - "required": true, - "example": "The talented people behind our success", - "minChars": 5, - "maxChars": 250 - }, - "tag": { - "required": false, - "example": "Team", - "minChars": 2, - "maxChars": 30 - } - }, - "teamMemberRules": { - "id": { - "required": true, - "example": "1", - "minChars": 1, - "maxChars": 20 - }, - "name": { - "required": true, - "example": "Alisa Hester", - "minChars": 2, - "maxChars": 50, - "note": "Team member name displayed in overlay header" - }, - "role": { - "required": true, - "example": "Founder & CEO", - "minChars": 2, - "maxChars": 40, - "note": "Role/title displayed in secondary-button badge" - }, - "description": { - "required": true, - "example": "Former co-founder of Opendoor. Early staff at Spotify and Clearbit.", - "minChars": 10, - "maxChars": 200, - "note": "Brief bio or description" - }, - "imageSrc": { - "required": false, - "example": "/team/member-1.jpg", - "note": "Image path for team member photo Either imageSrc or videoSrc should be provided. Image is recommended if no videoSrc." - }, - "videoSrc": { - "required": false, - "example": "/team/member-1.mp4", - "note": "Video path for team member (alternative to imageSrc)" - }, - "imageAlt": { - "required": false, - "example": "Portrait of Alisa Hester", - "note": "Alt text for image (defaults to member name if not provided)" - }, - "videoAriaLabel": { - "required": false, - "example": "Video of Alisa Hester", - "note": "Aria label for video (defaults to member name if not provided)" - }, - "socialLinks": { - "required": false, - "structure": { - "icon": "LucideIcon - Any Lucide icon component (required)", - "url": "string - Social profile URL (required)" - }, - "note": "Flexible social links array. Pass any Lucide icon (Twitter, Linkedin, Globe, Github, etc.) with corresponding URL. Icons display in primary-button styled circles." - } - } - }, - "propsSchema": { - "members": "Array<{ id: string, name: string, role: string, description: string, imageSrc?: string, videoSrc?: string, imageAlt?: string, videoAriaLabel?: string, socialLinks?: Array<{ icon: LucideIcon, url: string }> }>", - "carouselMode?": "'auto' | 'buttons' (default: 'buttons')", - "gridVariant": "'uniform-all-items-equal' | 'bento-grid' | 'bento-grid-inverted' | 'two-columns-alternating-heights' | 'asymmetric-60-wide-40-narrow' | 'three-columns-all-equal-width' | 'four-items-2x2-equal-grid' | 'one-large-right-three-stacked-left' | 'items-top-row-full-width-bottom' | 'full-width-top-items-bottom-row' | 'one-large-left-three-stacked-right' (required)", - "animationType": "'none' | 'opacity' | 'slide-up' | 'scale-rotate' | 'blur-reveal' (required - controls GSAP scroll animations with stagger effect)", - "uniformGridCustomHeightClasses?": "string (default: 'min-h-95 2xl:min-h-105')", - "title": "string", - "titleSegments?": "Array<{ type: 'text', content: string } | { type: 'image', src: string, alt?: string }> - For inline images in title", - "description": "string", - "tag?": "string", - "tagIcon?": "LucideIcon", - "tagAnimation?": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", - "buttons?": "Array<{text: string, onClick?: () => void, href?: string}>", - "buttonAnimation?": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", - "textboxLayout": "'default' | 'split' | 'split-actions' | 'split-description' | 'inline-image' (required - 'inline-image' uses titleSegments for rich text with images)", - "useInvertedBackground": "boolean", - "ariaLabel?": "string (default: 'Team section')", - "className?": "string", - "containerClassName?": "string", - "cardClassName?": "string", - "textBoxTitleClassName?": "string", - "textBoxTitleImageWrapperClassName?": "string - For styling image wrapper in inline-image layout", - "textBoxTitleImageClassName?": "string - For styling images in inline-image layout", - "textBoxDescriptionClassName?": "string", - "imageClassName?": "string", - "overlayClassName?": "string", - "nameClassName?": "string", - "roleClassName?": "string", - "memberDescriptionClassName?": "string", - "socialLinksClassName?": "string", - "socialIconClassName?": "string", - "gridClassName?": "string", - "carouselClassName?": "string", - "controlsClassName?": "string", - "textBoxClassName?": "string", - "textBoxTagClassName?": "string", - "textBoxButtonContainerClassName?": "string", - "textBoxButtonClassName?": "string", - "textBoxButtonTextClassName?": "string" - }, - "usageExample": "", - "do": [ - "Use for about pages", - "Use for company information", - "Use for team pages", - "Use for staff directories", - "Requires members[]", - "Requires titleSegments?[]", - "Requires buttons?[]" - ], - "dont": [], - "editRules": { - "textOnly": true, - "layoutLocked": true, - "styleLocked": true - } -}