{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "mist-hero-section-4", "type": "registry:block", "title": "Hero Section Four", "description": "Mist Kit Hero Section block, variant four", "registryDependencies": [ "button" ], "files": [ { "path": "../../packages/mist-kit/blocks/hero-section/four/index.tsx", "content": "import React from 'react'\nimport Link from 'next/link'\nimport { Button } from '@/components/ui/button'\nimport { HeroHeader } from './header'\nimport { ArrowUp, Globe, Plus, Sparkle } from 'lucide-react'\nimport Image from 'next/image'\n\nexport default function HeroSection() {\n return (\n <>\n \n \n \n \n \n \n Build Stunning Websites That Drive Results\n\n Craft. Build. Ship Modern Websites With AI Support.\n\n \n \n \n Get Started\n \n \n \n \n View Demo\n \n \n \n \n\n \n \n\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", "type": "registry:component", "target": "components/hero-section-four.tsx" }, { "path": "../../packages/mist-kit/blocks/hero-section/four/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 {menuItems.map((item, index) => (\n \n \n \n {item.name}\n \n \n \n ))}\n \n \n \n\n \n \n \n {menuItems.map((item, index) => (\n \n \n {item.name}\n \n \n ))}\n \n \n \n \n \n Login\n \n \n \n \n Sign Up\n \n \n \n \n Get Started\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" } ] }
Craft. Build. Ship Modern Websites With AI Support.
Trusted by teams at :