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