{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-campsite",
  "type": "registry:block",
  "title": "Campsite template",
  "description": "One page for a family campsite (Culrannoch Campsite, Lochaber): nightly prices by season, what is on site, plain rules, honest midges, a car-free route, a dates request and the family.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/navbar-simple.json",
    "https://ui.klarhimmel.com/r/hero-split.json",
    "https://ui.klarhimmel.com/r/price-list.json",
    "https://ui.klarhimmel.com/r/features-grid.json",
    "https://ui.klarhimmel.com/r/faq-columns.json",
    "https://ui.klarhimmel.com/r/steps-numbered.json",
    "https://ui.klarhimmel.com/r/contact-form.json",
    "https://ui.klarhimmel.com/r/team-grid.json",
    "https://ui.klarhimmel.com/r/footer-simple.json",
    "https://ui.klarhimmel.com/r/theme.json"
  ],
  "files": [
    {
      "path": "templates/campsite.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/campsite.tsx",
      "content": "// Campsite 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 and your own bus timetable.\n//  - Images: every `media.src` is empty; each alt names the photo that belongs there. Use your own photos, taken in daylight: the loch from the pitches, a pod, the washing block.\n//  - Forms: set `action` on the request form (it is `/replace-with-your-endpoint` now). With `method: 'post'` it submits natively. The live demo never submits. The form asks for dates, pitch type and group in one message and for a phone number, because we ring back to confirm.\n//  - Style: cool loch grey with a heather accent (pale heather in dark mode), Geist throughout, square-ish corners, light and dark. Import theme.css after Tailwind.\n\nimport { Theme, type Style } from '../theme/style';\nimport { BlockSurface } from '../blocks/surface';\nimport NavbarSimple, { spec as NavbarSimpleSpec } from '../blocks/navbar-simple';\nimport HeroSplit, { spec as HeroSplitSpec } from '../blocks/hero-split';\nimport PriceList, { spec as PriceListSpec } from '../blocks/price-list';\nimport FeaturesGrid, { spec as FeaturesGridSpec } from '../blocks/features-grid';\nimport FaqColumns, { spec as FaqColumnsSpec } from '../blocks/faq-columns';\nimport StepsNumbered, { spec as StepsNumberedSpec } from '../blocks/steps-numbered';\nimport ContactForm, { spec as ContactFormSpec } from '../blocks/contact-form';\nimport TeamGrid, { spec as TeamGridSpec } from '../blocks/team-grid';\nimport FooterSimple, { spec as FooterSimpleSpec } from '../blocks/footer-simple';\n\nconst style: Style = {\n  \"preset\": \"Studio\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#eceff1\",\n    \"surface\": \"#f8fafb\",\n    \"ink\": \"#1d262b\",\n    \"muted\": \"#4a585f\",\n    \"line\": \"#d0d8dc\",\n    \"accent\": \"#7a2a7c\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#12181b\",\n    \"surface\": \"#1a2327\",\n    \"ink\": \"#e9eff1\",\n    \"muted\": \"#a2b1b8\",\n    \"line\": \"#2e3c42\",\n    \"accent\": \"#e9a8d0\",\n    \"accentFg\": \"#2a0c2b\"\n  },\n  \"fonts\": {\n    \"display\": \"Geist\",\n    \"sans\": \"Geist\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 6,\n  \"size\": 16\n};\n\nexport default function CampsiteTemplate() {\n  return (\n    <Theme theme=\"brand\" style={style} mode=\"system\">\n      <BlockSurface id=\"top\">\n        <NavbarSimple\n          props={{\n            ...(({ secondary: _secondary, search: _search, themeToggle: _themeToggle, ...rest }) => rest)(NavbarSimpleSpec.defaults),\n            ...{\n              \"brand\": \"Culrannoch Campsite\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"On site\",\n                  \"href\": \"#onsite\"\n                },\n                {\n                  \"label\": \"Rules\",\n                  \"href\": \"#rules\"\n                },\n                {\n                  \"label\": \"No car\",\n                  \"href\": \"#travel\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Request dates\",\n                \"href\": \"#request\"\n              },\n              \"sticky\": true\n            },\n          } as typeof NavbarSimpleSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"hero\">\n        <HeroSplit\n          props={{\n            ...HeroSplitSpec.defaults,\n            ...{\n              \"eyebrow\": \"Family campsite by Loch Culrannoch, Lochaber\",\n              \"title\": \"Camp on the shore of the loch, April to October\",\n              \"description\": \"Twenty-two pitches, two wooden pods and a campervan row, run by the Lindsay family. Tell us your dates and what you are bringing, and we answer within a day.\",\n              \"primary\": {\n                \"label\": \"Request your dates\",\n                \"href\": \"#request\"\n              },\n              \"secondary\": {\n                \"label\": \"See nightly prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-camp1.avif\",\n                \"alt\": \"Tents pitched on grass above a lake\"\n              },\n              \"note\": \"Open 1 April to 31 October\",\n              \"command\": \"\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"prices\">\n        <PriceList\n          props={{\n            ...PriceListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Prices per night\",\n              \"title\": \"Three seasons, one price for each pitch\",\n              \"description\": \"Prices are per night for the pitch, in pounds. Spring is April and May, summer is June to August and autumn is September and October.\",\n              \"groups\": [\n                {\n                  \"title\": \"Tent pitch\",\n                  \"note\": \"Two people included. Extra adult £6, child 5 to 15 £3, under 5 free.\",\n                  \"items\": [\n                    {\n                      \"name\": \"Spring\",\n                      \"description\": \"April and May. Quietest weeks, coldest nights.\",\n                      \"price\": \"£18\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Summer\",\n                      \"description\": \"June to August. Light until after 10 pm in June.\",\n                      \"price\": \"£24\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Autumn\",\n                      \"description\": \"September and October. Midges fade, the bracken turns.\",\n                      \"price\": \"£18\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Campervan with hook-up\",\n                  \"note\": \"Electric hook-up on firm gravel. Two people included.\",\n                  \"items\": [\n                    {\n                      \"name\": \"Spring\",\n                      \"description\": \"\",\n                      \"price\": \"£28\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Summer\",\n                      \"description\": \"\",\n                      \"price\": \"£36\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Autumn\",\n                      \"description\": \"\",\n                      \"price\": \"£28\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Wooden camping pod\",\n                  \"note\": \"Two pods, each sleeps up to four. Bring your own bedding.\",\n                  \"items\": [\n                    {\n                      \"name\": \"Spring\",\n                      \"description\": \"Heater, lights and a deck facing the loch.\",\n                      \"price\": \"£62\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Summer\",\n                      \"description\": \"Minimum two nights.\",\n                      \"price\": \"£84\",\n                      \"tags\": [\n                        \"2 nights\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Autumn\",\n                      \"description\": \"Fewer midges, and the heater earns its keep.\",\n                      \"price\": \"£62\",\n                      \"tags\": []\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Prices in pounds sterling. A dog is £2 a night. The drying room and the hot showers cost nothing extra.\",\n              \"link\": {\n                \"label\": \"Request your dates\",\n                \"href\": \"#request\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"onsite\" tone=\"muted\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"On site\",\n              \"title\": \"What there is, and what there is not\",\n              \"description\": \"It is a simple site. The nearest shop is nine miles away by road.\",\n              \"columns\": \"3\",\n              \"items\": [\n                {\n                  \"title\": \"Hot showers\",\n                  \"description\": \"Four showers and four toilets in the washing block, cleaned twice a day. Free, with no coins.\"\n                },\n                {\n                  \"title\": \"Washing-up area\",\n                  \"description\": \"Covered sinks with hot water and a drainer, a short walk from every pitch.\"\n                },\n                {\n                  \"title\": \"Drying room\",\n                  \"description\": \"A heated room for wet coats, boots and tents after a rainy day. Open all day and night.\"\n                },\n                {\n                  \"title\": \"Fire pits\",\n                  \"description\": \"Raised fire pits in the field. Bags of logs are at reception for £7. Bring a lighter.\"\n                },\n                {\n                  \"title\": \"No shop\",\n                  \"description\": \"Reception sells logs and not much else, so buy your food before you arrive.\"\n                },\n                {\n                  \"title\": \"Phone signal\",\n                  \"description\": \"Patchy. One network works from the shore, none from the back pitches. Plan for a quiet week.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"rules\">\n        <FaqColumns\n          props={{\n            ...FaqColumnsSpec.defaults,\n            ...{\n              \"eyebrow\": \"The rules\",\n              \"title\": \"Six things we ask, in plain words\",\n              \"description\": \"Ask at reception if something here is not clear. We would rather answer than tell you off.\",\n              \"align\": \"start\",\n              \"items\": [\n                {\n                  \"question\": \"When is quiet time?\",\n                  \"answer\": \"After 10 pm. Voices low, no speakers, and cars off the field. People are here to hear the loch.\"\n                },\n                {\n                  \"question\": \"Can I bring my dog?\",\n                  \"answer\": \"Yes, on a lead at all times, including the loch shore, because sheep graze the next field. Please pick up after it. Dogs are £2 a night.\"\n                },\n                {\n                  \"question\": \"Can I have a fire?\",\n                  \"answer\": \"Only in the fire pits. No ground fires, no stoves on the grass, and no fires at all if we put up the dry-weather sign.\"\n                },\n                {\n                  \"question\": \"What about midges?\",\n                  \"answer\": \"They are real. From late June to early September they are worst at dusk and on still, damp days. Bring repellent and a head net. A breeze or a cold dry day keeps them away.\"\n                },\n                {\n                  \"question\": \"What is the season?\",\n                  \"answer\": \"We open on 1 April and close on 31 October. Snow is rare in April but nights near freezing are not, so bring a warm sleeping bag.\"\n                },\n                {\n                  \"question\": \"What about rubbish?\",\n                  \"answer\": \"Sort it into the bins by the washing block: general, recycling and glass. Please take nothing from the loch, including stones.\"\n                }\n              ]\n            },\n          } as typeof FaqColumnsSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"travel\" tone=\"muted\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"Without a car\",\n              \"title\": \"Train, bus, then we collect you\",\n              \"description\": \"Check the bus times before you set out, as they change in winter and on holidays.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"Train to Fort William\",\n                  \"description\": \"The West Highland Line runs from Glasgow Queen Street and takes several hours. Check the timetable before you book.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Bus to the road end\",\n                  \"description\": \"A local bus leaves from Fort William bus station and takes about 50 minutes. Tell the driver you want the Culrannoch road end.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"We collect you\",\n                  \"description\": \"Phone from the bus stop and we come to fetch you and your bags for the last three miles. It is free for guests.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"request\">\n        <ContactForm\n          props={{\n            ...ContactFormSpec.defaults,\n            ...{\n              \"eyebrow\": \"Booking request\",\n              \"title\": \"Send us your dates, we confirm by phone or email\",\n              \"description\": \"Nothing is charged when you ask. We check the dates, reply with the price for your stay and hold the pitch for three days while you decide.\",\n              \"details\": [\n                {\n                  \"label\": \"Phone\",\n                  \"value\": \"0131 496 0184\"\n                },\n                {\n                  \"label\": \"Reception\",\n                  \"value\": \"9 am to 6 pm, April to October\"\n                },\n                {\n                  \"label\": \"Check in\",\n                  \"value\": \"From 2 pm. Check out by 11 am.\"\n                },\n                {\n                  \"label\": \"Find us\",\n                  \"value\": \"By Loch Culrannoch, near Fort William, PH33\"\n                }\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Phone (we ring to confirm)\",\n              \"messageLabel\": \"Dates, pitch type and who is coming\",\n              \"submit\": \"Send my request\",\n              \"consent\": \"We use your details to answer this request and nothing else.\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\",\n              \"messages\": {\n                \"sent\": \"Thank you. We have your dates and will reply within a day.\",\n                \"error\": \"Something went wrong. Please try again, or phone 0131 496 0184.\"\n              }\n            },\n          } as typeof ContactFormSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"family\" tone=\"muted\">\n        <TeamGrid\n          props={{\n            ...TeamGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"The family\",\n              \"title\": \"The Lindsay family, on one small field\",\n              \"description\": \"We have run the site since 2009. One of us is always at reception between 9 am and 6 pm.\",\n              \"members\": [\n                {\n                  \"name\": \"Morag Lindsay\",\n                  \"role\": \"Bookings and reception\",\n                  \"bio\": \"Answers the phone and the emails. Knows which pitch is driest after rain.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-3.svg\",\n                    \"alt\": \"Portrait of Morag Lindsay\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-3-dark.svg\"\n                  }\n                },\n                {\n                  \"name\": \"Struan Lindsay\",\n                  \"role\": \"Grounds and fire pits\",\n                  \"bio\": \"Mows, fixes the washing block and splits the logs. Ask him about the best walk from the gate.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-3.svg\",\n                    \"alt\": \"Portrait of Struan Lindsay\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-3-dark.svg\"\n                  }\n                },\n                {\n                  \"name\": \"Eilidh Lindsay\",\n                  \"role\": \"Pods and cleaning\",\n                  \"bio\": \"Gets the pods ready, runs the drying room and keeps the washing block clean.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-2.svg\",\n                    \"alt\": \"Portrait of Eilidh Lindsay\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-2-dark.svg\"\n                  }\n                }\n              ]\n            },\n          } as typeof TeamGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Culrannoch Campsite\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Rules\",\n                  \"href\": \"#rules\"\n                },\n                {\n                  \"label\": \"Request dates\",\n                  \"href\": \"#request\"\n                },\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                }\n              ],\n              \"legal\": \"© 2026 Culrannoch Campsite, Lochaber. Run by the Lindsay family.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
