{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-event",
  "type": "registry:block",
  "title": "Event template",
  "description": "A page for a one-day conference (Småstad Summit 2027): date and tickets up front, last year in numbers, speakers, the programme, three ticket types, the venue and the practical questions. Bold violet, rounded.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/banner-announcement.json",
    "https://ui.klarhimmel.com/r/navbar-simple.json",
    "https://ui.klarhimmel.com/r/hero-frame.json",
    "https://ui.klarhimmel.com/r/stats-row.json",
    "https://ui.klarhimmel.com/r/team-list.json",
    "https://ui.klarhimmel.com/r/steps-timeline.json",
    "https://ui.klarhimmel.com/r/pricing-tiers.json",
    "https://ui.klarhimmel.com/r/contact-offices.json",
    "https://ui.klarhimmel.com/r/faq-list.json",
    "https://ui.klarhimmel.com/r/cta-band.json",
    "https://ui.klarhimmel.com/r/footer-columns.json",
    "https://ui.klarhimmel.com/r/theme.json"
  ],
  "files": [
    {
      "path": "templates/event.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/event.tsx",
      "content": "// Event template (Klarhimmel UI). Each section is a block, its copy is the block's props. Change the\n// copy here; colours, fonts and radius come from the Style. Blocks validate their props and fall back field by field.\n//\n// Wire before shipping:\n//  - Links: `#section` links jump within the page. Links to https://example.com are placeholders: point them at your own pages.\n//  - Images: the illustrations ship with the template (public/klarhimmel/art/event/). They are artwork, not photographs: replace the `media.src` values with your own photos.\n//  - Forms: set `action` on the footer newsletter (it is `/replace-with-your-endpoint` now). With `method: 'post'` the form submits natively, with no JavaScript. The live demo never submits.\n//  - Style: uses the default Klarhimmel palette, Geist fonts, radius and spacing. Import theme.css after Tailwind.\n\nimport { Theme, type Style } from '../theme/style';\nimport { BlockSurface } from '../blocks/surface';\nimport BannerAnnouncement, { spec as BannerAnnouncementSpec } from '../blocks/banner-announcement';\nimport NavbarSimple, { spec as NavbarSimpleSpec } from '../blocks/navbar-simple';\nimport HeroFrame, { spec as HeroFrameSpec } from '../blocks/hero-frame';\nimport StatsRow, { spec as StatsRowSpec } from '../blocks/stats-row';\nimport TeamList, { spec as TeamListSpec } from '../blocks/team-list';\nimport StepsTimeline, { spec as StepsTimelineSpec } from '../blocks/steps-timeline';\nimport PricingTiers, { spec as PricingTiersSpec } from '../blocks/pricing-tiers';\nimport ContactOffices, { spec as ContactOfficesSpec } from '../blocks/contact-offices';\nimport FaqList, { spec as FaqListSpec } from '../blocks/faq-list';\nimport CtaBand, { spec as CtaBandSpec } from '../blocks/cta-band';\nimport FooterColumns, { spec as FooterColumnsSpec } from '../blocks/footer-columns';\n\nconst style: Style = {\n  \"preset\": \"Klarhimmel\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#faf9f7\",\n    \"surface\": \"#ffffff\",\n    \"ink\": \"#17171a\",\n    \"muted\": \"#6b6b75\",\n    \"line\": \"#e8e6e1\",\n    \"accent\": \"#1c6ee0\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#0b0b0d\",\n    \"surface\": \"#1a1a1f\",\n    \"ink\": \"#f2f1ee\",\n    \"muted\": \"#8f8f9a\",\n    \"line\": \"#383842\",\n    \"accent\": \"#5b9bf5\",\n    \"accentFg\": \"#0b1a2c\"\n  },\n  \"fonts\": {\n    \"display\": \"Geist\",\n    \"sans\": \"Geist\",\n    \"mono\": \"Geist Mono\"\n  },\n  \"radius\": 8,\n  \"size\": 16\n};\n\nexport default function EventTemplate() {\n  return (\n    <Theme theme=\"brand\" style={style} mode=\"system\">\n      <BlockSurface>\n        <BannerAnnouncement\n          props={{\n            ...BannerAnnouncementSpec.defaults,\n            ...{\n              \"text\": \"Early-bird tickets end on 31 January.\",\n              \"link\": {\n                \"label\": \"Get tickets\",\n                \"href\": \"#tickets\"\n              },\n              \"dismissLabel\": \"Dismiss\"\n            },\n          } as typeof BannerAnnouncementSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"top\">\n        <NavbarSimple\n          props={{\n            ...(({ search: _search, ...rest }) => rest)(NavbarSimpleSpec.defaults),\n            ...{\n              \"brand\": \"Småstad Summit\",\n              \"links\": [\n                {\n                  \"label\": \"Speakers\",\n                  \"href\": \"#speakers\"\n                },\n                {\n                  \"label\": \"Programme\",\n                  \"href\": \"#programme\"\n                },\n                {\n                  \"label\": \"Tickets\",\n                  \"href\": \"#tickets\"\n                },\n                {\n                  \"label\": \"Venue\",\n                  \"href\": \"#venue\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Get tickets\",\n                \"href\": \"#tickets\"\n              },\n              \"secondary\": {\n                \"label\": \"Past years\",\n                \"href\": \"https://example.com/2026\"\n              },\n              \"themeToggle\": false\n            },\n          } as typeof NavbarSimpleSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"hero\">\n        <HeroFrame\n          props={{\n            ...HeroFrameSpec.defaults,\n            ...{\n              \"eyebrow\": \"One day, one hall\",\n              \"title\": \"One day for people who build things in small towns\",\n              \"description\": \"12 March 2027 in Jönköping. Twelve talks, no slides about hype, and sixteen hundred people who run shops, studios and small software companies outside the big cities.\",\n              \"primary\": {\n                \"label\": \"Get tickets\",\n                \"href\": \"#tickets\"\n              },\n              \"secondary\": {\n                \"label\": \"See the programme\",\n                \"href\": \"#programme\"\n              },\n              \"frameTitle\": \"Småstad Summit 2027 · Jönköping · 12 March\",\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-stage1.avif\",\n                \"alt\": \"A stage lit in blue\"\n              }\n            },\n          } as typeof HeroFrameSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"numbers\" tone=\"muted\">\n        <StatsRow\n          props={{\n            ...StatsRowSpec.defaults,\n            ...{\n              \"title\": \"Last year in numbers\",\n              \"description\": \"The 2026 summit, for the record.\",\n              \"items\": [\n                {\n                  \"value\": \"1,600\",\n                  \"label\": \"attendees\"\n                },\n                {\n                  \"value\": \"12\",\n                  \"label\": \"talks\"\n                },\n                {\n                  \"value\": \"2\",\n                  \"label\": \"days\"\n                },\n                {\n                  \"value\": \"38\",\n                  \"label\": \"towns represented\"\n                }\n              ]\n            },\n          } as typeof StatsRowSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"speakers\">\n        <TeamList\n          props={{\n            ...TeamListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Speakers\",\n              \"title\": \"Four of the twelve speakers\",\n              \"description\": \"Practitioners, not professional speakers. All of them have run what they talk about. The other eight are announced in January.\",\n              \"members\": [\n                {\n                  \"name\": \"Elin Sandberg\",\n                  \"role\": \"Founder, a booking tool for small hotels\",\n                  \"location\": \"\",\n                  \"bio\": \"On building software for people who have no time to configure it.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-4.svg\",\n                    \"alt\": \"Portrait of Elin Sandberg\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-4-dark.svg\"\n                  },\n                  \"link\": {\n                    \"label\": \"\",\n                    \"href\": \"\"\n                  }\n                },\n                {\n                  \"name\": \"Lena Strömberg\",\n                  \"role\": \"Owner, a neighbourhood bakery\",\n                  \"location\": \"\",\n                  \"bio\": \"How a chalkboard became a queue-free pre-order system.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-2.svg\",\n                    \"alt\": \"Portrait of Lena Strömberg\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-2-dark.svg\"\n                  },\n                  \"link\": {\n                    \"label\": \"\",\n                    \"href\": \"\"\n                  }\n                },\n                {\n                  \"name\": \"Ines Carvalho\",\n                  \"role\": \"Engineer, open-source maintainer\",\n                  \"location\": \"\",\n                  \"bio\": \"Keeping a project alive for ten years with four hours a week.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-3.svg\",\n                    \"alt\": \"Portrait of Ines Carvalho\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-3-dark.svg\"\n                  },\n                  \"link\": {\n                    \"label\": \"\",\n                    \"href\": \"\"\n                  }\n                },\n                {\n                  \"name\": \"Greta Holm\",\n                  \"role\": \"CFO, a family manufacturer\",\n                  \"location\": \"\",\n                  \"bio\": \"Pricing when your customers know your grandfather.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-1.svg\",\n                    \"alt\": \"Portrait of Greta Holm\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-1-dark.svg\"\n                  },\n                  \"link\": {\n                    \"label\": \"\",\n                    \"href\": \"\"\n                  }\n                }\n              ]\n            },\n          } as typeof TeamListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"programme\" tone=\"muted\">\n        <StepsTimeline\n          props={{\n            ...StepsTimelineSpec.defaults,\n            ...{\n              \"eyebrow\": \"Programme\",\n              \"title\": \"The day, hour by hour\",\n              \"description\": \"Doors at 08:30. Lunch is included and vegetarian by default.\",\n              \"items\": [\n                {\n                  \"label\": \"09:30\",\n                  \"title\": \"Opening: why small towns\",\n                  \"description\": \"The year in one hall, and why we are here.\"\n                },\n                {\n                  \"label\": \"10:15\",\n                  \"title\": \"Talks, first block\",\n                  \"description\": \"Four 20-minute talks on starting and staying small.\"\n                },\n                {\n                  \"label\": \"12:30\",\n                  \"title\": \"Lunch and the long table\",\n                  \"description\": \"Sit with someone you have not met. We assign seats gently.\"\n                },\n                {\n                  \"label\": \"14:00\",\n                  \"title\": \"Talks, second block\",\n                  \"description\": \"Four more, ending with the audience questions.\"\n                },\n                {\n                  \"label\": \"17:00\",\n                  \"title\": \"Evening at the harbour\",\n                  \"description\": \"Drinks, food and no agenda until late.\"\n                }\n              ]\n            },\n          } as typeof StepsTimelineSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"tickets\">\n        <PricingTiers\n          props={{\n            ...PricingTiersSpec.defaults,\n            ...{\n              \"eyebrow\": \"Tickets\",\n              \"title\": \"Pick a ticket\",\n              \"description\": \"All tickets include lunch and the evening. Group discounts for five or more.\",\n              \"tiers\": [\n                {\n                  \"name\": \"Early bird\",\n                  \"price\": \"1 490 kr\",\n                  \"period\": \"until 31 January\",\n                  \"description\": \"The lowest full price, for anyone who books before February.\",\n                  \"features\": [\n                    \"All talks\",\n                    \"Lunch\",\n                    \"The evening\",\n                    \"Recordings after the event\",\n                    \"A place at the long table\"\n                  ],\n                  \"cta\": {\n                    \"label\": \"Buy early bird\",\n                    \"href\": \"#tickets\"\n                  },\n                  \"featured\": true\n                },\n                {\n                  \"name\": \"Standard\",\n                  \"price\": \"1 990 kr\",\n                  \"period\": \"from 1 February\",\n                  \"description\": \"The regular ticket.\",\n                  \"features\": [\n                    \"All talks\",\n                    \"Lunch\",\n                    \"The evening\",\n                    \"Recordings after the event\"\n                  ],\n                  \"cta\": {\n                    \"label\": \"Buy standard\",\n                    \"href\": \"#tickets\"\n                  },\n                  \"featured\": false\n                },\n                {\n                  \"name\": \"Student\",\n                  \"price\": \"490 kr\",\n                  \"period\": \"one person\",\n                  \"description\": \"With a valid student card.\",\n                  \"features\": [\n                    \"All talks\",\n                    \"Lunch\",\n                    \"The evening\",\n                    \"Recordings after the event\"\n                  ],\n                  \"cta\": {\n                    \"label\": \"Buy student ticket\",\n                    \"href\": \"#tickets\"\n                  },\n                  \"featured\": false\n                }\n              ]\n            },\n          } as typeof PricingTiersSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"venue\" tone=\"muted\">\n        <ContactOffices\n          props={{\n            ...ContactOfficesSpec.defaults,\n            ...{\n              \"eyebrow\": \"Venue\",\n              \"title\": \"Where to find us\",\n              \"description\": \"The Folkets Hus hall, five minutes from the train station and a short walk from three hotels.\",\n              \"offices\": [\n                {\n                  \"city\": \"Folkets Hus\",\n                  \"address\": \"Exempelvägen 1\\n553 00 Jönköping\",\n                  \"hours\": \"Doors 08:30, close 22:00\",\n                  \"email\": \"hello@summit.example\",\n                  \"phone\": \"+46 36 000 00 00\"\n                }\n              ],\n              \"note\": \"We have set aside rooms at two hotels nearby. Ask us for the code.\"\n            },\n          } as typeof ContactOfficesSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"faq\">\n        <FaqList\n          props={{\n            ...FaqListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Practical\",\n              \"title\": \"Before you buy\",\n              \"description\": \"Anything missing? Write to hello@summit.example.\",\n              \"items\": [\n                {\n                  \"question\": \"Can I get a refund?\",\n                  \"answer\": \"Yes, in full until 1 March. After that you can transfer the ticket to a colleague for free.\"\n                },\n                {\n                  \"question\": \"Is the venue accessible?\",\n                  \"answer\": \"Yes. The hall is step-free, with a quiet room, a hearing loop and seats reserved at the front.\"\n                },\n                {\n                  \"question\": \"Will the talks be recorded?\",\n                  \"answer\": \"Yes. All ticket holders get the recordings two weeks after the event.\"\n                },\n                {\n                  \"question\": \"Is there food for special diets?\",\n                  \"answer\": \"Lunch is vegetarian by default. Tell us about allergies when you buy and we will sort it.\"\n                },\n                {\n                  \"question\": \"Can my company buy several tickets?\",\n                  \"answer\": \"Yes, with a discount from five tickets. Write to us and we send one invoice.\"\n                }\n              ]\n            },\n          } as typeof FaqListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"join\" tone=\"inverse\">\n        <CtaBand\n          props={{\n            ...CtaBandSpec.defaults,\n            ...{\n              \"title\": \"Join us in Jönköping\",\n              \"description\": \"Sixteen hundred seats and early-bird prices until 31 January.\",\n              \"primary\": {\n                \"label\": \"Get tickets\",\n                \"href\": \"#tickets\"\n              },\n              \"secondary\": {\n                \"label\": \"Ask a question\",\n                \"href\": \"mailto:hello@summit.example\"\n              }\n            },\n          } as typeof CtaBandSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterColumns\n          props={{\n            ...FooterColumnsSpec.defaults,\n            ...{\n              \"brand\": \"Småstad Summit\",\n              \"tagline\": \"One day for people who build things in small towns.\",\n              \"columns\": [\n                {\n                  \"title\": \"Summit\",\n                  \"links\": [\n                    {\n                      \"label\": \"Speakers\",\n                      \"href\": \"#speakers\"\n                    },\n                    {\n                      \"label\": \"Programme\",\n                      \"href\": \"#programme\"\n                    },\n                    {\n                      \"label\": \"Tickets\",\n                      \"href\": \"#tickets\"\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Practical\",\n                  \"links\": [\n                    {\n                      \"label\": \"Venue\",\n                      \"href\": \"#venue\"\n                    },\n                    {\n                      \"label\": \"Questions\",\n                      \"href\": \"#faq\"\n                    },\n                    {\n                      \"label\": \"Accessibility\",\n                      \"href\": \"https://example.com/access\"\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Past years\",\n                  \"links\": [\n                    {\n                      \"label\": \"2026\",\n                      \"href\": \"https://example.com/2026\"\n                    },\n                    {\n                      \"label\": \"2025\",\n                      \"href\": \"https://example.com/2025\"\n                    },\n                    {\n                      \"label\": \"Talks online\",\n                      \"href\": \"https://example.com/talks\"\n                    }\n                  ]\n                }\n              ],\n              \"legal\": \"© 2027 Småstad Summit\",\n              \"newsletter\": {\n                \"title\": \"Get the programme first\",\n                \"placeholder\": \"you@example.com\",\n                \"submit\": \"Join\",\n                \"note\": \"Three emails a year.\",\n                \"action\": \"/replace-with-your-endpoint\",\n                \"method\": \"post\"\n              },\n              \"legalLinks\": [\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                },\n                {\n                  \"label\": \"Code of conduct\",\n                  \"href\": \"https://example.com/conduct\"\n                }\n              ]\n            },\n          } as typeof FooterColumnsSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
