{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-local-service",
  "type": "registry:block",
  "title": "Local service template",
  "description": "A page for a local trade (Lindgrens Rör, a plumber): phone and response time first, services, how a job runs, neighbours' reviews, price and warranty answers, and a booking panel with time slots. Sturdy navy and orange.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/navbar-utility.json",
    "https://ui.klarhimmel.com/r/hero-centered.json",
    "https://ui.klarhimmel.com/r/features-grid.json",
    "https://ui.klarhimmel.com/r/steps-horizontal.json",
    "https://ui.klarhimmel.com/r/testimonials-carousel.json",
    "https://ui.klarhimmel.com/r/faq-columns.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/local-service.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/local-service.tsx",
      "content": "// Local service 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/local-service/). They are artwork, not photographs: replace the `media.src` values with your own photos.\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: 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 NavbarUtility, { spec as NavbarUtilitySpec } from '../blocks/navbar-utility';\nimport HeroCentered, { spec as HeroCenteredSpec } from '../blocks/hero-centered';\nimport FeaturesGrid, { spec as FeaturesGridSpec } from '../blocks/features-grid';\nimport StepsHorizontal, { spec as StepsHorizontalSpec } from '../blocks/steps-horizontal';\nimport TestimonialsCarousel, { spec as TestimonialsCarouselSpec } from '../blocks/testimonials-carousel';\nimport FaqColumns, { spec as FaqColumnsSpec } from '../blocks/faq-columns';\nimport ContactBooking, { spec as ContactBookingSpec } from '../blocks/contact-booking';\nimport FooterSimple, { spec as FooterSimpleSpec } from '../blocks/footer-simple';\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 LocalServiceTemplate() {\n  return (\n    <Theme theme=\"brand\" style={style} mode=\"system\">\n      <BlockSurface id=\"top\">\n        <NavbarUtility\n          props={{\n            ...NavbarUtilitySpec.defaults,\n            ...{\n              \"brand\": \"Lindgrens Rör\",\n              \"note\": \"Open 24 hours, every day\",\n              \"utility\": [\n                {\n                  \"label\": \"031-00 00 00\",\n                  \"href\": \"tel:03100000\"\n                },\n                {\n                  \"label\": \"Text a photo\",\n                  \"href\": \"sms:0700000000\"\n                }\n              ],\n              \"links\": [\n                {\n                  \"label\": \"Services\",\n                  \"href\": \"#services\"\n                },\n                {\n                  \"label\": \"How it works\",\n                  \"href\": \"#how\"\n                },\n                {\n                  \"label\": \"Reviews\",\n                  \"href\": \"#reviews\"\n                },\n                {\n                  \"label\": \"Questions\",\n                  \"href\": \"#faq\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Book a visit\",\n                \"href\": \"#book\"\n              }\n            },\n          } as typeof NavbarUtilitySpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"hero\">\n        <HeroCentered\n          props={{\n            ...HeroCenteredSpec.defaults,\n            ...{\n              \"eyebrow\": \"Plumbers in Göteborg, 24 hours\",\n              \"title\": \"A plumber at your door within two hours\",\n              \"description\": \"Leaks, blocked drains and broken boilers, fixed by the same two people every time. We tell you the price before we start and the warranty after we finish.\",\n              \"primary\": {\n                \"label\": \"Book a visit\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"Call 031-00 00 00\",\n                \"href\": \"tel:03100000\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-pipe1.avif\",\n                \"alt\": \"Copper pipes on a wall\"\n              },\n              \"note\": \"Fixed price. Two-year warranty. Rot-deduction handled by us.\"\n            },\n          } as typeof HeroCenteredSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"services\" tone=\"muted\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"columns\": \"3\",\n              \"eyebrow\": \"What we do\",\n              \"title\": \"The jobs we do every week\",\n              \"description\": \"Most visits are done in one go. If we need a part, we tell you the day it arrives.\",\n              \"items\": [\n                {\n                  \"icon\": \"zap\",\n                  \"title\": \"Emergency leaks\",\n                  \"description\": \"Water off, damage stopped, repair the same day.\"\n                },\n                {\n                  \"icon\": \"settings\",\n                  \"title\": \"Drains and pipes\",\n                  \"description\": \"Blocked sinks, showers and main drains, cleared and filmed so you can see.\"\n                },\n                {\n                  \"icon\": \"gauge\",\n                  \"title\": \"Boilers and heating\",\n                  \"description\": \"Service, repair and replacement for most makes.\"\n                },\n                {\n                  \"icon\": \"box\",\n                  \"title\": \"Bathrooms\",\n                  \"description\": \"From a new tap to a full renovation, one contact throughout.\"\n                },\n                {\n                  \"icon\": \"shield\",\n                  \"title\": \"Inspections\",\n                  \"description\": \"A written report before you buy or sell a house.\"\n                },\n                {\n                  \"icon\": \"check\",\n                  \"title\": \"Warranty work\",\n                  \"description\": \"If something we did fails, we come back free, no questions.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"how\">\n        <StepsHorizontal\n          props={{\n            ...StepsHorizontalSpec.defaults,\n            ...{\n              \"eyebrow\": \"How a job runs\",\n              \"title\": \"From phone call to finished\",\n              \"description\": \"You always know what happens next.\",\n              \"steps\": [\n                {\n                  \"label\": \"Call\",\n                  \"title\": \"Tell us the problem\",\n                  \"description\": \"A photo by text helps. We say when we can come.\"\n                },\n                {\n                  \"label\": \"Visit\",\n                  \"title\": \"We look and quote\",\n                  \"description\": \"A fixed price in writing before any work starts.\"\n                },\n                {\n                  \"label\": \"Fix\",\n                  \"title\": \"We do the work\",\n                  \"description\": \"Same visit when we can, and we clean up after ourselves.\"\n                },\n                {\n                  \"label\": \"After\",\n                  \"title\": \"Invoice and warranty\",\n                  \"description\": \"Two years on everything. Rot-deduction is applied for you.\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Book a visit\",\n                \"href\": \"#book\"\n              }\n            },\n          } as typeof StepsHorizontalSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"reviews\" tone=\"muted\">\n        <TestimonialsCarousel\n          props={{\n            ...TestimonialsCarouselSpec.defaults,\n            ...{\n              \"eyebrow\": \"Reviews\",\n              \"title\": \"What the neighbours say\",\n              \"items\": [\n                {\n                  \"quote\": \"Called at seven in the morning with water coming through the ceiling. Johan was here at nine and the leak was fixed by ten.\",\n                  \"name\": \"Eva Nordin\",\n                  \"role\": \"Majorna\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-2.svg\",\n                    \"alt\": \"Portrait of Eva Nordin\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-2-dark.svg\"\n                  }\n                },\n                {\n                  \"quote\": \"Gave a price over the phone and it was exactly the price on the invoice. I did not expect that.\",\n                  \"name\": \"Per Alm\",\n                  \"role\": \"Johanneberg\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-5.svg\",\n                    \"alt\": \"Portrait of Per Alm\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-5-dark.svg\"\n                  }\n                },\n                {\n                  \"quote\": \"They filmed the drain so I could see what the problem was. I have never had that from a plumber.\",\n                  \"name\": \"Hanna Berg\",\n                  \"role\": \"Linné\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-6.svg\",\n                    \"alt\": \"Portrait of Hanna Berg\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-6-dark.svg\"\n                  }\n                },\n                {\n                  \"quote\": \"Replaced our boiler in a day and left the floor cleaner than they found it.\",\n                  \"name\": \"Olle Sjö\",\n                  \"role\": \"Askim\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-3.svg\",\n                    \"alt\": \"Portrait of Olle Sjö\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-3-dark.svg\"\n                  }\n                }\n              ]\n            },\n          } as typeof TestimonialsCarouselSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"faq\">\n        <FaqColumns\n          props={{\n            ...FaqColumnsSpec.defaults,\n            ...{\n              \"eyebrow\": \"Questions\",\n              \"title\": \"Price, warranty and the small print\",\n              \"description\": \"If yours is not here, call. We answer the phone.\",\n              \"items\": [\n                {\n                  \"question\": \"How much does a visit cost?\",\n                  \"answer\": \"A call-out is 495 kr, which is taken off the price if you go ahead with the work.\"\n                },\n                {\n                  \"question\": \"Do you work evenings and weekends?\",\n                  \"answer\": \"Yes. Emergency visits are available all day, every day, at 1.5 times the normal hourly rate.\"\n                },\n                {\n                  \"question\": \"Is the price really fixed?\",\n                  \"answer\": \"Yes. If we find more than we quoted, we stop and ask you before we continue.\"\n                },\n                {\n                  \"question\": \"What is covered by the warranty?\",\n                  \"answer\": \"Our work and the parts we supply, for two years from the day of the invoice.\"\n                },\n                {\n                  \"question\": \"Do you handle rot-deduction?\",\n                  \"answer\": \"We apply it for you on the invoice, so you pay the reduced amount straight away.\"\n                },\n                {\n                  \"question\": \"Which areas do you cover?\",\n                  \"answer\": \"All of Göteborg and Mölndal, and most of Partille and Kungsbacka.\"\n                }\n              ]\n            },\n          } as typeof FaqColumnsSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"book\" tone=\"muted\">\n        <ContactBooking\n          props={{\n            ...ContactBookingSpec.defaults,\n            ...{\n              \"eyebrow\": \"Book a visit\",\n              \"title\": \"Pick a time and we will be there\",\n              \"description\": \"Choose a slot, and we confirm by text within ten minutes.\",\n              \"options\": [\n                {\n                  \"label\": \"Call us\",\n                  \"description\": \"Fastest for emergencies, every day 06:00 to 22:00.\",\n                  \"link\": {\n                    \"label\": \"031-00 00 00\",\n                    \"href\": \"tel:03100000\"\n                  }\n                },\n                {\n                  \"label\": \"Send a photo\",\n                  \"description\": \"Text a picture of the problem and we reply with a time and a rough price.\",\n                  \"link\": {\n                    \"label\": \"Text 070-000 00 00\",\n                    \"href\": \"sms:0700000000\"\n                  }\n                }\n              ],\n              \"slotsTitle\": \"Available this week\",\n              \"slots\": [\n                \"Today 16:00\",\n                \"Tomorrow 08:00\",\n                \"Tomorrow 13:00\",\n                \"Thursday 09:00\",\n                \"Thursday 15:00\",\n                \"Friday 10:00\"\n              ],\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\": \"Lindgrens Rör\",\n              \"links\": [\n                {\n                  \"label\": \"Services\",\n                  \"href\": \"#services\"\n                },\n                {\n                  \"label\": \"Reviews\",\n                  \"href\": \"#reviews\"\n                },\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                },\n                {\n                  \"label\": \"Book\",\n                  \"href\": \"#book\"\n                }\n              ],\n              \"legal\": \"© 2026 Lindgrens Rör AB. Org. nr 000000-0000.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
