{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "mist-hero-section-2", "type": "registry:block", "title": "Hero Section Two", "description": "Mist Kit Hero Section block, variant two", "registryDependencies": [ "button" ], "files": [ { "path": "../../packages/mist-kit/blocks/hero-section/two/index.tsx", "content": "import React from 'react'\nimport Link from 'next/link'\nimport { Button } from '@/components/ui/button'\nimport Image from 'next/image'\nimport { HeroHeader } from './header'\nimport { Sparkle } from 'lucide-react'\n\nexport default function HeroSection() {\n return (\n <>\n \n
\n
\n
\n
\n
\n \n \n
\n
\n \n
\n Introducing Mist Agents\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 Watch Video\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-two.tsx" }, { "path": "../../packages/mist-kit/blocks/hero-section/two/header.tsx", "content": "'use client'\nimport Link from 'next/link'\nimport { Logo, LogoIcon } 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" } ] }