{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "cta-hero-block-shadcnui", "type": "registry:block", "title": "CTA Hero Block", "description": "Engaging hero section with email signup, video preview, and social proof", "registryDependencies": [ "button" ], "dependencies": [ "framer-motion", "react" ], "files": [ { "path": "@uitripled/react-shadcn/src/components/sections/cta-hero-block.tsx", "content": "\"use client\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport { Card } from \"@/components/ui/card\";\nimport { Input } from \"@/components/ui/input\";\nimport { motion } from \"framer-motion\";\nimport { ArrowRight, CheckCircle2, Play, Sparkles, Zap } from \"lucide-react\";\nimport { useState } from \"react\";\n\nconst benefits = [\n \"No credit card required\",\n \"Cancel anytime\",\n \"Free 14-day trial\",\n];\n\nexport function CTAHeroBlock() {\n const [email, setEmail] = useState(\"\");\n const [isVideoHovered, setIsVideoHovered] = useState(false);\n\n return (\n
\n {/* Animated background elements */}\n
\n \n \n
\n\n
\n
\n {/* Left side - Content */}\n \n \n \n \n Limited Time Offer\n \n \n\n \n Transform Your Business{\" \"}\n \n Today\n \n \n\n \n Join thousands of companies using our platform to streamline their\n workflow, boost productivity, and achieve remarkable results.\n \n\n {/* Email signup form */}\n \n
\n setEmail(e.target.value)}\n className=\"h-12 flex-1 text-base md:h-14\"\n />\n \n
\n \n\n {/* Benefits list */}\n \n {benefits.map((benefit, index) => (\n \n \n \n {benefit}\n \n \n ))}\n \n\n {/* Social proof */}\n \n
\n {[1, 2, 3, 4].map((i) => (\n \n \n \n ))}\n
\n
\n 10,000+\n happy customers\n
\n \n \n\n {/* Right side - Video/Visual */}\n \n setIsVideoHovered(true)}\n onHoverEnd={() => setIsVideoHovered(false)}\n className=\"relative w-full max-w-lg\"\n >\n \n \n {/* Video thumbnail */}\n
\n \n \n
\n \n
\n \n
\n\n {/* Floating elements */}\n \n \n \n\n \n \n \n \n\n {/* Stats overlay */}\n \n {[\n { label: \"Users\", value: \"50K+\" },\n { label: \"Rating\", value: \"4.9★\" },\n { label: \"Countries\", value: \"120+\" },\n ].map((stat, index) => (\n \n
\n {stat.value}\n
\n
\n {stat.label}\n
\n \n ))}\n \n
\n \n \n
\n
\n
\n );\n}\n", "type": "registry:block", "target": "components/uitripled/cta-hero-block-shadcnui.tsx" } ] }