{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-hotel",
  "type": "registry:block",
  "title": "Hotel template",
  "description": "One page for a small hotel or guesthouse (Exempelhotellet): offer and navigation, rooms, gallery, guest reviews, one rate, questions, the address and a newsletter.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/banner-promo.json",
    "https://ui.klarhimmel.com/r/navbar-centered.json",
    "https://ui.klarhimmel.com/r/hero-split.json",
    "https://ui.klarhimmel.com/r/features-bento.json",
    "https://ui.klarhimmel.com/r/gallery-featured.json",
    "https://ui.klarhimmel.com/r/testimonials-wall.json",
    "https://ui.klarhimmel.com/r/pricing-single.json",
    "https://ui.klarhimmel.com/r/faq-grouped.json",
    "https://ui.klarhimmel.com/r/contact-offices.json",
    "https://ui.klarhimmel.com/r/footer-columns.json",
    "https://ui.klarhimmel.com/r/theme.json"
  ],
  "files": [
    {
      "path": "templates/hotel.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/hotel.tsx",
      "content": "// Hotel 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/hotel/). 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 BannerPromo, { spec as BannerPromoSpec } from '../blocks/banner-promo';\nimport NavbarCentered, { spec as NavbarCenteredSpec } from '../blocks/navbar-centered';\nimport HeroSplit, { spec as HeroSplitSpec } from '../blocks/hero-split';\nimport FeaturesBento, { spec as FeaturesBentoSpec } from '../blocks/features-bento';\nimport GalleryFeatured, { spec as GalleryFeaturedSpec } from '../blocks/gallery-featured';\nimport TestimonialsWall, { spec as TestimonialsWallSpec } from '../blocks/testimonials-wall';\nimport PricingSingle, { spec as PricingSingleSpec } from '../blocks/pricing-single';\nimport FaqGrouped, { spec as FaqGroupedSpec } from '../blocks/faq-grouped';\nimport ContactOffices, { spec as ContactOfficesSpec } from '../blocks/contact-offices';\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 HotelTemplate() {\n  return (\n    <Theme theme=\"brand\" style={style} mode=\"system\">\n      <BlockSurface>\n        <BannerPromo\n          props={{\n            ...BannerPromoSpec.defaults,\n            ...{\n              \"link\": {\n                \"label\": \"See rooms\",\n                \"href\": \"#rooms\"\n              },\n              \"text\": \"Two nights for the price of one, Sunday to Thursday.\"\n            },\n          } as typeof BannerPromoSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"top\">\n        <NavbarCentered\n          props={{\n            ...NavbarCenteredSpec.defaults,\n            ...{\n              \"brand\": \"Exempelhotellet\",\n              \"links\": [\n                {\n                  \"label\": \"Rooms\",\n                  \"href\": \"#rooms\"\n                },\n                {\n                  \"label\": \"Gallery\",\n                  \"href\": \"#gallery\"\n                },\n                {\n                  \"label\": \"Reviews\",\n                  \"href\": \"#reviews\"\n                },\n                {\n                  \"label\": \"Rates\",\n                  \"href\": \"#book\"\n                }\n              ],\n              \"secondary\": {\n                \"label\": \"Manage booking\",\n                \"href\": \"https://example.com/booking\"\n              },\n              \"cta\": {\n                \"label\": \"Book a room\",\n                \"href\": \"#book\"\n              }\n            },\n          } as typeof NavbarCenteredSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"hero\">\n        <HeroSplit\n          props={{\n            ...HeroSplitSpec.defaults,\n            ...{\n              \"eyebrow\": \"Göteborg, since 1926\",\n              \"title\": \"Seven rooms above the harbour\",\n              \"description\": \"A family-run hotel with a rooftop terrace, a long breakfast table and a front desk that remembers your name. Ten minutes on foot from the central station.\",\n              \"primary\": {\n                \"label\": \"Check dates\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"See the rooms\",\n                \"href\": \"#rooms\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-hotelbed.avif\",\n                \"alt\": \"A double bed with white linen under a wall light\"\n              },\n              \"command\": \"\",\n              \"note\": \"Free cancellation until 48 hours before arrival.\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"rooms\">\n        <FeaturesBento\n          props={{\n            ...FeaturesBentoSpec.defaults,\n            ...{\n              \"eyebrow\": \"Rooms and rhythm\",\n              \"title\": \"Everything a good night needs, nothing it does not\",\n              \"description\": \"Quiet rooms, real beds and breakfast that is worth getting up for.\",\n              \"tiles\": [\n                {\n                  \"layout\": \"md\",\n                  \"icon\": \"leaf\",\n                  \"title\": \"Garden rooms\",\n                  \"description\": \"Three rooms open onto the garden. Wake to birdsong, not traffic.\",\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-house1.avif\",\n                    \"alt\": \"A red wooden house with white windows and a white door\"\n                  }\n                },\n                {\n                  \"layout\": \"md\",\n                  \"icon\": \"compass\",\n                  \"title\": \"The corner room\",\n                  \"description\": \"Our largest, with harbour views on two sides and a bath under the window.\",\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-terr1.avif\",\n                    \"alt\": \"A terrace with seats at sunset above the sea\"\n                  }\n                },\n                {\n                  \"layout\": \"sm\",\n                  \"icon\": \"clock\",\n                  \"title\": \"Breakfast until 10:30\",\n                  \"description\": \"Bread from the bakery on the corner.\",\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-brk1.avif\",\n                    \"alt\": \"A breakfast plate of fruit with orange juice\"\n                  }\n                },\n                {\n                  \"layout\": \"sm\",\n                  \"icon\": \"lock\",\n                  \"title\": \"Late check-in\",\n                  \"description\": \"A code to the door, so you can arrive at midnight.\",\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-terr2.avif\",\n                    \"alt\": \"A roof terrace with chairs, tables and lights at night\"\n                  }\n                },\n                {\n                  \"layout\": \"sm\",\n                  \"icon\": \"heart\",\n                  \"title\": \"Dogs welcome\",\n                  \"description\": \"In four rooms. Biscuits at the desk.\",\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-fire1.avif\",\n                    \"alt\": \"A living room with a stone fireplace and a fire lit\"\n                  }\n                }\n              ]\n            },\n          } as typeof FeaturesBentoSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"gallery\" tone=\"muted\">\n        <GalleryFeatured\n          props={{\n            ...GalleryFeaturedSpec.defaults,\n            ...{\n              \"featured\": {\n                \"media\": {\n                  \"src\": \"https://ui.klarhimmel.com/pictures/photo-clean1.avif\",\n                  \"alt\": \"A bright white kitchen with a marble island\"\n                },\n                \"caption\": \"The roof terrace, ten minutes before sunset\"\n              },\n              \"thumbs\": [\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-hotelbed.avif\",\n                    \"alt\": \"A double bed with white linen under a wall light\"\n                  },\n                  \"caption\": \"Breakfast, weather permitting\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-house1.avif\",\n                    \"alt\": \"A red wooden house with white windows and a white door\"\n                  },\n                  \"caption\": \"Room 6, the corner\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-terr1.avif\",\n                    \"alt\": \"A terrace with seats at sunset above the sea\"\n                  },\n                  \"caption\": \"The reading nook\"\n                }\n              ],\n              \"description\": \"Seven rooms, one garden and a roof that looks out over the harbour.\"\n            },\n          } as typeof GalleryFeaturedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"reviews\">\n        <TestimonialsWall\n          props={{\n            ...TestimonialsWallSpec.defaults,\n            ...{\n              \"eyebrow\": \"Guests write\",\n              \"title\": \"What people say after a night here\",\n              \"items\": [\n                {\n                  \"emphasis\": \"featured\",\n                  \"quote\": \"Asked for a quiet room and got one with the best view in the building. The breakfast alone is worth the trip.\",\n                  \"name\": \"Karin Åberg\",\n                  \"role\": \"Stayed in the corner room\"\n                },\n                {\n                  \"emphasis\": \"normal\",\n                  \"quote\": \"Check-in took ninety seconds and the owner had left a map with her favourite walks.\",\n                  \"name\": \"Jonas Lind\",\n                  \"role\": \"Two nights in October\"\n                },\n                {\n                  \"emphasis\": \"normal\",\n                  \"quote\": \"We brought the dog. They brought biscuits. We are coming back.\",\n                  \"name\": \"Sara Holm\",\n                  \"role\": \"Weekend with family\"\n                },\n                {\n                  \"emphasis\": \"normal\",\n                  \"quote\": \"Quiet, clean and exactly as photographed, which is rarer than it should be.\",\n                  \"name\": \"Mikael Dahl\",\n                  \"role\": \"Business trip\"\n                },\n                {\n                  \"emphasis\": \"normal\",\n                  \"quote\": \"Rooftop terrace at sunset. Say no more.\",\n                  \"name\": \"Amanda Ek\",\n                  \"role\": \"Anniversary\"\n                },\n                {\n                  \"emphasis\": \"featured\",\n                  \"quote\": \"I have stayed in a lot of hotels for work. This is the one I told my friends about.\",\n                  \"name\": \"Henrik Vall\",\n                  \"role\": \"Stayed four times\"\n                }\n              ]\n            },\n          } as typeof TestimonialsWallSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"book\" tone=\"muted\">\n        <PricingSingle\n          props={{\n            ...PricingSingleSpec.defaults,\n            ...{\n              \"eyebrow\": \"Rates\",\n              \"title\": \"One honest price per night\",\n              \"description\": \"No resort fee, no cleaning fee. What you see is what you pay, taxes included.\",\n              \"name\": \"Double room\",\n              \"price\": \"1 290 kr\",\n              \"period\": \"per night, for two\",\n              \"includesTitle\": \"Included in every stay\",\n              \"features\": [\n                \"Breakfast for two\",\n                \"Fast wifi\",\n                \"Late check-in by code\",\n                \"Linen and towels\",\n                \"Use of the roof terrace\",\n                \"Free cancellation until 48 hours before\"\n              ],\n              \"cta\": {\n                \"label\": \"Check availability\",\n                \"href\": \"https://example.com/booking\"\n              },\n              \"note\": \"Single rooms from 990 kr. Corner room 1 790 kr.\"\n            },\n          } as typeof PricingSingleSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"faq\">\n        <FaqGrouped\n          props={{\n            ...FaqGroupedSpec.defaults,\n            ...{\n              \"eyebrow\": \"Before you book\",\n              \"title\": \"Questions guests ask us\",\n              \"description\": \"Anything else? Call the front desk, we pick up.\",\n              \"groups\": [\n                {\n                  \"name\": \"Arriving\",\n                  \"summary\": \"Getting here and getting in.\",\n                  \"items\": [\n                    {\n                      \"question\": \"Is there parking?\",\n                      \"answer\": \"Six spaces behind the house, free for guests, first come first served. The public garage on Torggatan is a four minute walk.\"\n                    },\n                    {\n                      \"question\": \"What if I arrive late?\",\n                      \"answer\": \"Check-in is from 15:00. After 22:00 you get a door code by text, and your key is in the box on the wall.\"\n                    }\n                  ]\n                },\n                {\n                  \"name\": \"Your stay\",\n                  \"summary\": \"Rooms, breakfast and the rest.\",\n                  \"items\": [\n                    {\n                      \"question\": \"Is breakfast included?\",\n                      \"answer\": \"Yes, every morning from 07:30 to 10:30. We can pack a picnic breakfast if you leave early.\"\n                    },\n                    {\n                      \"question\": \"Do you take dogs?\",\n                      \"answer\": \"In four of the seven rooms, for 150 kr a night. Please tell us when you book so we can pick the right room.\"\n                    },\n                    {\n                      \"question\": \"Can I use the roof terrace?\",\n                      \"answer\": \"Always. It is open from breakfast until ten at night, and blankets live in the basket by the door.\"\n                    }\n                  ]\n                },\n                {\n                  \"name\": \"Booking\",\n                  \"summary\": \"Changes and cancellations.\",\n                  \"items\": [\n                    {\n                      \"question\": \"Can I cancel?\",\n                      \"answer\": \"Free up to 48 hours before arrival. After that we charge the first night, unless we can rebook the room.\"\n                    },\n                    {\n                      \"question\": \"Do you take groups?\",\n                      \"answer\": \"Yes, up to fourteen guests, which is the whole house. Write to us and we will make it work.\"\n                    }\n                  ]\n                }\n              ]\n            },\n          } as typeof FaqGroupedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"contact\" tone=\"muted\">\n        <ContactOffices\n          props={{\n            ...ContactOfficesSpec.defaults,\n            ...{\n              \"eyebrow\": \"Find us\",\n              \"title\": \"Exempelgatan 12, Göteborg\",\n              \"description\": \"Between the harbour and the old town. The green door.\",\n              \"offices\": [\n                {\n                  \"city\": \"The hotel\",\n                  \"address\": \"Exempelgatan 12\\n411 01 Göteborg\",\n                  \"hours\": \"Front desk 07:00 to 22:00\",\n                  \"email\": \"hello@example.com\",\n                  \"phone\": \"+46 31 000 00 00\"\n                }\n              ],\n              \"note\": \"From Central Station: tram 3 or 9 to Exempelplatsen, then two minutes on foot.\"\n            },\n          } as typeof ContactOfficesSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterColumns\n          props={{\n            ...FooterColumnsSpec.defaults,\n            ...{\n              \"brand\": \"Exempelhotellet\",\n              \"tagline\": \"A small hotel above the harbour, since 1926.\",\n              \"columns\": [\n                {\n                  \"title\": \"Stay\",\n                  \"links\": [\n                    {\n                      \"label\": \"Rooms\",\n                      \"href\": \"#rooms\"\n                    },\n                    {\n                      \"label\": \"Rates\",\n                      \"href\": \"#book\"\n                    },\n                    {\n                      \"label\": \"Questions\",\n                      \"href\": \"#faq\"\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"The house\",\n                  \"links\": [\n                    {\n                      \"label\": \"Gallery\",\n                      \"href\": \"#gallery\"\n                    },\n                    {\n                      \"label\": \"Reviews\",\n                      \"href\": \"#reviews\"\n                    },\n                    {\n                      \"label\": \"Find us\",\n                      \"href\": \"#contact\"\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Contact\",\n                  \"links\": [\n                    {\n                      \"label\": \"Call us\",\n                      \"href\": \"tel:+46310000000\"\n                    },\n                    {\n                      \"label\": \"Write to us\",\n                      \"href\": \"mailto:hello@example.com\"\n                    },\n                    {\n                      \"label\": \"Press\",\n                      \"href\": \"https://example.com/press\"\n                    }\n                  ]\n                }\n              ],\n              \"legal\": \"© 2026 Exempelhotellet AB\",\n              \"newsletter\": {\n                \"title\": \"News from the house\",\n                \"placeholder\": \"you@example.com\",\n                \"submit\": \"Subscribe\",\n                \"note\": \"Twice a year. No spam.\",\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\": \"Terms\",\n                  \"href\": \"https://example.com/terms\"\n                }\n              ]\n            },\n          } as typeof FooterColumnsSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
