{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-roofer",
  "type": "registry:block",
  "title": "Roofer template",
  "description": "One page for a small roofing company (Granite Ridge Roofing, Vancouver, BC): the leak visit price first. Then repairs, gutters and moss, re-roof estimates by house size, the day on site, warranty terms, answers and a quote form with a phone field.",
  "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/pricing-packages.json",
    "https://ui.klarhimmel.com/r/steps-numbered.json",
    "https://ui.klarhimmel.com/r/features-grid.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/roofer.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/roofer.tsx",
      "content": "// Roofer 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 `tel:` link 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 your crew and finished roofs, taken in daylight, with the owners' permission.\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 form asks for a phone number, so the page can promise a call back. The live demo never submits.\n//  - Style: warm stone paper with ink text and a dark mustard accent (a lighter gold in dark mode), DM Sans throughout, square-ish corners. Prices are the owner's own estimates; change them in the price list and the re-roof cards. 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 PricingPackages, { spec as PricingPackagesSpec } from '../blocks/pricing-packages';\nimport StepsNumbered, { spec as StepsNumberedSpec } from '../blocks/steps-numbered';\nimport FeaturesGrid, { spec as FeaturesGridSpec } from '../blocks/features-grid';\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\": \"#f8f6ee\",\n    \"surface\": \"#ffffff\",\n    \"ink\": \"#25221a\",\n    \"muted\": \"#5a5546\",\n    \"line\": \"#e3dfd0\",\n    \"accent\": \"#847000\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#16150f\",\n    \"surface\": \"#201e15\",\n    \"ink\": \"#f5f2e6\",\n    \"muted\": \"#b8b29f\",\n    \"line\": \"#383526\",\n    \"accent\": \"#c8b04c\",\n    \"accentFg\": \"#1a1500\"\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 RooferTemplate() {\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\": \"Granite Ridge Roofing\",\n              \"links\": [\n                {\n                  \"label\": \"Repairs\",\n                  \"href\": \"#repairs\"\n                },\n                {\n                  \"label\": \"Re-roofs\",\n                  \"href\": \"#reroofs\"\n                },\n                {\n                  \"label\": \"On the day\",\n                  \"href\": \"#day\"\n                },\n                {\n                  \"label\": \"Warranty\",\n                  \"href\": \"#warranty\"\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\": \"Roofers in Vancouver, British Columbia\",\n              \"title\": \"Roof leaking? We can be on your roof this week\",\n              \"description\": \"A crew of four that fixes leaks, replaces asphalt shingle and metal roofs, clears gutters and removes moss. Book a leak visit for $165: we find the source, tell you the price and, if you go ahead, take the $165 off the repair.\",\n              \"primary\": {\n                \"label\": \"Book a leak visit\",\n                \"href\": \"#quote\"\n              },\n              \"secondary\": {\n                \"label\": \"See re-roof prices\",\n                \"href\": \"#reroofs\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-roof1.avif\",\n                \"alt\": \"Dark grey roof tiles in a regular pattern\"\n              },\n              \"note\": \"Call 604-555-0142 for a leak that is coming through now.\",\n              \"command\": \"\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"repairs\" tone=\"muted\">\n        <PriceList\n          props={{\n            ...PriceListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Repairs\",\n              \"title\": \"Leaks, gutters and moss, priced before we start\",\n              \"description\": \"These are our usual prices. After the visit you get the exact figure in writing, and it does not change on the day unless we find rot you could not see from above.\",\n              \"groups\": [\n                {\n                  \"title\": \"Leaks and repairs\",\n                  \"note\": \"Visit within the week, sooner for an active leak\",\n                  \"items\": [\n                    {\n                      \"name\": \"Leak visit and inspection\",\n                      \"description\": \"We go up, find the source and photograph it. The $165 comes off the repair if you go ahead.\",\n                      \"price\": \"$165\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Shingle repair\",\n                      \"description\": \"Lifted, cracked or missing shingles replaced and sealed.\",\n                      \"price\": \"from $280\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Flashing and vent repair\",\n                      \"description\": \"Chimneys, skylights and pipe vents, the usual leak spots.\",\n                      \"price\": \"from $420\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Temporary tarp\",\n                      \"description\": \"If a repair cannot be done the same day, we tarp it so you stay dry.\",\n                      \"price\": \"$220\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Gutters and moss\",\n                  \"note\": \"Done in a morning for most houses\",\n                  \"items\": [\n                    {\n                      \"name\": \"Gutter clean and flush\",\n                      \"description\": \"Cleared by hand, downspouts flushed, a photo of each run when done.\",\n                      \"price\": \"from $190\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Moss removal and treatment\",\n                      \"description\": \"Moss brushed off by hand, with no pressure washer, then treated.\",\n                      \"price\": \"from $520\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Gutter replacement\",\n                      \"description\": \"New aluminum gutters and downspouts, priced by the length.\",\n                      \"price\": \"$14 a foot\",\n                      \"tags\": []\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Prices in Canadian dollars. Tax is shown on your written quote.\",\n              \"link\": {\n                \"label\": \"\",\n                \"href\": \"\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"reroofs\">\n        <PricingPackages\n          props={{\n            ...PricingPackagesSpec.defaults,\n            ...{\n              \"eyebrow\": \"Re-roofs\",\n              \"title\": \"A new roof, by the size of your house\",\n              \"description\": \"These are our own estimates, not a quote. Asphalt shingle is about $550 to $750 a square (100 square feet) and metal about $1,300 to $1,700. You get a written quote after we visit and measure.\",\n              \"label\": \"Our estimates\",\n              \"packages\": [\n                {\n                  \"name\": \"Asphalt, small house\",\n                  \"summary\": \"Up to about 1,400 square feet of roof. Tear-off, new underlayment, shingles and flashing.\",\n                  \"duration\": \"2 to 3 days\",\n                  \"priceState\": \"shown\",\n                  \"pricePrefix\": \"\",\n                  \"price\": \"$8,000 to $11,000\",\n                  \"badge\": \"\",\n                  \"cta\": {\n                    \"label\": \"Ask for a quote\",\n                    \"href\": \"#quote\"\n                  }\n                },\n                {\n                  \"name\": \"Asphalt, average house\",\n                  \"summary\": \"About 2,500 square feet of roof. Same job on more slopes, with every hand on the roof.\",\n                  \"duration\": \"3 to 4 days\",\n                  \"priceState\": \"shown\",\n                  \"pricePrefix\": \"\",\n                  \"price\": \"$13,500 to $18,500\",\n                  \"badge\": \"\",\n                  \"cta\": {\n                    \"label\": \"Ask for a quote\",\n                    \"href\": \"#quote\"\n                  }\n                },\n                {\n                  \"name\": \"Asphalt, large house\",\n                  \"summary\": \"About 3,500 square feet or a complex roof with dormers and valleys.\",\n                  \"duration\": \"4 to 6 days\",\n                  \"priceState\": \"shown\",\n                  \"pricePrefix\": \"\",\n                  \"price\": \"$19,000 to $26,000\",\n                  \"badge\": \"\",\n                  \"cta\": {\n                    \"label\": \"Ask for a quote\",\n                    \"href\": \"#quote\"\n                  }\n                },\n                {\n                  \"name\": \"Metal, average house\",\n                  \"summary\": \"Standing seam steel on about 2,500 square feet, with new underlayment.\",\n                  \"duration\": \"5 to 7 days\",\n                  \"priceState\": \"shown\",\n                  \"pricePrefix\": \"\",\n                  \"price\": \"$32,000 to $43,000\",\n                  \"badge\": \"\",\n                  \"cta\": {\n                    \"label\": \"Ask for a quote\",\n                    \"href\": \"#quote\"\n                  }\n                }\n              ],\n              \"askLabel\": \"Ask\",\n              \"durationLabel\": \"Takes\",\n              \"keep\": {\n                \"label\": \"\",\n                \"text\": \"\"\n              }\n            },\n          } as typeof PricingPackagesSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"day\" tone=\"muted\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"On the day\",\n              \"title\": \"What the crew does while you are at home or at work\",\n              \"description\": \"We start at 7:30 am, tell you when we expect to finish, and leave the property the way we found it.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"Cover and protect\",\n                  \"description\": \"Tarps over your plants, decks and cars. Drop sheets along the walls where we load.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Tear off and dry in\",\n                  \"description\": \"Old roofing comes off in sections, so no part of the house is left open overnight. A tarp covers anything unfinished.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Lay the new roof\",\n                  \"description\": \"Underlayment, flashing and shingles or metal, checked against the written quote before we move on.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Clean up\",\n                  \"description\": \"Debris hauled away, then a magnet sweep of the lawn, driveway and beds for nails. We walk the job with you.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"warranty\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Warranty and cover\",\n              \"title\": \"What we stand behind, in plain terms\",\n              \"description\": \"These are our own terms as the owners. Read them before you sign, and ask us if anything is unclear.\",\n              \"columns\": \"2\",\n              \"items\": [\n                {\n                  \"icon\": \"shield\",\n                  \"title\": \"10 years on re-roof workmanship\",\n                  \"description\": \"If a leak comes from how we installed it, we come back and fix it at no charge for 10 years.\"\n                },\n                {\n                  \"icon\": \"clock\",\n                  \"title\": \"2 years on repairs\",\n                  \"description\": \"A repair we did that fails within 2 years is redone for free. New leaks elsewhere are a fresh visit.\"\n                },\n                {\n                  \"icon\": \"users\",\n                  \"title\": \"Insured, with proof on request\",\n                  \"description\": \"We carry liability insurance. Ask and we send the certificate before the job starts.\"\n                },\n                {\n                  \"icon\": \"check\",\n                  \"title\": \"Shingle and metal warranties\",\n                  \"description\": \"The maker's product warranty is separate from ours. We give you the paperwork and register it for you.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"faq\">\n        <FaqList\n          props={{\n            ...FaqListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Questions\",\n              \"title\": \"Quick answers before you call\",\n              \"description\": \"Anything else, put it in the message when you ask for a call back.\",\n              \"items\": [\n                {\n                  \"question\": \"How quickly can you come for a leak?\",\n                  \"answer\": \"A leak that is coming through now: call us and we usually get there the same or next day. Other leaks get a visit within the week.\"\n                },\n                {\n                  \"question\": \"Do I need a new roof or a repair?\",\n                  \"answer\": \"If a repair will give you several more years, we say so and price it. A re-roof is the answer only when the roof is past repair.\"\n                },\n                {\n                  \"question\": \"Can you work in the rain?\",\n                  \"answer\": \"We do repairs and tarping in light rain. We do not lay shingles or metal in the wet, and we tell you the day before if the weather moves the job.\"\n                },\n                {\n                  \"question\": \"How do you price a re-roof?\",\n                  \"answer\": \"We visit, measure the roof and check the decking, then send a written quote. The ranges above are our own estimates, not a price.\"\n                },\n                {\n                  \"question\": \"How do I pay?\",\n                  \"answer\": \"Repairs are paid when the work is done. Re-roofs are paid in three parts: a deposit, a payment when the old roof is off, and the balance at the end.\"\n                }\n              ]\n            },\n          } as typeof FaqListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"quote\">\n        <ContactForm\n          props={{\n            ...ContactFormSpec.defaults,\n            ...{\n              \"eyebrow\": \"Free quote\",\n              \"title\": \"Tell us about your roof, we call you back\",\n              \"description\": \"Say what is wrong or what you want, the type of house and the street. We call the same working day to book a visit.\",\n              \"details\": [\n                {\n                  \"label\": \"Call\",\n                  \"value\": \"604-555-0142\"\n                },\n                {\n                  \"label\": \"Areas\",\n                  \"value\": \"Vancouver, Burnaby, North Vancouver\"\n                },\n                {\n                  \"label\": \"Yard\",\n                  \"value\": \"Venables Street, East Vancouver\"\n                },\n                {\n                  \"label\": \"Hours\",\n                  \"value\": \"Monday to Saturday, 7:30 am to 5:30 pm\"\n                }\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Phone for the call back\",\n              \"messageLabel\": \"Roof problem and street\",\n              \"submit\": \"Request a call back\",\n              \"consent\": \"We use your details to call you about this roof and nothing else.\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\",\n              \"messages\": {\n                \"sent\": \"Thank you. We have your details and will call you the same working day.\",\n                \"error\": \"Something went wrong. Please try again, or call 604-555-0142.\"\n              }\n            },\n          } as typeof ContactFormSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Granite Ridge Roofing\",\n              \"links\": [\n                {\n                  \"label\": \"Repairs\",\n                  \"href\": \"#repairs\"\n                },\n                {\n                  \"label\": \"Re-roofs\",\n                  \"href\": \"#reroofs\"\n                },\n                {\n                  \"label\": \"Get a quote\",\n                  \"href\": \"#quote\"\n                },\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                }\n              ],\n              \"legal\": \"© 2026 Granite Ridge Roofing Ltd, Vancouver, British Columbia.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
