{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "mist-hero-section-3", "type": "registry:block", "title": "Hero Section Three", "description": "Mist Kit Hero Section block, variant three", "registryDependencies": [ "button" ], "files": [ { "path": "../../packages/mist-kit/blocks/hero-section/three/index.tsx", "content": "import React from 'react'\nimport Link from 'next/link'\nimport { Button } from '@/components/ui/button'\nimport { HeroHeader } from './header'\nimport Image from 'next/image'\n\nexport default function HeroSection() {\n return (\n <>\n \n
\n
\n
\n
\n
\n

Build 10x Faster with Mist

\n

Craft. Build. Ship Modern Websites With AI Support.

\n\n
\n \n \n Start Building\n \n \n \n \n Request a demo\n \n \n
\n
\n\n
\n

Trusted by teams at :

\n
\n
\n \n
\n\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n )\n}\n", "type": "registry:component", "target": "components/hero-section-three.tsx" }, { "path": "../../packages/mist-kit/blocks/hero-section/three/header.tsx", "content": "'use client'\nimport Link from 'next/link'\nimport { Logo } from '@/components/logo'\nimport { Menu, X } from 'lucide-react'\nimport { Button } from '@/components/ui/button'\nimport React from 'react'\nimport { cn } from '@/lib/utils'\n\nconst menuItems = [\n { name: 'Features', href: '#link' },\n { name: 'Pricing', href: '#link' },\n { name: 'About', href: '#link' },\n]\n\nexport const HeroHeader = () => {\n const [menuState, setMenuState] = React.useState(false)\n const [isScrolled, setIsScrolled] = React.useState(false)\n\n React.useEffect(() => {\n const handleScroll = () => {\n setIsScrolled(window.scrollY > 50)\n }\n window.addEventListener('scroll', handleScroll)\n return () => window.removeEventListener('scroll', handleScroll)\n }, [])\n return (\n
\n \n
\n
\n
\n \n \n \n\n setMenuState(!menuState)}\n aria-label={menuState == true ? 'Close Menu' : 'Open Menu'}\n className=\"relative z-20 -m-2.5 -mr-4 block cursor-pointer p-2.5 lg:hidden\">\n \n \n \n\n \n
\n\n \n
\n
\n \n
\n )\n}\n", "type": "registry:component", "target": "components/header.tsx" }, { "path": "../../packages/core/src/components/logo.tsx", "content": "import { cn } from '@/lib/utils'\n\nexport const Logo = ({ className, uniColor }: { className?: string; uniColor?: boolean }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport const LogoIcon = ({ className, uniColor }: { className?: string; uniColor?: boolean }) => {\n return (\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport const LogoStroke = ({ className }: { className?: string }) => {\n return (\n \n \n \n )\n}\n", "type": "registry:component", "target": "components/logo.tsx" } ] }