{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-02",
  "title": "Hero 02",
  "description": "An editorial hero with a playful pricing CTA and support dashboard preview.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "button",
    "https://tentui.com/r/brand-context-menu.json",
    "https://tentui.com/r/peeping-button.json"
  ],
  "files": [
    {
      "path": "src/registry/blocks/hero-02/hero-02.tsx",
      "content": "\"use client\";\n\nimport { MotionConfig, motion } from \"motion/react\";\nimport Image from \"next/image\";\nimport { useRouter } from \"next/navigation\";\nimport { PeepingButton } from \"@/components/peeping-button\";\nimport { Button } from \"@/components/ui/button\";\n\nimport { SiteHeader } from \"./header\";\n\nexport { SiteHeader };\n\nconst EASE_OUT = [0.23, 1, 0.32, 1] as const;\n\nexport const HERO_02_ASSETS = {\n\tbackground: \"https://cdn.tentui.com/pixel-mountain-lake-hero-v2.png\",\n\tdashboard: \"https://cdn.tentui.com/saas-hero-dashboard.png\",\n} as const;\n\nconst SERIF =\n\t\"'Iowan Old Style', 'Palatino Linotype', Georgia, Cambria, 'Times New Roman', serif\";\n\nexport type Hero02Props = {\n\tbackgroundImageSrc?: string;\n\tdashboardImageSrc?: string;\n};\n\nexport function Hero02({\n\tbackgroundImageSrc = HERO_02_ASSETS.background,\n\tdashboardImageSrc = HERO_02_ASSETS.dashboard,\n}: Hero02Props = {}) {\n\tconst router = useRouter();\n\n\treturn (\n\t\t<MotionConfig reducedMotion=\"user\">\n\t\t\t<SiteHeader />\n\t\t\t<section className=\"relative w-full text-foreground\">\n\t\t\t\t{/* Hero body */}\n\t\t\t\t<div className=\"mx-auto flex max-w-4xl flex-col items-center px-6 pt-16 text-center sm:pt-24\">\n\t\t\t\t\t<motion.h1\n\t\t\t\t\t\tanimate={{ opacity: 1, transform: \"translateY(0px)\" }}\n\t\t\t\t\t\tclassName=\"mt-8 font-normal text-[3.5rem] text-foreground leading-[1.04] tracking-[-0.02em] md:text-[5.25rem]\"\n\t\t\t\t\t\tinitial={{ opacity: 0, transform: \"translateY(22px)\" }}\n\t\t\t\t\t\tstyle={{ fontFamily: SERIF }}\n\t\t\t\t\t\ttransition={{ duration: 0.55, delay: 0.08, ease: EASE_OUT }}\n\t\t\t\t\t>\n\t\t\t\t\t\tTurn website visitors\n\t\t\t\t\t\t<br className=\"hidden sm:block\" /> into{\" \"}\n\t\t\t\t\t\t<em className=\"italic\">Customers</em>\n\t\t\t\t\t</motion.h1>\n\n\t\t\t\t\t<motion.p\n\t\t\t\t\t\tanimate={{ opacity: 1, transform: \"translateY(0px)\" }}\n\t\t\t\t\t\tclassName=\"mt-7 max-w-lg text-balance text-[1.05rem] text-muted-foreground leading-relaxed sm:text-lg\"\n\t\t\t\t\t\tinitial={{ opacity: 0, transform: \"translateY(16px)\" }}\n\t\t\t\t\t\ttransition={{ duration: 0.5, delay: 0.2, ease: EASE_OUT }}\n\t\t\t\t\t>\n\t\t\t\t\t\tCustomer support, sales & automations in five minutes.\n\t\t\t\t\t</motion.p>\n\n\t\t\t\t\t<motion.div\n\t\t\t\t\t\tanimate={{ opacity: 1, transform: \"translateY(0px)\" }}\n\t\t\t\t\t\tclassName=\"mt-9 flex flex-col items-center gap-3 sm:flex-row\"\n\t\t\t\t\t\tinitial={{ opacity: 0, transform: \"translateY(16px)\" }}\n\t\t\t\t\t\ttransition={{ duration: 0.5, delay: 0.3, ease: EASE_OUT }}\n\t\t\t\t\t>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\taria-label=\"Start free trial\"\n\t\t\t\t\t\t\tclassName=\"h-[51px] min-w-40\"\n\t\t\t\t\t\t\tonClick={() => router.push(\"#\")}\n\t\t\t\t\t\t\tsize=\"lg\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tStart free trial\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t<PeepingButton\n\t\t\t\t\t\t\taria-label=\"Pricing\"\n\t\t\t\t\t\t\tclassName=\"min-h-[51px] min-w-[160px]\"\n\t\t\t\t\t\t\tcoverClassName=\"px-6 py-4\"\n\t\t\t\t\t\t\tonClick={() => router.push(\"#\")}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPricing\n\t\t\t\t\t\t</PeepingButton>\n\t\t\t\t\t</motion.div>\n\n\t\t\t\t\t<p className=\"mt-5 text-muted-foreground text-sm\">\n\t\t\t\t\t\t15-day free trial. No credit card required.\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\n\t\t\t\t<div className=\"relative mx-auto mt-16 w-full max-w-[1600px] overflow-hidden bg-background sm:mt-24\">\n\t\t\t\t\t{/* Decorative product backdrop. */}\n\t\t\t\t\t<Image\n\t\t\t\t\t\talt=\"\"\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\tclassName=\"object-cover object-center [image-rendering:pixelated]\"\n\t\t\t\t\t\tfill\n\t\t\t\t\t\tpriority\n\t\t\t\t\t\tsizes=\"(min-width: 100rem) 100rem, 100vw\"\n\t\t\t\t\t\tsrc={backgroundImageSrc}\n\t\t\t\t\t\tunoptimized\n\t\t\t\t\t/>\n\n\t\t\t\t\t{/* Product screenshot with an intrinsic aspect ratio, so it cannot collapse. */}\n\t\t\t\t\t<div className=\"relative flex justify-center px-4 py-10 sm:px-10 sm:py-16 lg:px-16 lg:py-24\">\n\t\t\t\t\t\t<figure className=\"w-full max-w-6xl\">\n\t\t\t\t\t\t\t<div className=\"overflow-hidden rounded-lg border border-border/70 bg-background shadow-2xl ring-1 ring-background/50\">\n\t\t\t\t\t\t\t\t<Image\n\t\t\t\t\t\t\t\t\talt=\"Acme Tickets dashboard overview showing ticket sources and usage\"\n\t\t\t\t\t\t\t\t\tclassName=\"h-auto w-full\"\n\t\t\t\t\t\t\t\t\theight={1684}\n\t\t\t\t\t\t\t\t\tpriority\n\t\t\t\t\t\t\t\t\tsizes=\"(min-width: 80rem) 72rem, (min-width: 40rem) calc(100vw - 5rem), calc(100vw - 2rem)\"\n\t\t\t\t\t\t\t\t\tsrc={dashboardImageSrc}\n\t\t\t\t\t\t\t\t\tunoptimized\n\t\t\t\t\t\t\t\t\twidth={2940}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<figcaption className=\"mx-auto mt-4 w-fit rounded-full border border-border/70 bg-background/80 px-3 py-1 text-center text-foreground text-xs shadow-sm backdrop-blur-sm\">\n\t\t\t\t\t\t\t\tThis dashboard uses demo data.\n\t\t\t\t\t\t\t</figcaption>\n\t\t\t\t\t\t</figure>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</section>\n\t\t</MotionConfig>\n\t);\n}\n\nexport default Hero02;\n",
      "type": "registry:component",
      "target": "@components/hero-02/index.tsx"
    },
    {
      "path": "src/registry/blocks/hero-02/header.tsx",
      "content": "\"use client\";\n\nimport Image from \"next/image\";\nimport Link from \"next/link\";\nimport { useRouter } from \"next/navigation\";\nimport { useEffect, useState } from \"react\";\nimport { BrandContextMenu } from \"@/components/brand-context-menu\";\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\nexport function SiteHeader() {\n\tconst router = useRouter();\n\tconst [scrolled, setScrolled] = useState(false);\n\n\tuseEffect(() => {\n\t\tconst onScroll = () => setScrolled(window.scrollY > 16);\n\t\tonScroll();\n\t\twindow.addEventListener(\"scroll\", onScroll, { passive: true });\n\t\treturn () => window.removeEventListener(\"scroll\", onScroll);\n\t}, []);\n\treturn (\n\t\t<header className=\"sticky top-0 z-50 flex justify-center px-4 py-3\">\n\t\t\t<div\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"mx-auto flex w-full max-w-6xl items-center justify-between rounded-md border px-5 py-2.5\",\n\t\t\t\t\tscrolled\n\t\t\t\t\t\t? \"border-border bg-background/80 shadow-lg backdrop-blur-md\"\n\t\t\t\t\t\t: \"border-transparent bg-transparent shadow-none backdrop-blur-none\",\n\t\t\t\t)}\n\t\t\t>\n\t\t\t\t<BrandContextMenu>\n\t\t\t\t\t<Link\n\t\t\t\t\t\thref=\"#\"\n\t\t\t\t\t\taria-label=\"Go to home page\"\n\t\t\t\t\t\tclassName=\"flex items-center transition-transform duration-150 ease-[cubic-bezier(0.23,1,0.32,1)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50 active:scale-[0.98] motion-reduce:transform-none motion-reduce:transition-none\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<Image\n\t\t\t\t\t\t\talt=\"Tkit.ai\"\n\t\t\t\t\t\t\tclassName=\"h-12 w-auto\"\n\t\t\t\t\t\t\theight={166}\n\t\t\t\t\t\t\tpriority\n\t\t\t\t\t\t\tsrc=\"https://cdn.tentui.com/tkit-logo.svg\"\n\t\t\t\t\t\t\twidth={455}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</Link>\n\t\t\t\t</BrandContextMenu>\n\n\t\t\t\t<div className=\"flex items-center gap-1.5\">\n\t\t\t\t\t<Button size=\"lg\" onClick={() => router.push(\"#\")}>\n\t\t\t\t\t\tStart free trial\n\t\t\t\t\t</Button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</header>\n\t);\n}\n\nexport default SiteHeader;\n",
      "type": "registry:component",
      "target": "@components/hero-02/header.tsx"
    }
  ],
  "meta": {
    "createdAt": "2026-07-22",
    "iframeHeight": 1120,
    "previewClassName": "min-h-screen"
  },
  "categories": [
    "hero"
  ],
  "type": "registry:block"
}