{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "destinations-01",
  "title": "Travel Destinations",
  "author": "VenusUI",
  "description": "A travel album of postage stamps you postmark for each place you have been.",
  "registryDependencies": [
    "https://venusui.com/r/postage-stamp.json"
  ],
  "files": [
    {
      "path": "registry/default/blocks/destinations-01/components/destinations-01.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { PostageStamp } from \"@/registry/default/ui/postage-stamp\"\n\n// Photos: Unsplash (free under the Unsplash License).\nconst photo = (id: string) => `https://images.unsplash.com/photo-${id}?w=420&h=525&fit=crop&auto=format&q=75`\n\nconst places = [\n  { title: \"Paris\", country: \"France\", value: \"€1.40\", date: \"03 MAY 26\", image: photo(\"1502602898657-3e91760cbb34\"), alt: \"The Eiffel Tower above the Seine at dusk\", tilt: \"-rotate-2\" },\n  { title: \"Santorini\", country: \"Greece\", value: \"€1.10\", date: \"19 JUN 26\", image: photo(\"1533105079780-92b9be482077\"), alt: \"White houses and steps above a blue sea\", tilt: \"rotate-1\" },\n  { title: \"Venice\", country: \"Italy\", value: \"€1.30\", date: \"27 JUN 26\", image: photo(\"1523906834658-6e24ef2386f9\"), alt: \"The Rialto Bridge over the Grand Canal\", tilt: \"rotate-2\" },\n  { title: \"Kyoto\", country: \"Japan\", value: \"¥110\", date: \"08 APR 26\", image: photo(\"1493976040374-85c8e12f0c0e\"), alt: \"A pagoda at the end of an old street in Kyoto\", tilt: \"-rotate-1\" },\n  { title: \"Dubai\", country: \"UAE\", value: \"5 AED\", date: \"14 FEB 26\", image: photo(\"1512453979798-5ea266f8880c\"), alt: \"The Dubai skyline and motorways at sunrise\", tilt: \"rotate-1\" },\n  { title: \"Tokyo\", country: \"Japan\", value: \"¥140\", date: \"11 APR 26\", image: photo(\"1540959733332-eab4deabeeaf\"), alt: \"A neon-lit shopping street in Tokyo at night\", tilt: \"-rotate-2\" },\n]\n\n/** A travel collection: press each stamp to postmark the places you've been. */\nexport function Destinations01() {\n  const [visited, setVisited] = React.useState([\"Kyoto\", \"Tokyo\"])\n\n  return (\n    <section aria-labelledby=\"destinations-01-title\" className=\"py-24 sm:py-28\">\n      <div className=\"mx-auto max-w-6xl px-4 sm:px-6\">\n        <div className=\"flex flex-wrap items-end justify-between gap-6\">\n          <div className=\"max-w-xl\">\n            <p className=\"text-sm text-muted-foreground\">The travel album</p>\n            <h2 id=\"destinations-01-title\" className=\"mt-2 text-3xl font-semibold tracking-tight text-balance sm:text-4xl\">\n              Collect the places you’ve been\n            </h2>\n            <p className=\"mt-3 leading-7 text-muted-foreground\">Press a stamp to postmark it. Your album keeps count.</p>\n          </div>\n          <p aria-live=\"polite\" className=\"font-mono text-sm text-muted-foreground tabular-nums\">\n            {visited.length} of {places.length} visited\n          </p>\n        </div>\n        <ul className=\"mt-12 grid grid-cols-2 justify-items-center gap-x-4 gap-y-9 sm:grid-cols-3 lg:grid-cols-6\">\n          {places.map((place) => (\n            <li key={place.title} className={place.tilt}>\n              <PostageStamp\n                src={place.image}\n                alt={place.alt}\n                title={place.title}\n                country={place.country}\n                value={place.value}\n                postmark={{ place: place.title, date: place.date }}\n                cancelled={visited.includes(place.title)}\n                onCancelledChange={(cancelled) =>\n                  setVisited((current) => (cancelled ? [...current, place.title] : current.filter((name) => name !== place.title)))\n                }\n                className=\"w-40 lg:w-full\"\n              />\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "version": "0.1.0"
  },
  "categories": [
    "content"
  ],
  "type": "registry:block"
}