{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-driving-school",
  "type": "registry:block",
  "title": "Driving school template",
  "description": "One page for a small driving school (Kestrel Driving School, Halifax): book a first lesson, lesson and block prices, a road test day package, the path to the test, instructors and pickup areas.",
  "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/steps-numbered.json",
    "https://ui.klarhimmel.com/r/team-grid.json",
    "https://ui.klarhimmel.com/r/features-grid.json",
    "https://ui.klarhimmel.com/r/faq-list.json",
    "https://ui.klarhimmel.com/r/contact-booking.json",
    "https://ui.klarhimmel.com/r/footer-simple.json",
    "https://ui.klarhimmel.com/r/theme.json"
  ],
  "files": [
    {
      "path": "templates/driving-school.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/driving-school.tsx",
      "content": "// Driving school 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. The phone link (`tel:`) calls from a phone. Links to https://example.com are placeholders: point them at your own pages.\n//  - Images: the hero takes a real photo of one of your cars with a learner at the wheel and the instructor beside them (with permission). Each instructor needs a real portrait. Replace the empty `media.src` and keep the alt text honest.\n//  - Forms: set `action` on the booking form (it is `/replace-with-your-endpoint` now). With `method: 'post'` it submits natively, with no JavaScript. The live demo never submits. The form asks for a mobile so you can confirm by text. The time slots are examples: list your real free times.\n//  - Style: warm cream with deep violet buttons (soft lilac in dark mode), DM Sans headlines and Inter text, 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 StepsNumbered, { spec as StepsNumberedSpec } from '../blocks/steps-numbered';\nimport TeamGrid, { spec as TeamGridSpec } from '../blocks/team-grid';\nimport FeaturesGrid, { spec as FeaturesGridSpec } from '../blocks/features-grid';\nimport FaqList, { spec as FaqListSpec } from '../blocks/faq-list';\nimport ContactBooking, { spec as ContactBookingSpec } from '../blocks/contact-booking';\nimport FooterSimple, { spec as FooterSimpleSpec } from '../blocks/footer-simple';\n\nconst style: Style = {\n  \"preset\": \"Studio\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#fbfaf4\",\n    \"surface\": \"#ffffff\",\n    \"ink\": \"#1b1633\",\n    \"muted\": \"#524d6b\",\n    \"line\": \"#e4e0d2\",\n    \"accent\": \"#6a35c9\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#14102a\",\n    \"surface\": \"#1d1838\",\n    \"ink\": \"#f4f1ff\",\n    \"muted\": \"#b3acd0\",\n    \"line\": \"#322b58\",\n    \"accent\": \"#b79bff\",\n    \"accentFg\": \"#14102a\"\n  },\n  \"fonts\": {\n    \"display\": \"DM Sans\",\n    \"sans\": \"Inter\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 14,\n  \"size\": 16\n};\n\nexport default function DrivingSchoolTemplate() {\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\": \"Kestrel Driving School\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"How it works\",\n                  \"href\": \"#journey\"\n                },\n                {\n                  \"label\": \"Instructors\",\n                  \"href\": \"#instructors\"\n                },\n                {\n                  \"label\": \"Questions\",\n                  \"href\": \"#faq\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Book a lesson\",\n                \"href\": \"#book\"\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\": \"Driving lessons in Halifax and Dartmouth\",\n              \"title\": \"Learn to drive calmly, in a car that suits you\",\n              \"description\": \"One instructor, one hour at a time, in a manual or an automatic. We pick you up from home, school or work, and we go at the speed you need. Your first lesson is $55.\",\n              \"primary\": {\n                \"label\": \"Book a first lesson\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"See prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-car2.avif\",\n                \"alt\": \"A car on a lift with its bonnet open in a bright workshop\"\n              },\n              \"note\": \"Dual-control cars. Monday to Saturday, 8 am to 8 pm.\",\n              \"command\": \"\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"prices\" tone=\"muted\">\n        <PriceList\n          props={{\n            ...PriceListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Prices\",\n              \"title\": \"Pay per lesson, or save with a block\",\n              \"description\": \"Lessons are 60 minutes. Prices are in Canadian dollars and include tax.\",\n              \"groups\": [\n                {\n                  \"title\": \"Single lessons\",\n                  \"note\": \"60 minutes, picked up where you are\",\n                  \"items\": [\n                    {\n                      \"name\": \"First lesson\",\n                      \"description\": \"60 minutes, starting in a quiet car park. We talk about what you want and how nervous you are.\",\n                      \"price\": \"$55\",\n                      \"tags\": [\n                        \"Manual or automatic\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Automatic lesson\",\n                      \"description\": \"Any lesson after the first.\",\n                      \"price\": \"$68\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Manual lesson\",\n                      \"description\": \"Any lesson after the first.\",\n                      \"price\": \"$72\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Blocks\",\n                  \"note\": \"Pay up front, use within six months\",\n                  \"items\": [\n                    {\n                      \"name\": \"Five automatic lessons\",\n                      \"description\": \"\",\n                      \"price\": \"$320\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Ten automatic lessons\",\n                      \"description\": \"\",\n                      \"price\": \"$620\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Five manual lessons\",\n                      \"description\": \"\",\n                      \"price\": \"$340\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Ten manual lessons\",\n                      \"description\": \"\",\n                      \"price\": \"$660\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Road test day\",\n                  \"note\": \"Your car and your instructor\",\n                  \"items\": [\n                    {\n                      \"name\": \"Test day package\",\n                      \"description\": \"A 60 minute warm-up on the roads near the test centre, then our car for the test, and a lift home.\",\n                      \"price\": \"$220\",\n                      \"tags\": [\n                        \"Manual or automatic\"\n                      ]\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"The road test fee is paid to the province, not to us. A block is not refundable once started, but can be shared with a family member.\",\n              \"link\": {\n                \"label\": \"\",\n                \"href\": \"\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"journey\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"From first lesson to road test\",\n              \"title\": \"How learning to drive goes here\",\n              \"description\": \"How many lessons you need depends on your practice between them. We tell you honestly how you are doing.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"Get your learner's licence\",\n                  \"description\": \"Your province sets the steps for a learner's licence. Bring it to your first lesson; we give you a free study sheet when you book.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"First lesson\",\n                  \"description\": \"We start in an empty car park: seat, mirrors, pedals, steering. Then a few quiet streets if you feel ready.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Quiet roads\",\n                  \"description\": \"Turns, junctions, parking and roundabouts, one new skill a lesson, at a pace that feels fine to you.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Busier roads\",\n                  \"description\": \"Hills, bridge traffic, highway on-ramps and driving in rain and in the dark, the roads you will meet on test day.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Mock road test\",\n                  \"description\": \"A full test route with no help from us, then an honest list of what to tidy up. We only book your test when we would.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Road test day\",\n                  \"description\": \"A warm-up, then your road test in our car with the instructor you know, and a lift home.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"instructors\" tone=\"muted\">\n        <TeamGrid\n          props={{\n            ...TeamGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Instructors\",\n              \"title\": \"Three instructors, one for every lesson\",\n              \"description\": \"You get the same instructor each lesson unless you ask to change.\",\n              \"members\": [\n                {\n                  \"name\": \"Kerry-Ann Doucette\",\n                  \"role\": \"Owner, automatic and manual\",\n                  \"bio\": \"Has taught driving since 2012 and started Kestrel in 2019. Good with nervous learners and with adults who have never driven.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-5.svg\",\n                    \"alt\": \"Portrait of Kerry-Ann Doucette\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-5-dark.svg\"\n                  }\n                },\n                {\n                  \"name\": \"Callum Pellerin\",\n                  \"role\": \"Manual and automatic\",\n                  \"bio\": \"Teaches clutch control without fuss and prepares students for the hills and bridge traffic. Mostly works weekday evenings.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-6.svg\",\n                    \"alt\": \"Portrait of Callum Pellerin\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-6-dark.svg\"\n                  }\n                },\n                {\n                  \"name\": \"Hana Boudreau\",\n                  \"role\": \"Automatic, teenage learners\",\n                  \"bio\": \"Works with students from age 16 and keeps parents in the picture. Teaches Saturdays and school-day afternoons.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-2.svg\",\n                    \"alt\": \"Portrait of Hana Boudreau\",\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 id=\"areas\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Cars and pickup\",\n              \"title\": \"We come to you\",\n              \"description\": \"Pickup is free inside our area. Lessons end where you want them to.\",\n              \"columns\": \"2\",\n              \"items\": [\n                {\n                  \"icon\": \"compass\",\n                  \"title\": \"Where we pick you up\",\n                  \"description\": \"Halifax peninsula, Clayton Park, Fairview and Armdale; Dartmouth, Bedford and Lower Sackville. From home, school or work.\"\n                },\n                {\n                  \"icon\": \"gauge\",\n                  \"title\": \"A manual or an automatic\",\n                  \"description\": \"A 2023 manual hatchback and two 2024 automatics, all with a second brake pedal for the instructor. You take your road test in the car you learned in.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"faq\" tone=\"muted\">\n        <FaqList\n          props={{\n            ...FaqListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Questions\",\n              \"title\": \"What learners and parents ask\",\n              \"description\": \"Anything else, ask when you book. A person replies the same day.\",\n              \"items\": [\n                {\n                  \"question\": \"Do I need a learner's licence before the first lesson?\",\n                  \"answer\": \"Yes. You need your Class 7 learner's licence, so pass the written knowledge test first. Bring the card to the first lesson.\"\n                },\n                {\n                  \"question\": \"Should I learn in a manual or an automatic?\",\n                  \"answer\": \"Most people choose an automatic, and it is quicker to learn. If you might need to drive a manual for work or abroad, learn in one; you can switch partway through.\"\n                },\n                {\n                  \"question\": \"How many lessons will I need?\",\n                  \"answer\": \"It depends on your practice outside lessons. We say after the first lesson how it is going, and again before we book your road test.\"\n                },\n                {\n                  \"question\": \"Can a parent come along?\",\n                  \"answer\": \"Yes, to the first lesson if that helps. After that we send parents a short note after each lesson on what to practise.\"\n                },\n                {\n                  \"question\": \"What if I need to cancel?\",\n                  \"answer\": \"Tell us 24 hours before and nothing is charged. Later than that we charge the full lesson, because the slot is gone.\"\n                },\n                {\n                  \"question\": \"Do you teach people who have a licence from another country?\",\n                  \"answer\": \"Yes. We help you get used to Halifax roads, winter driving and the rules here. Tell us what you have driven before.\"\n                }\n              ]\n            },\n          } as typeof FaqListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"book\">\n        <ContactBooking\n          props={{\n            ...ContactBookingSpec.defaults,\n            ...{\n              \"eyebrow\": \"Book\",\n              \"title\": \"Pick a time for your first lesson\",\n              \"description\": \"We teach Monday to Saturday, 8 am to 8 pm, and are closed on Sundays. Pick a time, tell us where to pick you up and we text to confirm.\",\n              \"options\": [\n                {\n                  \"label\": \"Phone\",\n                  \"description\": \"902-555-0174. Leave a message if we are out on a lesson.\",\n                  \"link\": {\n                    \"label\": \"Call 902-555-0174\",\n                    \"href\": \"tel:902-555-0174\"\n                  }\n                },\n                {\n                  \"label\": \"Email\",\n                  \"description\": \"lessons@kestreldriving.example. We reply the same day.\",\n                  \"link\": {\n                    \"label\": \"Send an email\",\n                    \"href\": \"mailto:lessons@kestreldriving.example\"\n                  }\n                }\n              ],\n              \"slotsTitle\": \"First lessons this week\",\n              \"slots\": [\n                \"Mon 4 pm\",\n                \"Tue 5 pm\",\n                \"Wed 10 am\",\n                \"Thu 6 pm\",\n                \"Fri 4 pm\",\n                \"Sat 9 am\"\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Mobile, for a text\",\n              \"submit\": \"Request this time\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\"\n            },\n          } as typeof ContactBookingSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Kestrel Driving School\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Instructors\",\n                  \"href\": \"#instructors\"\n                },\n                {\n                  \"label\": \"Book\",\n                  \"href\": \"#book\"\n                },\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                }\n              ],\n              \"legal\": \"© 2026 Kestrel Driving School Ltd, Halifax, Nova Scotia.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
