Update registry/components/FooterBaseCard.json

This commit is contained in:
2026-02-18 22:48:47 +00:00
parent fb34c90742
commit 45f16275e4

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 h2 heading"
@@ -33,14 +33,14 @@
}
},
"propsSchema": {
"logoText?": "string (default: 'Proofweb')",
"logoText?": "string (default: 'Proof Digital')",
"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",
"ariaLabel?": "string (default: 'Site footer')",
"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": [
"Use for general use",
"Requires columns[]"