Update registry/components/FooterBaseCard.json
This commit is contained in:
@@ -5,14 +5,14 @@
|
|||||||
"textRules": {
|
"textRules": {
|
||||||
"copyrightText": {
|
"copyrightText": {
|
||||||
"required": false,
|
"required": false,
|
||||||
"example": "© 2025 | Proofweb",
|
"example": "© 2025 | Proof Digital",
|
||||||
"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": "Proofweb",
|
"example": "Proof Digital",
|
||||||
"minChars": 2,
|
"minChars": 2,
|
||||||
"maxChars": 30,
|
"maxChars": 30,
|
||||||
"note": "Text used for h2 heading"
|
"note": "Text used for h2 heading"
|
||||||
@@ -33,14 +33,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"propsSchema": {
|
"propsSchema": {
|
||||||
"logoText?": "string (default: 'Proofweb')",
|
"logoText?": "string (default: 'Proof Digital')",
|
||||||
"columns": "Array<{ title: string, items: Array<{ label: string, href: string }> }> - Footer navigation columns",
|
"columns": "Array<{ title: string, items: Array<{ label: string, href: string }> }> - Footer navigation columns",
|
||||||
"copyrightText?": "string (default: '© 2025 | Proofweb')",
|
"copyrightText?": "string (default: '© 2025 | Proof Digital')",
|
||||||
"onPrivacyClick?": "() => void",
|
"onPrivacyClick?": "() => void",
|
||||||
"ariaLabel?": "string (default: 'Site footer')",
|
"ariaLabel?": "string (default: 'Site footer')",
|
||||||
"className?": "string"
|
"className?": "string"
|
||||||
},
|
},
|
||||||
"usageExample": "<FooterBaseCard columns={[{ title: 'Product', items: [{ label: 'Features', href: '/features' }, { label: 'Pricing', href: '/pricing' }] }, { title: 'Company', items: [{ label: 'About', href: '/about' }, { label: 'Blog', href: '/blog' }] }]} logoText=\"Proofweb\" copyrightText=\"© 2025 | Proofweb\" onPrivacyClick={() => console.log('Privacy clicked')} />",
|
"usageExample": "<FooterBaseCard columns={[{ title: 'Product', items: [{ label: 'Features', href: '/features' }, { label: 'Pricing', href: '/pricing' }] }, { title: 'Company', items: [{ label: 'About', href: '/about' }, { label: 'Blog', href: '/blog' }] }]} logoText=\"Proof Digital\" copyrightText=\"© 2025 | Proof Digital\" onPrivacyClick={() => console.log('Privacy clicked')} />",
|
||||||
"do": [
|
"do": [
|
||||||
"Use for general use",
|
"Use for general use",
|
||||||
"Requires columns[]"
|
"Requires columns[]"
|
||||||
|
|||||||
Reference in New Issue
Block a user