{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "wedding-01",
  "title": "Wedding Save the Date",
  "author": "VenusUI",
  "description": "A save-the-date with the day marked, a postmarked stamp and an add-to-calendar file.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "https://venusui.com/r/postage-stamp.json",
    "https://venusui.com/r/wall-calendar.json"
  ],
  "files": [
    {
      "path": "registry/default/blocks/wedding-01/components/wedding-01.tsx",
      "content": "import { CalendarPlus, MapPin } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { PostageStamp } from \"@/registry/default/ui/postage-stamp\"\nimport { WallCalendar } from \"@/registry/default/ui/wall-calendar\"\n\n// Photos: Unsplash (free under the Unsplash License). The couple and venue are made up.\nconst photo = (id: string, width: number, height: number) => `https://images.unsplash.com/photo-${id}?w=${width}&h=${height}&fit=crop&auto=format&q=78`\n\nconst CALENDAR_FILE = [\n  \"BEGIN:VCALENDAR\",\n  \"VERSION:2.0\",\n  \"PRODID:-//Save the date//EN\",\n  \"BEGIN:VEVENT\",\n  \"UID:ana-and-leo-2027@example.com\",\n  \"DTSTAMP:20260101T000000Z\",\n  \"DTSTART:20270612T140000Z\",\n  \"DTEND:20270612T220000Z\",\n  \"SUMMARY:Ana and Leo's wedding\",\n  \"LOCATION:Villa Serena\\\\, Lake Como\",\n  \"END:VEVENT\",\n  \"END:VCALENDAR\",\n].join(\"\\r\\n\")\n\nconst wedding = new Date(2027, 5, 12)\n\n/** A wedding save-the-date with the day circled, a stamp and an add-to-calendar file. */\nexport function Wedding01() {\n  return (\n    <section aria-labelledby=\"wedding-01-title\" className=\"py-24 sm:py-28\">\n      <div className=\"mx-auto grid max-w-6xl items-center gap-12 px-4 sm:px-6 lg:grid-cols-[minmax(0,1fr)_auto] lg:gap-20\">\n        <div className=\"relative\">\n          <img src={photo(\"1469371670807-013ccf25f16a\", 1100, 900)} alt=\"A garden aisle lined with pink and white flowers\" className=\"aspect-[5/4] w-full rounded-2xl bg-muted object-cover\" />\n          <PostageStamp\n            src={photo(\"1519741497674-611481863552\", 360, 450)}\n            alt=\"A bride holding a bouquet in warm light\"\n            title=\"Ana & Leo\"\n            country=\"Italia\"\n            value=\"1 love\"\n            postmark={{ place: \"Lake Como\", date: \"12 JUN 27\" }}\n            defaultCancelled\n            className=\"absolute right-1 -bottom-8 w-32 rotate-3 sm:right-6 sm:w-40\"\n          />\n        </div>\n        <div className=\"mx-auto w-full max-w-80 text-center lg:text-left\">\n          <p className=\"font-serif text-lg text-muted-foreground italic\">Save the date</p>\n          <h2 id=\"wedding-01-title\" className=\"mt-1 font-serif text-5xl font-semibold tracking-tight\">\n            Ana &amp; Leo\n          </h2>\n          <p className=\"mt-3 inline-flex items-center gap-1.5 text-sm text-muted-foreground\">\n            <MapPin aria-hidden=\"true\" className=\"size-4\" />\n            Villa Serena, Lake Como\n          </p>\n          <WallCalendar defaultMonth={wedding} selected={{ from: wedding, to: null }} className=\"mt-6\" />\n          <Button asChild className=\"mt-5 w-full\">\n            <a href={`data:text/calendar;charset=utf-8,${encodeURIComponent(CALENDAR_FILE)}`} download=\"ana-and-leo-wedding.ics\">\n              <CalendarPlus aria-hidden=\"true\" className=\"size-4\" />\n              Add to calendar\n            </a>\n          </Button>\n          <p className=\"mt-3 text-center text-xs text-muted-foreground\">Formal invitation to follow.</p>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "version": "0.1.0"
  },
  "categories": [
    "content"
  ],
  "type": "registry:block"
}