{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-cobbler",
  "type": "registry:block",
  "title": "Cobbler template",
  "description": "One page for a one-person shoe repair shop (Fenwick Shoe Repair, Peckham, London): prices by job, while-you-wait and leave-it times, before and after photos, a question form, 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/price-list.json",
    "https://ui.klarhimmel.com/r/features-grid.json",
    "https://ui.klarhimmel.com/r/gallery-grid.json",
    "https://ui.klarhimmel.com/r/contact-map.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/cobbler.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/cobbler.tsx",
      "content": "// Cobbler 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 number is a `tel:` link on 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 before and after photos of real repairs, taken on the same bench in the same light, in pairs side by side.\n//  - Forms: set `action` on the question form (it is `/replace-with-your-endpoint` now). With `method: 'post'` it submits natively, with no JavaScript. The form asks for an email, so the reply goes by email.\n//  - Style: warm paper and dark olive ink with a sage green accent (soft pale green in dark mode), DM Sans throughout, gently rounded corners. Prices and times are the owner's own; change them in the price list and the timing cards.\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 FeaturesGrid, { spec as FeaturesGridSpec } from '../blocks/features-grid';\nimport GalleryGrid, { spec as GalleryGridSpec } from '../blocks/gallery-grid';\nimport ContactMap, { spec as ContactMapSpec } from '../blocks/contact-map';\nimport ContactForm, { spec as ContactFormSpec } from '../blocks/contact-form';\nimport FooterSimple, { spec as FooterSimpleSpec } from '../blocks/footer-simple';\n\nconst style: Style = {\n  \"preset\": \"Studio\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#f5f4ec\",\n    \"surface\": \"#fdfcf7\",\n    \"ink\": \"#232a1c\",\n    \"muted\": \"#586050\",\n    \"line\": \"#dcdecd\",\n    \"accent\": \"#687850\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#151911\",\n    \"surface\": \"#1e2418\",\n    \"ink\": \"#eef0e4\",\n    \"muted\": \"#adb39f\",\n    \"line\": \"#333b2a\",\n    \"accent\": \"#c4cf8e\",\n    \"accentFg\": \"#161c0d\"\n  },\n  \"fonts\": {\n    \"display\": \"DM Sans\",\n    \"sans\": \"DM Sans\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 10,\n  \"size\": 16\n};\n\nexport default function CobblerTemplate() {\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\": \"Fenwick Shoe Repair\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"How long\",\n                  \"href\": \"#time\"\n                },\n                {\n                  \"label\": \"Repairs\",\n                  \"href\": \"#work\"\n                },\n                {\n                  \"label\": \"Visit\",\n                  \"href\": \"#visit\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Ask us\",\n                \"href\": \"#ask\"\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\": \"Shoe and leather repair on Fenwick Road, Peckham\",\n              \"title\": \"Shoes, bags and belts mended at one bench\",\n              \"description\": \"I repair shoes, boots, bags and belts at the bench in the shop. Heel tips, belt holes and keys take minutes while you wait. Resoling, zips and straps take two days to a week.\",\n              \"primary\": {\n                \"label\": \"See the prices\",\n                \"href\": \"#prices\"\n              },\n              \"secondary\": {\n                \"label\": \"Opening hours\",\n                \"href\": \"#visit\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-shoe1.avif\",\n                \"alt\": \"Brown leather lace-up shoes\"\n              },\n              \"note\": \"One person, one bench. Open Monday to Saturday, no need to ask first.\",\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\": \"What it costs, by job\",\n              \"description\": \"Shoe prices are per pair unless it says per shoe or per boot. If a job needs more than the list says, I tell you the price before I start and you decide.\",\n              \"groups\": [\n                {\n                  \"title\": \"Heels and soles\",\n                  \"note\": \"Rubber unless it says leather\",\n                  \"items\": [\n                    {\n                      \"name\": \"Heel tips\",\n                      \"description\": \"New tips on worn heels.\",\n                      \"price\": \"£11\",\n                      \"tags\": [\n                        \"10 minutes\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Full heel rebuild\",\n                      \"description\": \"Stacked and trimmed, in the colour you pick.\",\n                      \"price\": \"£26\",\n                      \"tags\": [\n                        \"2 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Half soles, rubber\",\n                      \"description\": \"Front half of the sole.\",\n                      \"price\": \"£38\",\n                      \"tags\": [\n                        \"1 day\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Full resole, rubber\",\n                      \"description\": \"Whole sole, glued and stitched.\",\n                      \"price\": \"£58\",\n                      \"tags\": [\n                        \"3 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Half soles, leather\",\n                      \"description\": \"For leather-soled shoes.\",\n                      \"price\": \"£52\",\n                      \"tags\": [\n                        \"3 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Full resole, leather\",\n                      \"description\": \"Stitched, edges finished and polished.\",\n                      \"price\": \"from £90\",\n                      \"tags\": [\n                        \"1 week\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Stretching and fitting\",\n                  \"note\": \"Done on the stretching machine\",\n                  \"items\": [\n                    {\n                      \"name\": \"Stretch for width\",\n                      \"description\": \"Per shoe, leather only.\",\n                      \"price\": \"£12\",\n                      \"tags\": [\n                        \"1 day\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Stretch for length\",\n                      \"description\": \"Up to half a size. Per shoe.\",\n                      \"price\": \"£16\",\n                      \"tags\": [\n                        \"2 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Boot calf stretch\",\n                      \"description\": \"Per boot.\",\n                      \"price\": \"£22\",\n                      \"tags\": [\n                        \"2 days\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Bags, belts and zips\",\n                  \"note\": \"Leather, canvas and nylon\",\n                  \"items\": [\n                    {\n                      \"name\": \"New hole in a belt\",\n                      \"description\": \"\",\n                      \"price\": \"£4\",\n                      \"tags\": [\n                        \"While you wait\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Shorten a belt\",\n                      \"description\": \"\",\n                      \"price\": \"£12\",\n                      \"tags\": [\n                        \"1 day\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Bag strap restitched\",\n                      \"description\": \"Handle or shoulder strap.\",\n                      \"price\": \"£18\",\n                      \"tags\": [\n                        \"2 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Zip on a bag or purse\",\n                      \"description\": \"\",\n                      \"price\": \"from £22\",\n                      \"tags\": [\n                        \"2 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Zip on a boot\",\n                      \"description\": \"Per boot.\",\n                      \"price\": \"from £30\",\n                      \"tags\": [\n                        \"3 days\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Keys\",\n                  \"note\": \"At the side counter\",\n                  \"items\": [\n                    {\n                      \"name\": \"House key, standard\",\n                      \"description\": \"\",\n                      \"price\": \"£4.50\",\n                      \"tags\": [\n                        \"While you wait\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Padlock or cabinet key\",\n                      \"description\": \"\",\n                      \"price\": \"£5\",\n                      \"tags\": [\n                        \"While you wait\"\n                      ]\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Prices in pounds sterling. I do not repair trainers with a glued foam sole. If I cannot fix it, there is no charge.\",\n              \"link\": {\n                \"label\": \"\",\n                \"href\": \"\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"time\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"How long it takes\",\n              \"title\": \"Some jobs wait, some stay\",\n              \"description\": \"These are my own times for one pair at a normal week. Bring it in, tell me when you need it, and I say yes or no on the spot.\",\n              \"columns\": \"2\",\n              \"items\": [\n                {\n                  \"icon\": \"clock\",\n                  \"title\": \"While you wait: 10 to 20 minutes\",\n                  \"description\": \"Heel tips, a new belt hole, a stitch on a loose strap and keys. Take a seat or come back after a coffee.\"\n                },\n                {\n                  \"icon\": \"check\",\n                  \"title\": \"Next day: width stretch, belts, rubber half soles\",\n                  \"description\": \"Bring it in before 10:00 and it is ready the next working day after 15:00.\"\n                },\n                {\n                  \"icon\": \"box\",\n                  \"title\": \"Two to three days: zips, straps, rebuilds\",\n                  \"description\": \"Zips, bag straps, heel rebuilds, length stretches, rubber resoles and leather half soles. I call you if I find anything else worn.\"\n                },\n                {\n                  \"icon\": \"compass\",\n                  \"title\": \"One week: leather resoling\",\n                  \"description\": \"Leather soles are glued, stitched and left to set. I will not rush one, so it takes the week.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"work\">\n        <GalleryGrid\n          props={{\n            ...GalleryGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Before and after\",\n              \"title\": \"Three repairs from the bench\",\n              \"description\": \"Each pair is the same job on the same bench, before I touched it and when it left the shop.\",\n              \"columns\": \"2\",\n              \"items\": [\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-shoe2.avif\",\n                    \"alt\": \"A close-up of a brown leather shoe\"\n                  },\n                  \"caption\": \"Before: soles worn through\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-shoe1.avif\",\n                    \"alt\": \"Brown leather lace-up shoes\"\n                  },\n                  \"caption\": \"After: full rubber resole\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-shoe2.avif\",\n                    \"alt\": \"A close-up of a brown leather shoe\"\n                  },\n                  \"caption\": \"Before: torn strap, broken zip\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-shoe1.avif\",\n                    \"alt\": \"Brown leather lace-up shoes\"\n                  },\n                  \"caption\": \"After: strap restitched, new zip\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-shoe2.avif\",\n                    \"alt\": \"A close-up of a brown leather shoe\"\n                  },\n                  \"caption\": \"Before: heels worn on one side\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-shoe1.avif\",\n                    \"alt\": \"Brown leather lace-up shoes\"\n                  },\n                  \"caption\": \"After: new heels, toes dyed\"\n                }\n              ]\n            },\n          } as typeof GalleryGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"visit\">\n        <ContactMap\n          props={{\n            ...ContactMapSpec.defaults,\n            ...{\n              \"eyebrow\": \"Visit\",\n              \"title\": \"The shop on Fenwick Road\",\n              \"address\": \"Fenwick Shoe Repair\\nFenwick Road\\nPeckham, London\",\n              \"hoursTitle\": \"Opening hours\",\n              \"hours\": [\n                {\n                  \"day\": \"Monday to Friday\",\n                  \"time\": \"08:30 to 17:30\"\n                },\n                {\n                  \"day\": \"Saturday\",\n                  \"time\": \"09:00 to 16:00\"\n                },\n                {\n                  \"day\": \"Sunday\",\n                  \"time\": \"Closed\"\n                }\n              ],\n              \"phone\": \"020 7946 0166\",\n              \"email\": \"\",\n              \"directions\": {\n                \"label\": \"Get directions\",\n                \"href\": \"https://example.com/directions\"\n              },\n              \"map\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/map-1.svg\",\n                \"alt\": \"Map of Peckham with the shop marked on Fenwick Road\",\n                \"srcDark\": \"https://ui.klarhimmel.com/pictures/map-1-dark.svg\"\n              }\n            },\n          } as typeof ContactMapSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"ask\" tone=\"muted\">\n        <ContactForm\n          props={{\n            ...ContactFormSpec.defaults,\n            ...{\n              \"eyebrow\": \"Not sure?\",\n              \"title\": \"Ask about a repair\",\n              \"description\": \"Write what it is and what is wrong with it. I reply by email, usually the same working day, with a yes or no and a price.\",\n              \"details\": [\n                {\n                  \"label\": \"In person\",\n                  \"value\": \"Just come in, no need to ask first\"\n                },\n                {\n                  \"label\": \"Phone\",\n                  \"value\": \"020 7946 0166\"\n                }\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"messageLabel\": \"What needs fixing\",\n              \"submit\": \"Send the question\",\n              \"consent\": \"I use your details to answer this question and nothing else.\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\",\n              \"messages\": {\n                \"sent\": \"Thank you. I have your question and will reply by email, usually the same working day.\",\n                \"error\": \"Something went wrong. Please try again, or call 020 7946 0166.\"\n              }\n            },\n          } as typeof ContactFormSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Fenwick Shoe Repair\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"How long\",\n                  \"href\": \"#time\"\n                },\n                {\n                  \"label\": \"Repairs\",\n                  \"href\": \"#work\"\n                },\n                {\n                  \"label\": \"Visit\",\n                  \"href\": \"#visit\"\n                }\n              ],\n              \"legal\": \"© 2026 Fenwick Shoe Repair, London.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
