{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-electrician",
  "type": "registry:block",
  "title": "Electrician template",
  "description": "One page for a domestic electrician (Tillotson Electrical, Leeds). The jobs covered and fixed prices come first, then the day rate, registration, landlord safety reports, short answers and a quote form.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/navbar-simple.json",
    "https://ui.klarhimmel.com/r/hero-split.json",
    "https://ui.klarhimmel.com/r/features-grid.json",
    "https://ui.klarhimmel.com/r/price-list.json",
    "https://ui.klarhimmel.com/r/cta-split.json",
    "https://ui.klarhimmel.com/r/faq-list.json",
    "https://ui.klarhimmel.com/r/contact-form.json",
    "https://ui.klarhimmel.com/r/footer-simple.json",
    "https://ui.klarhimmel.com/r/theme.json"
  ],
  "files": [
    {
      "path": "templates/electrician.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/electrician.tsx",
      "content": "// Electrician 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: every `media.src` is empty; each alt names the photo that belongs there. Use your own photos of a finished consumer unit, taken before you close the cover, and of you or your apprentice at work, with the customer's permission.\n//  - Prices and registration: the price list is the one place a price changes. Write only what is true for you: name your real registration scheme and number in the footer or on a quote when you have them, and keep the jobs listed to the ones you do.\n//  - Forms: set `action` on the quote form (it is `/replace-with-your-endpoint` now). With `method: 'post'` it submits natively, with no JavaScript. The live demo never submits.\n//  - Style: cool cyan-blue accent on a pale grey-blue page, DM Sans throughout, 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 FeaturesGrid, { spec as FeaturesGridSpec } from '../blocks/features-grid';\nimport PriceList, { spec as PriceListSpec } from '../blocks/price-list';\nimport CtaSplit, { spec as CtaSplitSpec } from '../blocks/cta-split';\nimport FaqList, { spec as FaqListSpec } from '../blocks/faq-list';\nimport ContactForm, { spec as ContactFormSpec } from '../blocks/contact-form';\nimport FooterSimple, { spec as FooterSimpleSpec } from '../blocks/footer-simple';\n\nconst style: Style = {\n  \"preset\": \"Mono\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#f4f8f9\",\n    \"surface\": \"#ffffff\",\n    \"ink\": \"#10242c\",\n    \"muted\": \"#4a626c\",\n    \"line\": \"#d6e3e8\",\n    \"accent\": \"#207c86\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#0b1a20\",\n    \"surface\": \"#12262e\",\n    \"ink\": \"#e9f4f8\",\n    \"muted\": \"#a2bcc6\",\n    \"line\": \"#25414c\",\n    \"accent\": \"#5fc4e4\",\n    \"accentFg\": \"#04202a\"\n  },\n  \"fonts\": {\n    \"display\": \"DM Sans\",\n    \"sans\": \"DM Sans\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 8,\n  \"size\": 16\n};\n\nexport default function ElectricianTemplate() {\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\": \"Tillotson Electrical\",\n              \"links\": [\n                {\n                  \"label\": \"Jobs\",\n                  \"href\": \"#jobs\"\n                },\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Landlords\",\n                  \"href\": \"#landlords\"\n                },\n                {\n                  \"label\": \"Questions\",\n                  \"href\": \"#faq\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Get a quote\",\n                \"href\": \"#quote\"\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\": \"Domestic electrician in Leeds\",\n              \"title\": \"Rewires, fuse boards and sockets, at a price you know first\",\n              \"description\": \"One electrician and an apprentice, working in homes across Leeds. You get a written price before we start, and a test certificate for the work when we finish.\",\n              \"primary\": {\n                \"label\": \"Get a quote\",\n                \"href\": \"#quote\"\n              },\n              \"secondary\": {\n                \"label\": \"See prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-elec1.avif\",\n                \"alt\": \"A row of white circuit breakers\"\n              },\n              \"note\": \"Mon to Fri 8am to 5pm. Emergencies: 0113 496 0142.\",\n              \"command\": \"\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"jobs\" tone=\"muted\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"The jobs we do\",\n              \"title\": \"Work for homeowners, tenants and landlords\",\n              \"description\": \"If it is inside a house or flat and runs on mains, we can probably do it. If we cannot, we say so and point you to someone who can.\",\n              \"columns\": \"3\",\n              \"items\": [\n                {\n                  \"icon\": \"layers\",\n                  \"title\": \"Full and part rewires\",\n                  \"description\": \"Old wiring replaced room by room or all at once. We lift floorboards and make good, and plaster is left for your decorator.\"\n                },\n                {\n                  \"icon\": \"box\",\n                  \"title\": \"Consumer units\",\n                  \"description\": \"Old fuse boards swapped for a new consumer unit with RCD protection, tested and certified.\"\n                },\n                {\n                  \"icon\": \"zap\",\n                  \"title\": \"Sockets and lights\",\n                  \"description\": \"New sockets, spotlights, outside lights and extra circuits for a kitchen, loft or garden room.\"\n                },\n                {\n                  \"icon\": \"gauge\",\n                  \"title\": \"EV charger fitting\",\n                  \"description\": \"A home charge point fitted on its own circuit. We check your supply and say if it needs more.\"\n                },\n                {\n                  \"icon\": \"check\",\n                  \"title\": \"Safety reports\",\n                  \"description\": \"An electrical installation condition report (EICR) for landlords, buyers and sellers, with a clear list of anything to fix.\"\n                },\n                {\n                  \"icon\": \"search\",\n                  \"title\": \"Fault finding\",\n                  \"description\": \"Tripping circuits, dead sockets, flickering lights or a burning smell. If you smell burning, switch the circuit off at the consumer unit and call us. We find the cause and give you a price to fix it.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"prices\">\n        <PriceList\n          props={{\n            ...PriceListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Prices\",\n              \"title\": \"Fixed prices for the common jobs\",\n              \"description\": \"These cover labour, materials and the test certificate where one is needed. Anything bigger gets a written quote after a free visit.\",\n              \"groups\": [\n                {\n                  \"title\": \"Common jobs\",\n                  \"note\": \"One electrician, certificate included where needed\",\n                  \"items\": [\n                    {\n                      \"name\": \"Consumer unit change\",\n                      \"description\": \"New unit up to 10 ways with RCD protection, fully tested.\",\n                      \"price\": \"from £550\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"EV charger fitting\",\n                      \"description\": \"Charger on its own circuit, cable run up to 10 metres. The unit itself is extra.\",\n                      \"price\": \"from £450\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Extra double socket\",\n                      \"description\": \"On an existing circuit, wiring chased into the wall.\",\n                      \"price\": \"£95\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Light fitting swap\",\n                      \"description\": \"Replace one fitting with your own. Spotlights are priced per light.\",\n                      \"price\": \"£40\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Fault finding\",\n                      \"description\": \"Call-out and the first hour. After that it is charged at the half hour.\",\n                      \"price\": \"£80\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Safety reports (EICR)\",\n                  \"note\": \"Report within two days of the visit\",\n                  \"items\": [\n                    {\n                      \"name\": \"Flat or one bedroom home\",\n                      \"description\": \"Up to 8 circuits tested.\",\n                      \"price\": \"£150\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Two or three bedroom house\",\n                      \"description\": \"Up to 12 circuits tested.\",\n                      \"price\": \"£200\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Four bedroom house\",\n                      \"description\": \"Up to 16 circuits tested.\",\n                      \"price\": \"£260\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Larger work and day rate\",\n                  \"note\": \"Quoted in writing after a visit\",\n                  \"items\": [\n                    {\n                      \"name\": \"Rewire, three bedroom house\",\n                      \"description\": \"About a week, with the house kept liveable where we can.\",\n                      \"price\": \"from £4,200\",\n                      \"tags\": [\n                        \"Free visit\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Day rate, one electrician\",\n                      \"description\": \"For jobs that are hard to price. Materials at cost.\",\n                      \"price\": \"£340\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Day rate, with apprentice\",\n                      \"description\": \"Two on site for a longer day's work.\",\n                      \"price\": \"£420\",\n                      \"tags\": []\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Prices in pounds sterling, correct for 2026. We are not VAT registered, so the price is the price.\",\n              \"link\": {\n                \"label\": \"Get a quote\",\n                \"href\": \"#quote\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"registered\" tone=\"muted\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Registered and insured\",\n              \"title\": \"What you can expect when the work is done\",\n              \"description\": \"\",\n              \"columns\": \"3\",\n              \"items\": [\n                {\n                  \"icon\": \"shield\",\n                  \"title\": \"Registered with a competent person scheme\",\n                  \"description\": \"We are registered with a competent person scheme, so notifiable work such as a consumer unit or a new circuit is reported to building control for you.\"\n                },\n                {\n                  \"icon\": \"book\",\n                  \"title\": \"Paperwork you keep\",\n                  \"description\": \"A test certificate for the work, written in plain words. Keep it for your insurer, a buyer or your landlord.\"\n                },\n                {\n                  \"icon\": \"users\",\n                  \"title\": \"Insured and tidy\",\n                  \"description\": \"We carry public liability insurance, use dust sheets, and take our rubbish away.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"landlords\">\n        <CtaSplit\n          props={{\n            ...CtaSplitSpec.defaults,\n            ...{\n              \"title\": \"Landlords: an EICR you can hand to the council\",\n              \"description\": \"If you let a home in England, you need an electrical report every five years, and each new tenant gets a copy. We test the whole installation, rank any faults by urgency and quote the fixes. Several flats are priced together.\",\n              \"primary\": {\n                \"label\": \"Book a safety report\",\n                \"href\": \"#quote\"\n              },\n              \"secondary\": {\n                \"label\": \"See report prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-elec2.avif\",\n                \"alt\": \"Wires connected in a switch box\"\n              }\n            },\n          } as typeof CtaSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"faq\">\n        <FaqList\n          props={{\n            ...FaqListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Questions\",\n              \"title\": \"Short answers before you call\",\n              \"description\": \"Not here? Ask on the form and a person replies, usually the same day.\",\n              \"items\": [\n                {\n                  \"question\": \"How do I book?\",\n                  \"answer\": \"Send the form below or phone. We reply the same working day, agree a date, and for bigger jobs visit first and send a written price.\"\n                },\n                {\n                  \"question\": \"How soon can you start?\",\n                  \"answer\": \"Small jobs are usually within a fortnight. Rewires are booked a few weeks ahead. If a circuit is dead or tripping, call and we fit you in sooner.\"\n                },\n                {\n                  \"question\": \"Will you leave a mess?\",\n                  \"answer\": \"No. Floorboards go back, holes are filled to a rough finish and the dust sheets come up with us. Painting and plastering are for your decorator.\"\n                },\n                {\n                  \"question\": \"What do I need to do before an EICR?\",\n                  \"answer\": \"Make sure we can reach the consumer unit and each room. The power goes off for a short time during the test, so save your work.\"\n                },\n                {\n                  \"question\": \"Do you give a guarantee?\",\n                  \"answer\": \"We put right any fault in our own work at no charge. Ask us for the terms when we quote, and we write them on the quote.\"\n                },\n                {\n                  \"question\": \"How do I pay?\",\n                  \"answer\": \"By bank transfer or card when the job is done. Rewires are paid in stages, agreed in the quote.\"\n                }\n              ]\n            },\n          } as typeof FaqListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"quote\" tone=\"muted\">\n        <ContactForm\n          props={{\n            ...ContactFormSpec.defaults,\n            ...{\n              \"eyebrow\": \"Get a quote\",\n              \"title\": \"Tell us the job, get a price\",\n              \"description\": \"Write what you want done and the first half of your postcode. We reply the same working day with a price or a time to visit.\",\n              \"details\": [\n                {\n                  \"label\": \"Phone\",\n                  \"value\": \"0113 496 0142\"\n                },\n                {\n                  \"label\": \"Email\",\n                  \"value\": \"jobs@tillotson-electrical.example\"\n                },\n                {\n                  \"label\": \"Area\",\n                  \"value\": \"Leeds and ten miles around\"\n                },\n                {\n                  \"label\": \"Hours\",\n                  \"value\": \"Mon to Fri 8am to 5pm\"\n                }\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Phone (we may call back)\",\n              \"messageLabel\": \"The job and your postcode\",\n              \"submit\": \"Send my request\",\n              \"consent\": \"We use your details to reply about this job and nothing else.\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\",\n              \"messages\": {\n                \"sent\": \"Thank you. We have your request and will reply the same working day.\",\n                \"error\": \"Something went wrong. Please try again, or phone 0113 496 0142.\"\n              }\n            },\n          } as typeof ContactFormSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Tillotson Electrical\",\n              \"links\": [\n                {\n                  \"label\": \"Jobs\",\n                  \"href\": \"#jobs\"\n                },\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Landlords\",\n                  \"href\": \"#landlords\"\n                },\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                }\n              ],\n              \"legal\": \"© 2026 Tillotson Electrical, Leeds. Registered with a competent person scheme. Insured.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
