{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "travel19",
  "title": "Tour Type Categories",
  "description": "Visual category grid showing tour types like adventure, cultural, beach, and safari with images and tour counts. Perfect for travel agencies organizing trips by experience style.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge"
  ],
  "files": [
    {
      "path": "registry/travel19/travel19.tsx",
      "content": "\"use client\";\n\nimport { ArrowRight } from \"lucide-react\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\n\ninterface TourType {\n  name: string;\n  description: string;\n  image: string;\n  tourCount: number;\n  href: string;\n}\n\ninterface Travel19Props {\n  heading?: string;\n  description?: string;\n  types?: TourType[];\n  labels?: { tours?: string; explore?: string };\n  className?: string;\n}\n\nexport const travel19Demo: Travel19Props = {\n  heading: \"Explore by Tour Type\",\n  description: \"Find the perfect adventure style for your next trip\",\n  types: [\n    {\n      name: \"Adventure Tours\",\n      description: \"Thrilling experiences for the bold traveler\",\n      image:\n        \"https://images.unsplash.com/photo-1680974745644-46f41f65c516?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1yZWxhdGVkfDQ4fHx8ZW58MHx8fHx8\",\n      tourCount: 45,\n      href: \"https://beste.co\",\n    },\n    {\n      name: \"Cultural Tours\",\n      description: \"Immerse yourself in local traditions\",\n      image:\n        \"https://images.unsplash.com/photo-1517355407835-869ed1aa0554?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1yZWxhdGVkfDUzfHx8ZW58MHx8fHx8\",\n      tourCount: 38,\n      href: \"https://beste.co\",\n    },\n    {\n      name: \"Beach Holidays\",\n      description: \"Sun, sand, and relaxation\",\n      image:\n        \"https://images.unsplash.com/photo-1644899391215-7e7bf4467615?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1yZWxhdGVkfDU3fHx8ZW58MHx8fHx8\",\n      tourCount: 52,\n      href: \"https://beste.co\",\n    },\n    {\n      name: \"City Breaks\",\n      description: \"Explore iconic urban destinations\",\n      image:\n        \"https://images.unsplash.com/photo-1718597438333-8e0c4e47556a?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1yZWxhdGVkfDYxfHx8ZW58MHx8fHx8\",\n      tourCount: 67,\n      href: \"https://beste.co\",\n    },\n    {\n      name: \"Safari & Wildlife\",\n      description: \"Get close to nature's wonders\",\n      image:\n        \"https://images.unsplash.com/photo-1727743112098-d21f8a4c36b5?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1yZWxhdGVkfDY4fHx8ZW58MHx8fHx8\",\n      tourCount: 23,\n      href: \"https://beste.co\",\n    },\n    {\n      name: \"Cruise Tours\",\n      description: \"Sail to multiple destinations\",\n      image:\n        \"https://images.unsplash.com/photo-1661930247911-50a16152546f?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1yZWxhdGVkfDY5fHx8ZW58MHx8fHx8\",\n      tourCount: 31,\n      href: \"https://beste.co\",\n    },\n  ],\n  labels: { tours: \"tours\", explore: \"Explore\" },\n};\n\nexport function Travel19({\n  heading,\n  description,\n  types = [],\n  labels = {},\n  className,\n}: Travel19Props) {\n  const { tours: toursLabel, explore: exploreLabel } = labels;\n\n  return (\n    <section className={cn(\"py-16 md:py-24 w-full\", className)}>\n      <div className=\"mx-auto max-w-6xl px-4 md:px-6\">\n        {(heading || description) && (\n          <div className=\"mx-auto mb-12 max-w-2xl text-center\">\n            {heading && <h2 className=\"text-3xl font-bold md:text-4xl\">{heading}</h2>}\n            {description && <p className=\"mt-4 text-muted-foreground\">{description}</p>}\n          </div>\n        )}\n\n        <div className=\"grid gap-6 sm:grid-cols-2 lg:grid-cols-3\">\n          {types.map((type, idx) => (\n            <Link\n              key={idx}\n              href={type.href}\n              className=\"group/travel19 relative overflow-hidden rounded-md\"\n            >\n              <div className=\"relative aspect-[4/3]\">\n                <img\n                  className=\"absolute inset-0 size-full object-cover transition-transform duration-300 group-hover/travel19:scale-105\"\n                  src={type.image}\n                  alt={type.name}\n                />\n                <div className=\"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent\" />\n              </div>\n              <div className=\"absolute inset-x-0 bottom-0 p-5\">\n                <p className=\"text-sm text-white/80\">\n                  {type.tourCount} {toursLabel}\n                </p>\n                <h3 className=\"text-lg font-bold text-white\">{type.name}</h3>\n                <p className=\"mt-1 text-sm text-white/80\">{type.description}</p>\n                <div className=\"mt-3 flex items-center gap-1 text-sm font-medium text-white md:opacity-0 md:transition-opacity md:duration-300 md:group-hover/travel19:opacity-100\">\n                  {exploreLabel}\n                  <ArrowRight className=\"size-4\" />\n                </div>\n              </div>\n            </Link>\n          ))}\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/travel19.tsx"
    }
  ],
  "type": "registry:block"
}