Update registry/components/FooterCard.json

This commit is contained in:
2026-02-18 22:48:49 +00:00
parent 0d8164921a
commit 3908478d9a

View File

@@ -5,14 +5,14 @@
"textRules": {
"copyrightText": {
"required": false,
"example": "© 2025 | Proofweb",
"example": "© 2025 | Proof Digital",
"minChars": 5,
"maxChars": 100,
"note": "Copyright text displayed at bottom left"
},
"logoText": {
"required": false,
"example": "Proofweb",
"example": "Proof Digital",
"minChars": 2,
"maxChars": 30,
"note": "Text used for SVG logo"
@@ -32,14 +32,14 @@
}
},
"propsSchema": {
"logoText?": "string (default: 'Proofweb')",
"copyrightText?": "string (default: '© 2025 | Proofweb')",
"logoText?": "string (default: 'Proof Digital')",
"copyrightText?": "string (default: '© 2025 | Proof Digital')",
"socialLinks?": "Array<{ icon: LucideIcon, href: string, ariaLabel: string }> - Social media links",
"ariaLabel?": "string (default: 'Site footer')",
"className?": "string",
"logoLineHeight?": "number (default: 1.1)"
},
"usageExample": "<FooterCard logoText=\"Proofweb\" copyrightText=\"© 2025 | Proofweb\" socialLinks={[{ icon: Twitter, href: 'https://twitter.com/webild', ariaLabel: 'Twitter' }, { icon: Linkedin, href: 'https://linkedin.com/company/webild', ariaLabel: 'LinkedIn' }]} />",
"usageExample": "<FooterCard logoText=\"Proof Digital\" copyrightText=\"© 2025 | Proof Digital\" socialLinks={[{ icon: Twitter, href: 'https://twitter.com/webild', ariaLabel: 'Twitter' }, { icon: Linkedin, href: 'https://linkedin.com/company/webild', ariaLabel: 'LinkedIn' }]} />",
"do": [
"Use for general use",
"Requires socialLinks?[]"