{ "$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
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Collaborate smarter streamlined your workflow\r\n \r\n \r\n Collaborate{' '}\r\n smarter with our{' '}\r\n \r\n innovative platform\r\n {' '}\r\n that streamlines your workflow and enhances team{' '}\r\n \r\n productivity\r\n \r\n .\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nfunction Header() {\r\n return (\r\n
\r\n \r\n Acme\r\n \r\n \r\n Get Started\r\n \r\n
\r\n )\r\n}\r\n\r\nfunction SignupForm() {\r\n return (\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n )\r\n}\r\n\r\nfunction SocialProof() {\r\n return (\r\n
\r\n {Object.entries(socialProofIcons).map(([key, Icon], index) => (\r\n \r\n \r\n \r\n ))}\r\n
\r\n )\r\n}\r\n\r\ntype IconProps = React.HTMLAttributes\r\n\r\nconst socialProofIcons = {\r\n logo: (props: IconProps) => (\r\n \r\n \r\n \r\n \r\n ),\r\n v0: (props: IconProps) => (\r\n \r\n \r\n \r\n ),\r\n x: (props: IconProps) => (\r\n \r\n \r\n \r\n ),\r\n gitHub: (props: IconProps) => (\r\n \r\n \r\n \r\n ),\r\n shadcnui: (props: IconProps) => (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n}\r\n", "type": "registry:component", "target": "components/hero.tsx" } ] }