From ad6fa62ae31777cf608449157dccee1eacdc5c2e Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 17 Apr 2026 21:17:03 +0000 Subject: [PATCH] Switch to version 1: remove registry/components/MetricSplitMediaAbout.json --- .../components/MetricSplitMediaAbout.json | 82 ------------------- 1 file changed, 82 deletions(-) delete mode 100644 registry/components/MetricSplitMediaAbout.json diff --git a/registry/components/MetricSplitMediaAbout.json b/registry/components/MetricSplitMediaAbout.json deleted file mode 100644 index 0dd7df3..0000000 --- a/registry/components/MetricSplitMediaAbout.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "name": "MetricSplitMediaAbout", - "description": "Split-layout about section with text, metrics cards, and media in a 2-column grid.", - "details": "Use for case study or results-focused about sections. Left column displays tag, title, description, and up to 2 metric cards. Right column displays image or video. Metrics show large value and title. Supports inverted background mode for visual contrast.", - "constraints": { - "textRules": { - "title": { - "required": true, - "example": "We help automate what matters most", - "minChars": 10, - "maxChars": 100 - }, - "description": { - "required": true, - "example": "Hamilton, a growing e-commerce business, was overwhelmed by repetitive tasks. We built custom automation that integrated with their tools.", - "minChars": 20, - "maxChars": 500 - }, - "tag": { - "required": false, - "example": "Case study", - "minChars": 2, - "maxChars": 30 - } - }, - "metricRules": { - "minMetrics": 1, - "maxMetrics": 2, - "structure": { - "value": "string - Large metric value (required, e.g., '50+', '40%', '10x')", - "title": "string - Metric label/title (required, e.g., 'Hours saved every month')" - }, - "note": "Provide 1-2 metrics for optimal layout. Grid displays 1 metric as single column, 2 metrics as 2 columns on desktop." - } - }, - "propsSchema": { - "title": "string", - "description": "string", - "metrics": "Array<{ value: string, title: string }>", - "useInvertedBackground": "boolean", - "tag?": "string", - "tagIcon?": "LucideIcon", - "tagAnimation?": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", - "imageSrc?": "string", - "videoSrc?": "string", - "imageAlt?": "string", - "videoAriaLabel?": "string (default: 'About section video')", - "mediaBadge?": "{ text: string, avatarSrc?: string, avatarAlt?: string, className?: string }", - "mediaAnimation": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", - "metricsAnimation": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", - "ariaLabel?": "string (default: 'About section')", - "className?": "string", - "containerClassName?": "string", - "gridClassName?": "string", - "leftColumnClassName?": "string", - "rightColumnClassName?": "string", - "textBoxClassName?": "string", - "titleClassName?": "string", - "descriptionClassName?": "string", - "tagClassName?": "string", - "metricsContainerClassName?": "string", - "metricCardClassName?": "string", - "metricValueClassName?": "string", - "metricTitleClassName?": "string", - "mediaWrapperClassName?": "string", - "imageClassName?": "string" - }, - "usageExample": "// Wrap in ThemeProvider\nimport { Sparkles } from 'lucide-react';\n\n\n \n", - "do": [ - "Use for about pages", - "Use for company information", - "Use for statistics displays", - "Use for achievement showcases", - "Requires metrics[]" - ], - "dont": [], - "editRules": { - "textOnly": true, - "layoutLocked": true, - "styleLocked": true - } -}