{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-restaurant",
  "type": "registry:block",
  "title": "Restaurant template",
  "description": "One page for an evening restaurant (Kolonien Kök, Göteborg), dark by default: the room and the bar up front, this week's short menu as a price list, the dining room, a press quote, a booking panel with free times, and the address.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/navbar-utility.json",
    "https://ui.klarhimmel.com/r/hero-split.json",
    "https://ui.klarhimmel.com/r/price-list.json",
    "https://ui.klarhimmel.com/r/gallery-featured.json",
    "https://ui.klarhimmel.com/r/testimonial-quote.json",
    "https://ui.klarhimmel.com/r/contact-booking.json",
    "https://ui.klarhimmel.com/r/contact-offices.json",
    "https://ui.klarhimmel.com/r/footer-simple.json",
    "https://ui.klarhimmel.com/r/theme.json"
  ],
  "files": [
    {
      "path": "templates/restaurant.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/restaurant.tsx",
      "content": "// Restaurant 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: every `media.src` is empty; each alt names the photo that belongs there. Use your own photos of the room, the plates and the kitchen.\n//  - Forms: set `action` on the booking panel (it is `/replace-with-your-endpoint` now). With `method: 'post'` the form submits natively, with no JavaScript. The live demo never submits.\n//  - Style: dark first (warm charcoal, a brass accent, DM Sans, nearly square corners); the light palette is the alternate mode. Import theme.css after Tailwind.\n\nimport { Theme, type Style } from '../theme/style';\nimport { BlockSurface } from '../blocks/surface';\nimport NavbarUtility, { spec as NavbarUtilitySpec } from '../blocks/navbar-utility';\nimport HeroSplit, { spec as HeroSplitSpec } from '../blocks/hero-split';\nimport PriceList, { spec as PriceListSpec } from '../blocks/price-list';\nimport GalleryFeatured, { spec as GalleryFeaturedSpec } from '../blocks/gallery-featured';\nimport TestimonialQuote, { spec as TestimonialQuoteSpec } from '../blocks/testimonial-quote';\nimport ContactBooking, { spec as ContactBookingSpec } from '../blocks/contact-booking';\nimport ContactOffices, { spec as ContactOfficesSpec } from '../blocks/contact-offices';\nimport FooterSimple, { spec as FooterSimpleSpec } from '../blocks/footer-simple';\n\nconst style: Style = {\n  \"preset\": \"Midnight\",\n  \"mode\": \"dark\",\n  \"colors\": {\n    \"canvas\": \"#15120f\",\n    \"surface\": \"#1f1a16\",\n    \"ink\": \"#f3ece2\",\n    \"muted\": \"#b5a998\",\n    \"line\": \"#3a322a\",\n    \"accent\": \"#d9a35b\",\n    \"accentFg\": \"#1a1208\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#f7f2ea\",\n    \"surface\": \"#ffffff\",\n    \"ink\": \"#211b15\",\n    \"muted\": \"#6b5f52\",\n    \"line\": \"#e4dacb\",\n    \"accent\": \"#8a5a1c\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"fonts\": {\n    \"display\": \"DM Sans\",\n    \"sans\": \"DM Sans\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 3,\n  \"size\": 16\n};\n\nexport default function RestaurantTemplate() {\n  return (\n    <Theme theme=\"brand\" style={style} mode=\"dark\">\n      <BlockSurface id=\"top\">\n        <NavbarUtility\n          props={{\n            ...NavbarUtilitySpec.defaults,\n            ...{\n              \"brand\": \"Kolonien Kök\",\n              \"note\": \"Tuesday to Sunday from 17:00. Six-course tasting menu on Fridays.\",\n              \"utility\": [\n                {\n                  \"label\": \"031-390 06 12\",\n                  \"href\": \"tel:+46313900612\"\n                },\n                {\n                  \"label\": \"Gift cards\",\n                  \"href\": \"https://example.com/gift\"\n                }\n              ],\n              \"links\": [\n                {\n                  \"label\": \"Menu\",\n                  \"href\": \"#menu\"\n                },\n                {\n                  \"label\": \"The room\",\n                  \"href\": \"#gallery\"\n                },\n                {\n                  \"label\": \"Visit\",\n                  \"href\": \"#visit\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Book a table\",\n                \"href\": \"#book\"\n              }\n            },\n          } as typeof NavbarUtilitySpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"hero\">\n        <HeroSplit\n          props={{\n            ...HeroSplitSpec.defaults,\n            ...{\n              \"eyebrow\": \"Seasonal cooking in Majorna\",\n              \"title\": \"Dinner from the garden next door\",\n              \"description\": \"A twenty-seat dining room, a short menu that changes with the week, and vegetables that were in the ground this morning. Sit at the bar or book a table.\",\n              \"primary\": {\n                \"label\": \"Book a table\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"See the menu\",\n                \"href\": \"#menu\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-rest1.avif\",\n                \"alt\": \"An empty dining room with long tables and pendant lamps\"\n              },\n              \"command\": \"\",\n              \"note\": \"Walk-ins welcome at the bar from 17:00.\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"menu\" tone=\"muted\">\n        <PriceList\n          props={{\n            ...PriceListSpec.defaults,\n            ...{\n              \"eyebrow\": \"This week\",\n              \"title\": \"A short menu, written on Monday\",\n              \"description\": \"We cook what the market garden down the street brings, and change a dish when an ingredient runs out. Plates come when they are ready; pass them round.\",\n              \"groups\": [\n                {\n                  \"title\": \"To start\",\n                  \"note\": \"\",\n                  \"items\": [\n                    {\n                      \"name\": \"Grilled leeks\",\n                      \"description\": \"Brown butter and hazelnut, from the garden.\",\n                      \"price\": \"145\",\n                      \"tags\": [\n                        \"Vegetarian\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Cured mackerel\",\n                      \"description\": \"Pickled cucumber and dill, lightly smoked.\",\n                      \"price\": \"165\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Mains\",\n                  \"note\": \"\",\n                  \"items\": [\n                    {\n                      \"name\": \"Barley risotto\",\n                      \"description\": \"Mushrooms and aged cheese.\",\n                      \"price\": \"195\",\n                      \"tags\": [\n                        \"Vegetarian\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Pan-fried cod\",\n                      \"description\": \"Beurre blanc and kale.\",\n                      \"price\": \"285\",\n                      \"tags\": [\n                        \"Gluten-free\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Lamb shoulder\",\n                      \"description\": \"Slow-cooked, with beets and yoghurt. Takes 20 minutes.\",\n                      \"price\": \"265\",\n                      \"tags\": [\n                        \"For two\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Roast chicken\",\n                      \"description\": \"Potato gratin and jus. Sundays only.\",\n                      \"price\": \"245\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"To finish\",\n                  \"note\": \"\",\n                  \"items\": [\n                    {\n                      \"name\": \"Burnt honey ice cream\",\n                      \"description\": \"Rye crumble.\",\n                      \"price\": \"95\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Apple tart\",\n                      \"description\": \"Baked to order, 15 minutes, with whipped cream.\",\n                      \"price\": \"105\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Three cheeses\",\n                      \"description\": \"Crispbread and fig jam.\",\n                      \"price\": \"125\",\n                      \"tags\": []\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Prices in kronor, including VAT. Vegan and gluten-free on request; tell us about allergies when you book.\",\n              \"link\": {\n                \"label\": \"Book a table\",\n                \"href\": \"#book\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"gallery\">\n        <GalleryFeatured\n          props={{\n            ...GalleryFeaturedSpec.defaults,\n            ...{\n              \"eyebrow\": \"The room\",\n              \"title\": \"Twenty seats and a view of the kitchen\",\n              \"description\": \"A low ceiling, paper-shaded lamps and a counter where you can watch dinner being made.\",\n              \"featured\": {\n                \"media\": {\n                  \"src\": \"https://ui.klarhimmel.com/pictures/photo-food1.avif\",\n                  \"alt\": \"Caramelised figs on a white plate\"\n                },\n                \"caption\": \"The dining room before the first seating\"\n              },\n              \"thumbs\": [\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-food2.avif\",\n                    \"alt\": \"Three pasta dishes on white plates\"\n                  },\n                  \"caption\": \"A short list of natural wines\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-food3.avif\",\n                    \"alt\": \"A table seen from above, set with several dishes\"\n                  },\n                  \"caption\": \"Bread from our own oven\"\n                }\n              ]\n            },\n          } as typeof GalleryFeaturedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"press\">\n        <TestimonialQuote\n          props={{\n            ...TestimonialQuoteSpec.defaults,\n            ...{\n              \"quote\": \"The kind of small restaurant that makes you want to move to the neighbourhood. Order the leeks, then order them again.\",\n              \"name\": \"Ines Åkerlund\",\n              \"role\": \"Food critic\",\n              \"company\": \"Göteborgs Matblad\",\n              \"photo\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/avatar-5.svg\",\n                \"alt\": \"Portrait of Ines Åkerlund\",\n                \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-5-dark.svg\"\n              }\n            },\n          } as typeof TestimonialQuoteSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"book\" tone=\"muted\">\n        <ContactBooking\n          props={{\n            ...ContactBookingSpec.defaults,\n            ...{\n              \"eyebrow\": \"Book a table\",\n              \"title\": \"Pick a time and we keep the table\",\n              \"description\": \"Tables for one to six. For larger groups, write to us.\",\n              \"options\": [\n                {\n                  \"label\": \"Call us\",\n                  \"description\": \"Tuesday to Sunday, 15:00 to 22:00.\",\n                  \"link\": {\n                    \"label\": \"031-390 06 12\",\n                    \"href\": \"tel:+46313900612\"\n                  }\n                },\n                {\n                  \"label\": \"Write to us\",\n                  \"description\": \"Groups, allergies and special occasions.\",\n                  \"link\": {\n                    \"label\": \"Email us\",\n                    \"href\": \"mailto:hello@kolonien.example\"\n                  }\n                }\n              ],\n              \"slotsTitle\": \"Free tables tonight and this weekend\",\n              \"slots\": [\n                \"17:30 tonight\",\n                \"19:00 tonight\",\n                \"20:30 tonight\",\n                \"Fri 18:00\",\n                \"Fri 20:00\",\n                \"Sat 18:30\"\n              ],\n              \"submit\": \"Request this table\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\"\n            },\n          } as typeof ContactBookingSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"visit\">\n        <ContactOffices\n          props={{\n            ...ContactOfficesSpec.defaults,\n            ...{\n              \"eyebrow\": \"Visit\",\n              \"title\": \"Majorna, five minutes from the tram\",\n              \"description\": \"The green door with the lamp over it. Book by phone or online; walk-ins at the bar.\",\n              \"offices\": [\n                {\n                  \"city\": \"Kolonien Kök\",\n                  \"address\": \"Allmänna vägen 14\\n414 60 Göteborg\",\n                  \"hours\": \"Tue to Sun, 17:00 to 23:00\",\n                  \"email\": \"\",\n                  \"phone\": \"\"\n                }\n              ],\n              \"note\": \"Tram 3 or 9 to Mariaplan, then two minutes on foot. Step-free entrance at the back.\"\n            },\n          } as typeof ContactOfficesSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Kolonien Kök\",\n              \"links\": [\n                {\n                  \"label\": \"Menu\",\n                  \"href\": \"#menu\"\n                },\n                {\n                  \"label\": \"Book\",\n                  \"href\": \"#book\"\n                },\n                {\n                  \"label\": \"Visit\",\n                  \"href\": \"#visit\"\n                },\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                }\n              ],\n              \"legal\": \"© 2026 Kolonien Kök, Göteborg.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
