{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-tailor",
  "type": "registry:block",
  "title": "Tailor and alterations template",
  "description": "One page for an alterations shop (Dufferin Tailoring, Toronto): fixed prices with days to finish, a fitting, before and after pairs, rush jobs and a booking form. It also shows the tailors, the hours and the 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/steps-numbered.json",
    "https://ui.klarhimmel.com/r/gallery-grid.json",
    "https://ui.klarhimmel.com/r/cta-split.json",
    "https://ui.klarhimmel.com/r/team-grid.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/tailor.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/tailor.tsx",
      "content": "// Tailor and alterations 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 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. The before and after pairs sit side by side, left and right, so shoot each pair of the same garment from the same spot and keep them in that order.\n//  - Prices: the alterations are a price list with the days each takes in a tag, so a price or a day count changes in one place. Rush jobs have their own section; keep it in step with the list.\n//  - Forms: set `action` on the fitting form (it is `/replace-with-your-endpoint` now), method post. It asks for a phone because the shop calls when the job is ready.\n//  - Style: soft off-white and deep plum-berry ink with an orchid accent (pale orchid in dark mode), Space Grotesk headlines, Inter text. 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 StepsNumbered, { spec as StepsNumberedSpec } from '../blocks/steps-numbered';\nimport GalleryGrid, { spec as GalleryGridSpec } from '../blocks/gallery-grid';\nimport CtaSplit, { spec as CtaSplitSpec } from '../blocks/cta-split';\nimport TeamGrid, { spec as TeamGridSpec } from '../blocks/team-grid';\nimport ContactForm, { spec as ContactFormSpec } from '../blocks/contact-form';\nimport FooterSimple, { spec as FooterSimpleSpec } from '../blocks/footer-simple';\n\nconst style: Style = {\n  \"preset\": \"Editorial\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#faf5f9\",\n    \"surface\": \"#ffffff\",\n    \"ink\": \"#221a24\",\n    \"muted\": \"#5c4f5e\",\n    \"line\": \"#eadbe6\",\n    \"accent\": \"#9a1f80\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#171119\",\n    \"surface\": \"#221a25\",\n    \"ink\": \"#f7eef5\",\n    \"muted\": \"#c3b3c0\",\n    \"line\": \"#3b2c3d\",\n    \"accent\": \"#e58ad0\",\n    \"accentFg\": \"#2a0a22\"\n  },\n  \"fonts\": {\n    \"display\": \"Space Grotesk\",\n    \"sans\": \"Inter\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 8,\n  \"size\": 16\n};\n\nexport default function TailorTemplate() {\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\": \"Dufferin Tailoring\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Fitting\",\n                  \"href\": \"#fitting\"\n                },\n                {\n                  \"label\": \"Before and after\",\n                  \"href\": \"#work\"\n                },\n                {\n                  \"label\": \"Rush\",\n                  \"href\": \"#rush\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Book a fitting\",\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\": \"Alterations and tailoring on Dundas Street West, Toronto\",\n              \"title\": \"Clothes that fit, with the price on the list\",\n              \"description\": \"Hems from $18, taking in from $32, wedding and formal wear fitted properly. You hear the price before we cut or sew anything, and most jobs are ready in three to five days.\",\n              \"primary\": {\n                \"label\": \"Book a fitting\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"See prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-tailor1.avif\",\n                \"alt\": \"Spools of thread beside scissors and a tape measure\"\n              },\n              \"note\": \"Every job is done in our own back room, not sent out.\",\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 common alterations cost, and how long they take\",\n              \"description\": \"These are the prices for most garments. Heavy fabrics, linings and leather can cost more; we say so before we start, never after.\",\n              \"groups\": [\n                {\n                  \"title\": \"Hems and lengths\",\n                  \"note\": \"\",\n                  \"items\": [\n                    {\n                      \"name\": \"Trousers or jeans hem\",\n                      \"description\": \"Plain hem, or keeping the original jeans hem.\",\n                      \"price\": \"$18\",\n                      \"tags\": [\n                        \"3 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Skirt or dress hem\",\n                      \"description\": \"Plain, unlined skirt. Lined skirts are $8 more.\",\n                      \"price\": \"$28\",\n                      \"tags\": [\n                        \"3 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Coat or jacket hem\",\n                      \"description\": \"Lining released and set back by hand.\",\n                      \"price\": \"$55\",\n                      \"tags\": [\n                        \"5 days\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Taking in and letting out\",\n                  \"note\": \"\",\n                  \"items\": [\n                    {\n                      \"name\": \"Waist, trousers or skirt\",\n                      \"description\": \"In or out at the back seam.\",\n                      \"price\": \"$32\",\n                      \"tags\": [\n                        \"4 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Sides of a shirt or dress\",\n                      \"description\": \"Both side seams.\",\n                      \"price\": \"$38\",\n                      \"tags\": [\n                        \"4 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Jacket, taken in at the back\",\n                      \"description\": \"Centre back seam and lining.\",\n                      \"price\": \"$65\",\n                      \"tags\": [\n                        \"5 days\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Sleeves, zips and repairs\",\n                  \"note\": \"\",\n                  \"items\": [\n                    {\n                      \"name\": \"Shorten shirt sleeves\",\n                      \"description\": \"From the cuff.\",\n                      \"price\": \"$25\",\n                      \"tags\": [\n                        \"3 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Shorten jacket sleeves\",\n                      \"description\": \"From the cuff, buttons moved. Working buttonholes add $20.\",\n                      \"price\": \"$40\",\n                      \"tags\": [\n                        \"5 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Replace a zip\",\n                      \"description\": \"Trousers, skirt or dress. Long coat zips from $48.\",\n                      \"price\": \"$30\",\n                      \"tags\": [\n                        \"4 days\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Wedding and formal wear\",\n                  \"note\": \"Bring the shoes you will wear to the first fitting\",\n                  \"items\": [\n                    {\n                      \"name\": \"Wedding dress hem\",\n                      \"description\": \"Hem with a lace or layered skirt, priced after the first fitting.\",\n                      \"price\": \"from $140\",\n                      \"tags\": [\n                        \"10 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Bridesmaid or formal dress\",\n                      \"description\": \"Hem and taking in at the sides.\",\n                      \"price\": \"from $60\",\n                      \"tags\": [\n                        \"7 days\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Suit fitted\",\n                      \"description\": \"Jacket sleeves and body, trouser hem and waist.\",\n                      \"price\": \"from $110\",\n                      \"tags\": [\n                        \"7 days\"\n                      ]\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Prices in Canadian dollars, tax included. Alterations are paid when you pick up.\",\n              \"link\": {\n                \"label\": \"\",\n                \"href\": \"\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"fitting\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"A fitting\",\n              \"title\": \"What happens when you come in\",\n              \"description\": \"A fitting takes about 20 minutes. Come in the clothes and shoes you will wear them with.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"Try it on\",\n                  \"description\": \"Put on the garment and stand on the box. We look at it from all sides before we say a word.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"We pin and agree\",\n                  \"description\": \"We pin the new length or fit. You tell us if it is right, and we change the pins until it is.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"You get the price and the day\",\n                  \"description\": \"The price from the list, the day it will be ready and a ticket with both written down.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"We call, you collect\",\n                  \"description\": \"When it is done we call you. Try it on once more at the shop; a small adjustment is free.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"work\">\n        <GalleryGrid\n          props={{\n            ...GalleryGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Before and after\",\n              \"title\": \"The same clothes, before and after we worked on them\",\n              \"description\": \"Before on the left, after on the right. All of them are jobs from the shop. Each pair is shot the same way.\",\n              \"columns\": \"2\",\n              \"items\": [\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-tailor2.avif\",\n                    \"alt\": \"A sewing machine needle in close-up\"\n                  },\n                  \"caption\": \"Before: sleeves too long\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-tailor1.avif\",\n                    \"alt\": \"Spools of thread beside scissors and a tape measure\"\n                  },\n                  \"caption\": \"After: sleeves shortened\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-tailor2.avif\",\n                    \"alt\": \"A sewing machine needle in close-up\"\n                  },\n                  \"caption\": \"Before: loose and long\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-tailor1.avif\",\n                    \"alt\": \"Spools of thread beside scissors and a tape measure\"\n                  },\n                  \"caption\": \"After: fitted and hemmed\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-tailor2.avif\",\n                    \"alt\": \"A sewing machine needle in close-up\"\n                  },\n                  \"caption\": \"Before: frayed and long\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-tailor1.avif\",\n                    \"alt\": \"Spools of thread beside scissors and a tape measure\"\n                  },\n                  \"caption\": \"After: original hem kept\"\n                }\n              ]\n            },\n          } as typeof GalleryGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"rush\" tone=\"muted\">\n        <CtaSplit\n          props={{\n            ...CtaSplitSpec.defaults,\n            ...{\n              \"title\": \"Need it sooner? Rush jobs cost $25 more\",\n              \"description\": \"Pay $25 extra per garment and we finish it in 48 hours. For a wedding dress or a suit, rush is $60 and takes five working days. We take rush jobs when there is room that week, and we tell you at the fitting.\",\n              \"primary\": {\n                \"label\": \"Book a rush fitting\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"See normal prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-tailor2.avif\",\n                \"alt\": \"A sewing machine needle in close-up\"\n              }\n            },\n          } as typeof CtaSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"tailors\">\n        <TeamGrid\n          props={{\n            ...TeamGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"The tailors\",\n              \"title\": \"Three people, one back room\",\n              \"description\": \"Everything is pinned, sewn and pressed in the same back room.\",\n              \"members\": [\n                {\n                  \"name\": \"Anjali Deshmukh\",\n                  \"role\": \"Owner and head tailor\",\n                  \"bio\": \"Trained in Mumbai and has run the shop since 2011. Fits the wedding dresses and suits.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-4.svg\",\n                    \"alt\": \"Portrait of Anjali Deshmukh\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-4-dark.svg\"\n                  }\n                },\n                {\n                  \"name\": \"Tomasz Wrona\",\n                  \"role\": \"Tailor\",\n                  \"bio\": \"Hems, sleeves and jackets. Twenty years of tailoring, the last six with us.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-6.svg\",\n                    \"alt\": \"Portrait of Tomasz Wrona\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-6-dark.svg\"\n                  }\n                },\n                {\n                  \"name\": \"Luis Ferreira\",\n                  \"role\": \"Fittings and front desk\",\n                  \"bio\": \"Takes your fitting, writes the ticket and calls you when your clothes are ready.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-1.svg\",\n                    \"alt\": \"Portrait of Luis Ferreira\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-1-dark.svg\"\n                  }\n                }\n              ]\n            },\n          } as typeof TeamGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"book\">\n        <ContactForm\n          props={{\n            ...ContactFormSpec.defaults,\n            ...{\n              \"eyebrow\": \"Book a fitting\",\n              \"title\": \"Tell us what needs doing and when you can come\",\n              \"description\": \"Write what you are bringing and the day you need it by. We call you the same day to agree a time. Walk-ins are fine Tuesday to Friday.\",\n              \"details\": [\n                {\n                  \"label\": \"Call\",\n                  \"value\": \"416-555-0143\"\n                },\n                {\n                  \"label\": \"Shop\",\n                  \"value\": \"1418 Dundas Street West, Toronto, ON M6J\"\n                },\n                {\n                  \"label\": \"Hours\",\n                  \"value\": \"Tuesday to Friday, 10:00 to 18:00; Saturday, 10:00 to 16:00\"\n                },\n                {\n                  \"label\": \"Closed\",\n                  \"value\": \"Sunday and Monday\"\n                }\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Phone (we call when it is ready)\",\n              \"messageLabel\": \"What are you bringing, and by when?\",\n              \"submit\": \"Book my fitting\",\n              \"consent\": \"We use your details to book your fitting and to call you when the job is ready.\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\",\n              \"messages\": {\n                \"sent\": \"Thank you. We have your request and will call you today to agree a time.\",\n                \"error\": \"Something went wrong. Please try again, or call 416-555-0143.\"\n              }\n            },\n          } as typeof ContactFormSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Dufferin Tailoring\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Rush jobs\",\n                  \"href\": \"#rush\"\n                },\n                {\n                  \"label\": \"Book a fitting\",\n                  \"href\": \"#book\"\n                },\n                {\n                  \"label\": \"Instagram\",\n                  \"href\": \"https://example.com/instagram\"\n                }\n              ],\n              \"legal\": \"© 2026 Dufferin Tailoring Inc., Toronto.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
