Update registry/components/HeroSplitDoubleCarousel.json
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
"props": "Partial<ButtonPropsForVariant> - Additional button props like className, textClassName (optional)"
|
||||
},
|
||||
"examples": [
|
||||
"{ text: 'Get Started', href: 'https://example.com' }",
|
||||
"{ text: 'Download Now', href: 'https://example.com' }",
|
||||
"{ text: 'Learn More', href: 'about' }"
|
||||
],
|
||||
"note": "Button variant is controlled by ThemeProvider's defaultButtonVariant. Border radius is controlled by ThemeProvider's borderRadius (options: 'sharp', 'rounded', 'soft', 'pill'). All sections should be wrapped in a single ThemeProvider at the app/page level to maintain consistent styling across the entire site."
|
||||
@@ -86,7 +86,7 @@
|
||||
"showMarqueeCard?": "boolean (default: true)",
|
||||
"className?": "string"
|
||||
},
|
||||
"usageExample": "<ThemeProvider defaultButtonVariant=\"icon-arrow\" defaultTextAnimation=\"entrance-slide\" borderRadius=\"pill\" background=\"aurora\" cardStyle=\"glass-elevated\" primaryButtonStyle=\"gradient\" secondaryButtonStyle=\"glass\">\n <HeroSplitDoubleCarousel \n title=\"Build Modern Web Experiences\" \n description=\"Create stunning, responsive websites with our comprehensive component library\" \n background={{ variant: 'glowing-orb' }}\n tag=\"New Release\"\n carouselPosition=\"right\" \n leftCarouselItems={[\n { imageSrc: '/placeholder1.jpg', imageAlt: 'Gallery 1' },\n { imageSrc: '/placeholder2.jpg', imageAlt: 'Gallery 2' },\n { imageSrc: '/placeholder3.jpg', imageAlt: 'Gallery 3' },\n { imageSrc: '/placeholder4.jpg', imageAlt: 'Gallery 4' }\n ]}\n rightCarouselItems={[\n { imageSrc: '/placeholder5.jpg', imageAlt: 'Gallery 5' },\n { imageSrc: '/placeholder6.jpg', imageAlt: 'Gallery 6' },\n { imageSrc: '/placeholder7.jpg', imageAlt: 'Gallery 7' },\n { imageSrc: '/placeholder8.jpg', imageAlt: 'Gallery 8' }\n ]}\n buttons={[{ text: 'Get Started', href: 'https://example.com' }, { text: 'Learn More', href: 'about' }]} \n />\n</ThemeProvider>",
|
||||
"usageExample": "<ThemeProvider defaultButtonVariant=\"icon-arrow\" defaultTextAnimation=\"entrance-slide\" borderRadius=\"pill\" background=\"aurora\" cardStyle=\"glass-elevated\" primaryButtonStyle=\"gradient\" secondaryButtonStyle=\"glass\">\n <HeroSplitDoubleCarousel \n title=\"Build Modern Web Experiences\" \n description=\"Create stunning, responsive websites with our comprehensive component library\" \n background={{ variant: 'glowing-orb' }}\n tag=\"New Release\"\n carouselPosition=\"right\" \n leftCarouselItems={[\n { imageSrc: '/placeholder1.jpg', imageAlt: 'Gallery 1' },\n { imageSrc: '/placeholder2.jpg', imageAlt: 'Gallery 2' },\n { imageSrc: '/placeholder3.jpg', imageAlt: 'Gallery 3' },\n { imageSrc: '/placeholder4.jpg', imageAlt: 'Gallery 4' }\n ]}\n rightCarouselItems={[\n { imageSrc: '/placeholder5.jpg', imageAlt: 'Gallery 5' },\n { imageSrc: '/placeholder6.jpg', imageAlt: 'Gallery 6' },\n { imageSrc: '/placeholder7.jpg', imageAlt: 'Gallery 7' },\n { imageSrc: '/placeholder8.jpg', imageAlt: 'Gallery 8' }\n ]}\n buttons={[{ text: 'Download Now', href: 'https://example.com' }, { text: 'Learn More', href: 'about' }]} \n />\n</ThemeProvider>",
|
||||
"do": [
|
||||
"Use for landing pages with visual portfolios",
|
||||
"Use for image galleries and creative showcases",
|
||||
|
||||
Reference in New Issue
Block a user