From 8c87cf30be39e0e62e630c43b2cb239cb71dd541 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 17 Apr 2026 21:16:48 +0000 Subject: [PATCH] Switch to version 1: remove registry/components/FooterMedia.json --- registry/components/FooterMedia.json | 102 --------------------------- 1 file changed, 102 deletions(-) delete mode 100644 registry/components/FooterMedia.json diff --git a/registry/components/FooterMedia.json b/registry/components/FooterMedia.json deleted file mode 100644 index 38b40f8..0000000 --- a/registry/components/FooterMedia.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "name": "FooterMedia", - "description": "Footer with full-width media (image/video) above classic navigation layout.", - "details": "Use for visually impactful footers with media. Features full-width image or video at top with mask-fade-top-long effect (fades from top), followed by standard footer layout: logoText as h2 heading, multi-column navigation, copyright, and privacy policy. Media is required (either imageSrc or videoSrc). Same navigation structure as FooterBase.", - "constraints": { - "textRules": { - "logoText": { - "required": true, - "example": "Company Name", - "minChars": 2, - "maxChars": 30 - }, - "copyrightText": { - "required": false, - "default": "© 2025 | Webild", - "example": "© 2025 Company Name", - "minChars": 5, - "maxChars": 50 - }, - "columnTitle": { - "required": true, - "example": "Product", - "minChars": 2, - "maxChars": 20 - }, - "itemLabel": { - "required": true, - "example": "Features", - "minChars": 2, - "maxChars": 30 - } - }, - "mediaRules": { - "note": "Either imageSrc or videoSrc is required (discriminated union)", - "imageSrc": { - "required": "conditional - required if no videoSrc", - "example": "https://images.unsplash.com/photo-1497215728101-856f4ea42174?w=1920", - "note": "Either imageSrc or videoSrc should be provided. Image is recommended if no videoSrc." - }, - "videoSrc": { - "required": "conditional - required if no imageSrc", - "example": "/videos/footer-background.mp4" - } - }, - "structureRules": { - "columns": { - "required": true, - "minColumns": 1, - "maxColumns": 3, - "note": "Each column must have title and items array" - }, - "items": { - "required": true, - "minItems": 1, - "structure": { - "label": "string - Link text (required)", - "href": "string - Link destination (optional)", - "onClick": "() => void - Additional click handler (optional)" - } - } - } - }, - "propsSchema": { - "imageSrc": "string (required if no videoSrc)", - "imageAlt?": "string (default: '')", - "videoSrc": "string (required if no imageSrc)", - "videoAriaLabel?": "string (default: 'Footer video')", - "logoSrc?": "string", - "logoAlt?": "string", - "logoText": "string (required)", - "columns": "Array<{ title: string, items: Array<{ label: string, href: string }> }> - Footer navigation columns (required)", - "copyrightText?": "string (default: '© 2025 | Webild')", - "onPrivacyClick?": "() => void", - "ariaLabel?": "string (default: 'Site footer')", - "className?": "string", - "containerClassName?": "string", - "mediaWrapperClassName?": "string", - "mediaClassName?": "string", - "logoClassName?": "string", - "logoImageClassName?": "string", - "logoTextClassName?": "string", - "columnsClassName?": "string", - "columnClassName?": "string", - "columnTitleClassName?": "string", - "columnItemClassName?": "string", - "copyrightContainerClassName?": "string", - "copyrightTextClassName?": "string", - "privacyButtonClassName?": "string" - }, - "usageExample": "", - "do": [ - "Use for feature showcases", - "Use for capability displays", - "Requires columns[]" - ], - "dont": [], - "editRules": { - "textOnly": true, - "layoutLocked": true, - "styleLocked": true - } -}