{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-phone-repair",
  "type": "registry:block",
  "title": "Phone repair template",
  "description": "One page for a phone repair shop (Loop Line Repair, Chicago). It leads with fixed prices and times, then how a repair goes, what to do before you come in, refurbished phones for sale, hours and a booking form.",
  "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/faq-list.json",
    "https://ui.klarhimmel.com/r/contact-booking.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/phone-repair.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/phone-repair.tsx",
      "content": "// Phone repair 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 (`tel:`) 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 the bench, the shop front and each refurbished phone, taken in daylight against a plain surface.\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 form asks for a phone, so the shop can text to confirm. The time slots are examples: change them to your own.\n//  - Style: pale mint and near-black with a deep emerald accent (bright mint in dark mode), DM Sans headlines, Inter text, square-ish 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 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 FaqList, { spec as FaqListSpec } from '../blocks/faq-list';\nimport ContactBooking, { spec as ContactBookingSpec } from '../blocks/contact-booking';\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\": \"#eef6f2\",\n    \"surface\": \"#fbfefc\",\n    \"ink\": \"#10241d\",\n    \"muted\": \"#4a6057\",\n    \"line\": \"#cfe0d7\",\n    \"accent\": \"#00785a\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#0a1511\",\n    \"surface\": \"#111f19\",\n    \"ink\": \"#e8f5ee\",\n    \"muted\": \"#a4b9ae\",\n    \"line\": \"#223a2f\",\n    \"accent\": \"#3ddc9f\",\n    \"accentFg\": \"#04140d\"\n  },\n  \"fonts\": {\n    \"display\": \"DM Sans\",\n    \"sans\": \"Inter\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 8,\n  \"size\": 16\n};\n\nexport default function PhoneRepairTemplate() {\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\": \"Loop Line Repair\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"How it works\",\n                  \"href\": \"#how\"\n                },\n                {\n                  \"label\": \"Refurbished\",\n                  \"href\": \"#phones\"\n                },\n                {\n                  \"label\": \"Before you come\",\n                  \"href\": \"#before\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Book a repair\",\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\": \"Phone, tablet and laptop repair in Logan Square, Chicago\",\n              \"title\": \"Cracked screen? Most are fixed while you wait\",\n              \"description\": \"Fixed prices, a quote before we touch anything, and a warranty on every part we fit. Walk in any day, or book a time and skip the queue.\",\n              \"primary\": {\n                \"label\": \"Book a repair\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"See prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-phone1.avif\",\n                \"alt\": \"A screwdriver and a circuit board on a work mat\"\n              },\n              \"note\": \"Open seven days. Screens take about 45 minutes.\",\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\": \"One price per job, and how long it takes\",\n              \"description\": \"These are our prices for most phones from the last six years. Bring it in and we confirm the exact price at the counter before we start.\",\n              \"groups\": [\n                {\n                  \"title\": \"Phones\",\n                  \"note\": \"Part, labor and warranty included\",\n                  \"items\": [\n                    {\n                      \"name\": \"Screen replacement\",\n                      \"description\": \"New screen and glass, fitted and tested.\",\n                      \"price\": \"$89\",\n                      \"tags\": [\n                        \"About 45 minutes\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Battery replacement\",\n                      \"description\": \"For a phone that dies at 30 percent or runs hot.\",\n                      \"price\": \"$59\",\n                      \"tags\": [\n                        \"About 30 minutes\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Charging port\",\n                      \"description\": \"Cleaned first. Replaced only if cleaning does not fix it.\",\n                      \"price\": \"$79\",\n                      \"tags\": [\n                        \"About 1 hour\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Back glass\",\n                      \"description\": \"Cracked back panel replaced, camera ring included.\",\n                      \"price\": \"$69\",\n                      \"tags\": [\n                        \"About 1 hour\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Water damage check\",\n                      \"description\": \"A check only: we open it, clean the board and test what still works, then quote the repair.\",\n                      \"price\": \"$25\",\n                      \"tags\": [\n                        \"Same day\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Tablets and laptops\",\n                  \"note\": \"Part, labor and warranty included\",\n                  \"items\": [\n                    {\n                      \"name\": \"Tablet screen\",\n                      \"description\": \"Glass and display, fitted and tested.\",\n                      \"price\": \"$109\",\n                      \"tags\": [\n                        \"About 1 hour\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Laptop battery\",\n                      \"description\": \"Fitted, then calibrated and tested under load.\",\n                      \"price\": \"$119\",\n                      \"tags\": [\n                        \"Ready next day\"\n                      ]\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Prices in US dollars, before Illinois sales tax. The $25 water damage check comes off the repair if we fix it. Folding phones and brand new releases are quoted at the counter.\",\n              \"link\": {\n                \"label\": \"\",\n                \"href\": \"\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"how\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"How a repair goes\",\n              \"title\": \"You know the price before we open it\",\n              \"description\": \"Four steps, and you can stop after the second one if the quote is not for you.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"Check-in\",\n                  \"description\": \"Tell us what happened. We look at the phone with you and write down every scratch and crack that is already there.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Quote\",\n                  \"description\": \"You get the price and the time in writing. If you say no, you pay nothing for the look.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Repair\",\n                  \"description\": \"One technician does the whole job at the bench you can see from the counter. We text when it is ready.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Warranty\",\n                  \"description\": \"Every part we fit has a 90 day warranty. If it fails in that time, we replace it for free.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"phones\">\n        <GalleryGrid\n          props={{\n            ...GalleryGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Refurbished phones\",\n              \"title\": \"Checked, cleaned and ready to use\",\n              \"description\": \"Each one has a new battery, wiped storage and a 90 day warranty from us. Stock changes every week, so call to see what is in.\",\n              \"columns\": \"3\",\n              \"items\": [\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/scr-shell.avif\",\n                    \"alt\": \"Klarhimmel UI app shell: a sidebar of sections beside a bookings overview with four figures\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/scr-shell-dark.avif\"\n                  },\n                  \"caption\": \"iPhone 11, 64 GB\",\n                  \"price\": \"$229\",\n                  \"note\": \"New battery. Black, no marks on the screen.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-phone2.avif\",\n                    \"alt\": \"A smartphone on a wooden table\"\n                  },\n                  \"caption\": \"iPhone 12, 128 GB\",\n                  \"price\": \"$329\",\n                  \"note\": \"New battery. Blue, one small mark on the frame.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-phone1.avif\",\n                    \"alt\": \"A screwdriver and a circuit board on a work mat\"\n                  },\n                  \"caption\": \"iPhone 13, 128 GB\",\n                  \"price\": \"$449\",\n                  \"note\": \"New battery. Midnight, like new.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-phone2.avif\",\n                    \"alt\": \"A smartphone on a wooden table\"\n                  },\n                  \"caption\": \"Galaxy S21, 128 GB\",\n                  \"price\": \"$259\",\n                  \"note\": \"New battery. Grey, light wear on the back.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-phone1.avif\",\n                    \"alt\": \"A screwdriver and a circuit board on a work mat\"\n                  },\n                  \"caption\": \"Pixel 6, 128 GB\",\n                  \"price\": \"$239\",\n                  \"note\": \"New battery. Black, comes with a charger.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/scr-dashboard.avif\",\n                    \"alt\": \"A hotel dashboard with a sidebar, summary cards and a revenue chart\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/scr-dashboard-dark.avif\"\n                  },\n                  \"caption\": \"iPad, 9th generation, 64 GB\",\n                  \"price\": \"$279\",\n                  \"note\": \"New battery. Silver, Wi-Fi only.\"\n                }\n              ]\n            },\n          } as typeof GalleryGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"before\" tone=\"muted\">\n        <FaqList\n          props={{\n            ...FaqListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Before you bring it in\",\n              \"title\": \"Five things that make the repair easier\",\n              \"description\": \"None of this is required, but it saves time at the counter.\",\n              \"items\": [\n                {\n                  \"question\": \"Should I back up my phone first?\",\n                  \"answer\": \"Yes, if it still turns on. A repair rarely touches your photos or messages, but a backup to the cloud or a computer keeps them safe if something goes wrong. If the screen is too broken to use, bring it anyway and we will help.\"\n                },\n                {\n                  \"question\": \"Do I need to give you my passcode?\",\n                  \"answer\": \"For most repairs we need it to test the phone afterwards. We write it on the job ticket and use it only to test the phone. You can also type it in yourself at the counter.\"\n                },\n                {\n                  \"question\": \"Should I turn off Find My or screen lock?\",\n                  \"answer\": \"Leave them on for a screen or battery repair. We only ask you to sign out of your account if the repair means replacing the main board.\"\n                },\n                {\n                  \"question\": \"What should I bring with me?\",\n                  \"answer\": \"The phone, its case if you want it back on, and a photo ID. For a laptop battery, bring the charger too.\"\n                },\n                {\n                  \"question\": \"What if it cannot be fixed?\",\n                  \"answer\": \"Then you pay nothing for the repair. If we opened it for a water damage check, the $25 check fee still applies.\"\n                }\n              ]\n            },\n          } as typeof FaqListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"book\">\n        <ContactBooking\n          props={{\n            ...ContactBookingSpec.defaults,\n            ...{\n              \"eyebrow\": \"Book\",\n              \"title\": \"Pick a time, or just walk in\",\n              \"description\": \"A booked time means a technician is waiting for you. We text to confirm, and tell you if we need to order a part.\",\n              \"options\": [\n                {\n                  \"label\": \"Call the shop\",\n                  \"description\": \"Weekdays 9 am to 7 pm. Saturday and Sunday hours are further down.\",\n                  \"link\": {\n                    \"label\": \"(312) 555-0142\",\n                    \"href\": \"tel:3125550142\"\n                  }\n                },\n                {\n                  \"label\": \"Email\",\n                  \"description\": \"For laptop and tablet jobs, send the model and what is wrong. We reply the same day.\",\n                  \"link\": {\n                    \"label\": \"Send an email\",\n                    \"href\": \"mailto:fix@looplinerepair.example\"\n                  }\n                }\n              ],\n              \"slotsTitle\": \"Next free times\",\n              \"slots\": [\n                \"Mon 9:30 am\",\n                \"Mon 12:00 pm\",\n                \"Tue 10:00 am\",\n                \"Wed 3:30 pm\",\n                \"Thu 11:00 am\",\n                \"Fri 5:00 pm\"\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Mobile phone, for a text\",\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 id=\"visit\" tone=\"muted\">\n        <ContactMap\n          props={{\n            ...ContactMapSpec.defaults,\n            ...{\n              \"eyebrow\": \"Visit\",\n              \"title\": \"Two minutes from the Logan Square train stop\",\n              \"address\": \"Loop Line Repair\\n1840 N Larchmere Ave\\nChicago, IL 60647\",\n              \"hoursTitle\": \"Shop hours\",\n              \"hours\": [\n                {\n                  \"day\": \"Monday to Friday\",\n                  \"time\": \"9 am to 7 pm\"\n                },\n                {\n                  \"day\": \"Saturday\",\n                  \"time\": \"10 am to 6 pm\"\n                },\n                {\n                  \"day\": \"Sunday\",\n                  \"time\": \"11 am to 4 pm\"\n                }\n              ],\n              \"phone\": \"(312) 555-0142\",\n              \"email\": \"fix@looplinerepair.example\",\n              \"directions\": {\n                \"label\": \"Get directions\",\n                \"href\": \"https://example.com/directions\"\n              },\n              \"map\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/map-3.svg\",\n                \"alt\": \"Map of Logan Square with the shop marked on Larchmere Avenue, a short walk from the train station\",\n                \"srcDark\": \"https://ui.klarhimmel.com/pictures/map-3-dark.svg\"\n              }\n            },\n          } as typeof ContactMapSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Loop Line Repair\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Refurbished\",\n                  \"href\": \"#phones\"\n                },\n                {\n                  \"label\": \"Book a repair\",\n                  \"href\": \"#book\"\n                },\n                {\n                  \"label\": \"Warranty terms\",\n                  \"href\": \"https://example.com/warranty\"\n                }\n              ],\n              \"legal\": \"© 2026 Loop Line Repair LLC, Chicago. Independent repair shop, not affiliated with any phone maker.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
