Update registry/components/FooterCard.json
This commit is contained in:
@@ -5,14 +5,14 @@
|
|||||||
"textRules": {
|
"textRules": {
|
||||||
"copyrightText": {
|
"copyrightText": {
|
||||||
"required": false,
|
"required": false,
|
||||||
"example": "© 2025 | Webild",
|
"example": "© 2025 | Proofweb",
|
||||||
"minChars": 5,
|
"minChars": 5,
|
||||||
"maxChars": 100,
|
"maxChars": 100,
|
||||||
"note": "Copyright text displayed at bottom left"
|
"note": "Copyright text displayed at bottom left"
|
||||||
},
|
},
|
||||||
"logoText": {
|
"logoText": {
|
||||||
"required": false,
|
"required": false,
|
||||||
"example": "Webild",
|
"example": "Proofweb",
|
||||||
"minChars": 2,
|
"minChars": 2,
|
||||||
"maxChars": 30,
|
"maxChars": 30,
|
||||||
"note": "Text used for SVG logo"
|
"note": "Text used for SVG logo"
|
||||||
@@ -32,14 +32,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"propsSchema": {
|
"propsSchema": {
|
||||||
"logoText?": "string (default: 'Webild')",
|
"logoText?": "string (default: 'Proofweb')",
|
||||||
"copyrightText?": "string (default: '© 2025 | Webild')",
|
"copyrightText?": "string (default: '© 2025 | Proofweb')",
|
||||||
"socialLinks?": "Array<{ icon: LucideIcon, href: string, ariaLabel: string }> - Social media links",
|
"socialLinks?": "Array<{ icon: LucideIcon, href: string, ariaLabel: string }> - Social media links",
|
||||||
"ariaLabel?": "string (default: 'Site footer')",
|
"ariaLabel?": "string (default: 'Site footer')",
|
||||||
"className?": "string",
|
"className?": "string",
|
||||||
"logoLineHeight?": "number (default: 1.1)"
|
"logoLineHeight?": "number (default: 1.1)"
|
||||||
},
|
},
|
||||||
"usageExample": "<FooterCard logoText=\"Webild\" copyrightText=\"© 2025 | Webild\" socialLinks={[{ icon: Twitter, href: 'https://twitter.com/webild', ariaLabel: 'Twitter' }, { icon: Linkedin, href: 'https://linkedin.com/company/webild', ariaLabel: 'LinkedIn' }]} />",
|
"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' }]} />",
|
||||||
"do": [
|
"do": [
|
||||||
"Use for general use",
|
"Use for general use",
|
||||||
"Requires socialLinks?[]"
|
"Requires socialLinks?[]"
|
||||||
|
|||||||
Reference in New Issue
Block a user