{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-car-repair",
  "type": "registry:block",
  "title": "Car repair garage template",
  "description": "One page for a family-run car repair garage (Brennan Family Auto, Pittsburgh). Book a service or state inspection first, then fixed prices for common jobs, what happens at drop-off, the courtesy car and waiting room, and the hours and address.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/navbar-simple.json",
    "https://ui.klarhimmel.com/r/hero-split.json",
    "https://ui.klarhimmel.com/r/contact-booking.json",
    "https://ui.klarhimmel.com/r/price-list.json",
    "https://ui.klarhimmel.com/r/steps-numbered.json",
    "https://ui.klarhimmel.com/r/features-grid.json",
    "https://ui.klarhimmel.com/r/contact-map.json",
    "https://ui.klarhimmel.com/r/footer-simple.json",
    "https://ui.klarhimmel.com/r/theme.json"
  ],
  "files": [
    {
      "path": "templates/car-repair.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/car-repair.tsx",
      "content": "// Car repair garage 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 booking form and pages.\n//  - Images: every `media.src` is empty; each alt names the photo that belongs there. Use your own photos: the front of the garage, a car on the lift, the waiting room.\n//  - Booking and prices: the time slots are static examples; set `action` on the booking form to your own endpoint. The price list is one place to change a price, and the fine print says what the prices include.\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.\n//  - Style: workshop grey with a graphite accent (light grey in dark mode), Inter throughout, small square corners. 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 ContactBooking, { spec as ContactBookingSpec } from '../blocks/contact-booking';\nimport PriceList, { spec as PriceListSpec } from '../blocks/price-list';\nimport StepsNumbered, { spec as StepsNumberedSpec } from '../blocks/steps-numbered';\nimport FeaturesGrid, { spec as FeaturesGridSpec } from '../blocks/features-grid';\nimport ContactMap, { spec as ContactMapSpec } from '../blocks/contact-map';\nimport FooterSimple, { spec as FooterSimpleSpec } from '../blocks/footer-simple';\n\nconst style: Style = {\n  \"preset\": \"Mono\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#eceef0\",\n    \"surface\": \"#ffffff\",\n    \"ink\": \"#14191f\",\n    \"muted\": \"#4a5560\",\n    \"line\": \"#d0d6dc\",\n    \"accent\": \"#2b2f36\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#101418\",\n    \"surface\": \"#181e25\",\n    \"ink\": \"#eef1f4\",\n    \"muted\": \"#a5afba\",\n    \"line\": \"#2b343e\",\n    \"accent\": \"#e6e8eb\",\n    \"accentFg\": \"#16181c\"\n  },\n  \"fonts\": {\n    \"display\": \"Inter\",\n    \"sans\": \"Inter\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 6,\n  \"size\": 16\n};\n\nexport default function CarRepairTemplate() {\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\": \"Brennan Family Auto\",\n              \"links\": [\n                {\n                  \"label\": \"Book\",\n                  \"href\": \"#book\"\n                },\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Drop-off\",\n                  \"href\": \"#dropoff\"\n                },\n                {\n                  \"label\": \"Visit\",\n                  \"href\": \"#visit\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Book a service\",\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\": \"Car repair and servicing, Lawrenceville, Pittsburgh\",\n              \"title\": \"Honest car repair, with the price agreed before we start\",\n              \"description\": \"Three mechanics, one family, the same workshop since 1998. Book a service or a state inspection online, and we call you before any work you did not ask for.\",\n              \"primary\": {\n                \"label\": \"Book a service\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"See fixed prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-car1.avif\",\n                \"alt\": \"A mechanic at work in a garage\"\n              },\n              \"note\": \"Most services are done the same day.\",\n              \"command\": \"\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"book\" tone=\"muted\">\n        <ContactBooking\n          props={{\n            ...ContactBookingSpec.defaults,\n            ...{\n              \"eyebrow\": \"Book\",\n              \"title\": \"Pick a drop-off time\",\n              \"description\": \"Choose a morning slot and we text the same day to confirm and ask about the car. Not sure what it needs? Book a diagnostic and we will find out.\",\n              \"options\": [\n                {\n                  \"label\": \"Call the workshop\",\n                  \"description\": \"Monday to Friday 7:30 to 5:30, Saturday 8 to 12. Ask for Mike or Dee.\",\n                  \"link\": {\n                    \"label\": \"(412) 555-0163\",\n                    \"href\": \"tel:4125550163\"\n                  }\n                },\n                {\n                  \"label\": \"Email\",\n                  \"description\": \"We reply within one working day.\",\n                  \"link\": {\n                    \"label\": \"Send an email\",\n                    \"href\": \"mailto:service@brennanauto.example\"\n                  }\n                }\n              ],\n              \"slotsTitle\": \"Next drop-off times\",\n              \"slots\": [\n                \"Tue 7:30 am\",\n                \"Tue 8:30 am\",\n                \"Wed 7:30 am\",\n                \"Thu 8:00 am\",\n                \"Fri 7:30 am\",\n                \"Sat 8:00 am\"\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"submit\": \"Request this time\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\",\n              \"phoneLabel\": \"Mobile, for a text\"\n            },\n          } as typeof ContactBookingSpec.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 jobs most cars need\",\n              \"description\": \"These are the prices for a typical car. If yours needs more, such as a European brand or a large truck, we say so when you book, not at the counter.\",\n              \"groups\": [\n                {\n                  \"title\": \"Servicing\",\n                  \"note\": \"Parts, oil and labor included\",\n                  \"items\": [\n                    {\n                      \"name\": \"Oil and filter service\",\n                      \"description\": \"Up to 5 quarts of synthetic oil, new filter, fluids topped up and a 20-point check.\",\n                      \"price\": \"$89\",\n                      \"tags\": [\n                        \"45 minutes\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Full service\",\n                      \"description\": \"Oil service plus air and cabin filters, spark plugs where due and a brake and tire check.\",\n                      \"price\": \"$229\",\n                      \"tags\": [\n                        \"Same day\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Pennsylvania state inspection\",\n                      \"description\": \"Safety check, and emissions test where your county needs one.\",\n                      \"price\": \"$60\",\n                      \"tags\": [\n                        \"30 minutes\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Brakes and tires\",\n                  \"note\": \"Per axle for brakes, per tire for tires\",\n                  \"items\": [\n                    {\n                      \"name\": \"Front or rear brake pads\",\n                      \"description\": \"New pads, discs resurfaced or replaced if worn below the limit. Discs are extra if replaced.\",\n                      \"price\": \"from $189\",\n                      \"tags\": [\n                        \"Same day\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Brake fluid change\",\n                      \"description\": \"Old fluid out, new fluid in, brakes bled.\",\n                      \"price\": \"$95\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"New tire, fitted and balanced\",\n                      \"description\": \"Mid-range tire from our shelf. Ask for budget or premium.\",\n                      \"price\": \"from $118\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Wheel alignment\",\n                      \"description\": \"Four wheels measured and set, with a printout.\",\n                      \"price\": \"$110\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Finding the fault\",\n                  \"note\": \"Counts against the repair if you go ahead\",\n                  \"items\": [\n                    {\n                      \"name\": \"Warning light diagnostic\",\n                      \"description\": \"We read the codes, then test the part, so you do not pay for a guess.\",\n                      \"price\": \"$95\",\n                      \"tags\": [\n                        \"1 hour\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Battery test and replacement\",\n                      \"description\": \"Test is free. A new battery is fitted for the price on the label plus $20.\",\n                      \"price\": \"Free test\",\n                      \"tags\": []\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Tax not included. Repairs carry a 12 month, 12,000 mile warranty. Anything beyond the list, we quote first and wait for your yes.\",\n              \"link\": {\n                \"label\": \"Book a service\",\n                \"href\": \"#book\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"dropoff\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"Drop-off\",\n              \"title\": \"What happens when you leave the car with us\",\n              \"description\": \"This is the order we work in.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"We write it up\",\n                  \"description\": \"At the counter we note what you have noticed, the mileage and any warning lights. You get a copy.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"We check and call\",\n                  \"description\": \"A mechanic inspects the car. If we find something beyond the job you booked, we call or text you with the price and a photo.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"You say yes or no\",\n                  \"description\": \"Nothing extra is done without your yes. If you say no, we put it in writing so you can come back to it.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"You collect and we explain\",\n                  \"description\": \"We show you the old parts if you want them, and go through the bill line by line. Repairs carry a 12 month, 12,000 mile warranty.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"waiting\" tone=\"muted\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"While you wait\",\n              \"title\": \"Wait with us, or get on with your day\",\n              \"description\": \"\",\n              \"columns\": \"3\",\n              \"items\": [\n                {\n                  \"title\": \"Waiting room\",\n                  \"description\": \"Coffee, wifi and a window onto the workshop floor. Oil services and inspections are done while you wait.\"\n                },\n                {\n                  \"title\": \"Courtesy car\",\n                  \"description\": \"Two small cars for jobs that take the day. Free for full services and repairs over $300. Book it with your slot.\"\n                },\n                {\n                  \"title\": \"Drop-off before we open\",\n                  \"description\": \"Leave the key in the box at the side door from 6:30 am and we will start on your car first thing.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"visit\">\n        <ContactMap\n          props={{\n            ...ContactMapSpec.defaults,\n            ...{\n              \"eyebrow\": \"Visit\",\n              \"title\": \"On Butler Street, with parking at the back\",\n              \"address\": \"Brennan Family Auto\\n4120 Butler Street\\nLawrenceville, Pittsburgh, PA 15201\",\n              \"hoursTitle\": \"Workshop hours\",\n              \"hours\": [\n                {\n                  \"day\": \"Monday to Friday\",\n                  \"time\": \"7:30 am to 5:30 pm\"\n                },\n                {\n                  \"day\": \"Saturday\",\n                  \"time\": \"8:00 am to 12:00 pm\"\n                },\n                {\n                  \"day\": \"Sunday\",\n                  \"time\": \"Closed\"\n                }\n              ],\n              \"phone\": \"(412) 555-0163\",\n              \"email\": \"service@brennanauto.example\",\n              \"directions\": {\n                \"label\": \"Get directions\",\n                \"href\": \"https://example.com/directions\"\n              },\n              \"map\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/map-4.svg\",\n                \"alt\": \"Map of Lawrenceville with the garage marked on Butler Street, between 41st and 42nd Street, and the parking lot behind it\",\n                \"srcDark\": \"https://ui.klarhimmel.com/pictures/map-4-dark.svg\"\n              }\n            },\n          } as typeof ContactMapSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Brennan Family Auto\",\n              \"links\": [\n                {\n                  \"label\": \"Book\",\n                  \"href\": \"#book\"\n                },\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Drop-off\",\n                  \"href\": \"#dropoff\"\n                },\n                {\n                  \"label\": \"Terms\",\n                  \"href\": \"https://example.com/terms\"\n                }\n              ],\n              \"legal\": \"© 2026 Brennan Family Auto LLC, Pittsburgh. Licensed state inspection station.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
