{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "content-on-side-hero",
"type": "registry:block",
"title": "Content on Side Hero",
"description": "A hero section with content on the side",
"files": [
{
"path": "registry/default/blocks/hero-sections/content-on-side-hero.tsx",
"content": "import { Button, buttonVariants } from '@/components/ui/button'\r\nimport { FlickeringGrid } from '@/components/ui/flickering-grid'\r\nimport { Input } from '@/components/ui/input'\r\nimport { cn } from '@/lib/utils'\r\nimport { CornerRightUpIcon } from 'lucide-react'\r\nimport Link from 'next/link'\r\nimport { motion as m, Variants } from 'motion/react'\r\n\r\nconst staggerDelay = 0.3\r\nconst initialDelay = 0.2 // initial delay before the first element animates\r\n\r\nconst variants = {\r\n hidden: () => ({\r\n opacity: 0,\r\n filter: 'blur(10px)',\r\n transform: 'translateY(10px) translateX(-20px) scale(0.95)',\r\n }),\r\n visible: (custom: number) => ({\r\n opacity: 1,\r\n transform: 'translateY(0) translateX(0) scale(1)',\r\n filter: 'blur(0)',\r\n transition: {\r\n delay: custom * staggerDelay + initialDelay,\r\n duration: 0.4,\r\n ease: 'easeInOut',\r\n },\r\n }),\r\n}\r\n\r\nexport default function Hero() {\r\n return (\r\n