{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-optician",
  "type": "registry:block",
  "title": "Optician template",
  "description": "One page for an independent optician (Lindenfield Optical, Toronto). Exam price and booking first, then frames and lenses in CAD, the exam, kids, insurance receipts, the team and hours.",
  "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/team-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/optician.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/optician.tsx",
      "content": "// Optician 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. Links to https://example.com are placeholders: point Book an exam at your own booking page and the rest 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 frame wall, the exam room and the three of you, taken in daylight.\n//  - Forms: the booking card posts to `action` (now `/replace-with-your-endpoint`, method post). The time slots are examples: list the slots you actually have open. It asks for name, email and a phone number so the shop can confirm. Insurance: say only what you do, an itemized receipt, never what a plan pays.\n//  - Style: warm paper white with ink and a blue-violet accent (periwinkle in dark mode), Geist headlines and DM Sans text, light and dark. 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 TeamGrid, { spec as TeamGridSpec } from '../blocks/team-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\": \"Editorial\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#f5f3ee\",\n    \"surface\": \"#fffefb\",\n    \"ink\": \"#1e1a22\",\n    \"muted\": \"#5d5663\",\n    \"line\": \"#e1dbe3\",\n    \"accent\": \"#4936b5\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#17131b\",\n    \"surface\": \"#211b27\",\n    \"ink\": \"#f3eff6\",\n    \"muted\": \"#b5adbb\",\n    \"line\": \"#2f2a40\",\n    \"accent\": \"#b3a8f5\",\n    \"accentFg\": \"#160f2e\"\n  },\n  \"fonts\": {\n    \"display\": \"Geist\",\n    \"sans\": \"DM Sans\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 10,\n  \"size\": 16\n};\n\nexport default function OpticianTemplate() {\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\": \"Lindenfield Optical\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"The exam\",\n                  \"href\": \"#exam\"\n                },\n                {\n                  \"label\": \"Our team\",\n                  \"href\": \"#team\"\n                },\n                {\n                  \"label\": \"Questions\",\n                  \"href\": \"#faq\"\n                },\n                {\n                  \"label\": \"Hours\",\n                  \"href\": \"#visit\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Book an exam\",\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\": \"Independent optician on Roncesvalles Avenue, Toronto\",\n              \"title\": \"Eye exams from $95, request a time in a minute\",\n              \"description\": \"An optometrist and two opticians in one small shop. You get your exam, your prescription in writing, and a straight price on frames and lenses before you decide anything.\",\n              \"primary\": {\n                \"label\": \"Book an exam\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"See prices\",\n                \"href\": \"#prices\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-optic1.avif\",\n                \"alt\": \"Silver-framed glasses on a white table\"\n              },\n              \"note\": \"\",\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 things cost, before you sit down\",\n              \"description\": \"Exam fees are paid on the day. Frame prices include single-vision lenses. Anything that costs extra is listed here, so the total never surprises you.\",\n              \"groups\": [\n                {\n                  \"title\": \"Eye exams\",\n                  \"note\": \"Paid on the day, itemized receipt on request\",\n                  \"items\": [\n                    {\n                      \"name\": \"Adult eye exam\",\n                      \"description\": \"Ages 20 and up. Prescription given to you in writing.\",\n                      \"price\": \"$95\",\n                      \"tags\": [\n                        \"About 30 min\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Kids' eye exam\",\n                      \"description\": \"Ages 3 to 19. Bring any current glasses.\",\n                      \"price\": \"$65\",\n                      \"tags\": [\n                        \"About 25 min\"\n                      ]\n                    },\n                    {\n                      \"name\": \"Contact lens fitting\",\n                      \"description\": \"Added to an exam. Includes the first trial lenses and a check visit.\",\n                      \"price\": \"$70\",\n                      \"tags\": [\n                        \"About 20 min extra\"\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Frames, lenses included\",\n                  \"note\": \"Single-vision lenses with every frame\",\n                  \"items\": [\n                    {\n                      \"name\": \"Everyday range\",\n                      \"description\": \"Light plastic and metal frames, one-year warranty on the frame.\",\n                      \"price\": \"$159 to $229\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Mid range\",\n                      \"description\": \"Acetate and titanium frames from small makers.\",\n                      \"price\": \"$249 to $399\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Designer range\",\n                      \"description\": \"Hand-finished frames, mostly made in Japan and Italy.\",\n                      \"price\": \"$429 to $650\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Lens extras\",\n                  \"note\": \"Added to the frame price\",\n                  \"items\": [\n                    {\n                      \"name\": \"Progressive lenses\",\n                      \"description\": \"Instead of single-vision lenses.\",\n                      \"price\": \"+$250\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Thinner lenses\",\n                      \"description\": \"For stronger prescriptions. We tell you at the fitting if you need them.\",\n                      \"price\": \"+$80\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Blue-light coating\",\n                      \"description\": \"A clear coating on both lenses. Ask us what it does and does not do.\",\n                      \"price\": \"+$45\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Prescription sunglasses\",\n                      \"description\": \"Tinted single-vision lenses in any frame.\",\n                      \"price\": \"+$60\",\n                      \"tags\": []\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"All prices in Canadian dollars, HST included. Frames are priced as one pair with its lenses.\",\n              \"link\": {\n                \"label\": \"Book an exam\",\n                \"href\": \"#book\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"exam\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"The exam\",\n              \"title\": \"What happens in an eye exam\",\n              \"description\": \"Allow 40 minutes for your first visit while we fill in your history. After that an adult exam is about 30 minutes.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"We talk first\",\n                  \"description\": \"What you notice, what you do all day on screens or on the road, and any glasses you wear now.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Measurements and tests\",\n                  \"description\": \"Your current prescription is read, then the optometrist checks how your eyes focus and move, and looks at the health of the front and back of each eye.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Your prescription\",\n                  \"description\": \"You are given it in writing, whether or not you buy glasses here. Take it anywhere you like.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Frames, if you want them\",\n                  \"description\": \"An optician helps you choose, measures the fit and gives you a total. Most pairs are ready in about a week.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"team\">\n        <TeamGrid\n          props={{\n            ...TeamGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Our team\",\n              \"title\": \"Three people, one small shop\",\n              \"description\": \"You will meet the same faces each visit.\",\n              \"members\": [\n                {\n                  \"name\": \"Dr. Miriam Szabo\",\n                  \"role\": \"Optometrist\",\n                  \"bio\": \"Runs the exam room. Sees adults and children, and does contact lens fittings.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-4.svg\",\n                    \"alt\": \"Portrait of Dr. Miriam Szabo\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-4-dark.svg\"\n                  }\n                },\n                {\n                  \"name\": \"Colm Fitzgerald\",\n                  \"role\": \"Optician\",\n                  \"bio\": \"Fits frames and lenses, adjusts glasses while you wait, and owns the shop.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-2.svg\",\n                    \"alt\": \"Portrait of Colm Fitzgerald\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-2-dark.svg\"\n                  }\n                },\n                {\n                  \"name\": \"Yuki Tanaka\",\n                  \"role\": \"Optician\",\n                  \"bio\": \"Teaches you to put in and take out contact lenses, repairs glasses and runs the front desk.\",\n                  \"photo\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/avatar-3.svg\",\n                    \"alt\": \"Portrait of Yuki Tanaka\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/avatar-3-dark.svg\"\n                  }\n                }\n              ]\n            },\n          } as typeof TeamGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"faq\" tone=\"muted\">\n        <FaqList\n          props={{\n            ...FaqListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Questions\",\n              \"title\": \"Short answers before you book\",\n              \"description\": \"Anything else, write on the form below and a person replies.\",\n              \"items\": [\n                {\n                  \"question\": \"How do insurance receipts work?\",\n                  \"answer\": \"You pay us on the day. We give you an itemized receipt showing the exam, frames and lenses as separate lines, which you can submit to your own plan. We cannot tell you what your plan will pay.\"\n                },\n                {\n                  \"question\": \"Do you bill my insurer directly?\",\n                  \"answer\": \"No. You pay in the shop and send the receipt to your plan yourself. We fill in forms you bring us at no charge.\"\n                },\n                {\n                  \"question\": \"How old do kids need to be?\",\n                  \"answer\": \"We see children from age 3. Bring a parent or guardian and any glasses they wear now. For a child under 3, call us and we will tell you what we can do.\"\n                },\n                {\n                  \"question\": \"Do I need my old glasses?\",\n                  \"answer\": \"Please bring them, and your contact lens box if you wear contacts. It saves time reading your current prescription.\"\n                },\n                {\n                  \"question\": \"Can you use a prescription from another optician?\",\n                  \"answer\": \"Yes. If it is less than two years old we can make glasses from it. We give you a copy of any prescription we write.\"\n                },\n                {\n                  \"question\": \"What if my glasses do not feel right?\",\n                  \"answer\": \"Come back within 30 days and we adjust or remake them. Adjusting and tightening is free for as long as you own the frame.\"\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\": \"Book an exam\",\n              \"description\": \"Pick a time that suits you and we confirm it by email or phone, usually the same working day.\",\n              \"options\": [\n                {\n                  \"label\": \"Phone\",\n                  \"description\": \"416-555-0142, during opening hours.\",\n                  \"link\": {\n                    \"label\": \"Call the shop\",\n                    \"href\": \"tel:+14165550142\"\n                  }\n                },\n                {\n                  \"label\": \"Email\",\n                  \"description\": \"hello@lindenfield-optical.example. We reply within a working day.\",\n                  \"link\": {\n                    \"label\": \"Send an email\",\n                    \"href\": \"mailto:hello@lindenfield-optical.example\"\n                  }\n                }\n              ],\n              \"slotsTitle\": \"Pick a time\",\n              \"slots\": [\n                \"Tue 10:00 am\",\n                \"Tue 2:30 pm\",\n                \"Wed 11:30 am\",\n                \"Thu 4:00 pm\",\n                \"Fri 9:30 am\",\n                \"Sat 1:00 pm\"\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Phone number\",\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\": \"Find us on Roncesvalles\",\n              \"address\": \"Lindenfield Optical\\n2184 Roncesvalles Avenue\\nToronto, Ontario M6R\",\n              \"hoursTitle\": \"Opening hours\",\n              \"hours\": [\n                {\n                  \"day\": \"Monday\",\n                  \"time\": \"Closed\"\n                },\n                {\n                  \"day\": \"Tuesday to Friday\",\n                  \"time\": \"9:30 am to 6:00 pm\"\n                },\n                {\n                  \"day\": \"Saturday\",\n                  \"time\": \"9:30 am to 4:00 pm\"\n                },\n                {\n                  \"day\": \"Sunday\",\n                  \"time\": \"Closed\"\n                }\n              ],\n              \"phone\": \"416-555-0142\",\n              \"email\": \"hello@lindenfield-optical.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 Roncesvalles Avenue with the shop marked near the streetcar stop\",\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\": \"Lindenfield Optical\",\n              \"links\": [\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"The exam\",\n                  \"href\": \"#exam\"\n                },\n                {\n                  \"label\": \"Book an exam\",\n                  \"href\": \"#book\"\n                },\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                }\n              ],\n              \"legal\": \"© 2026 Lindenfield Optical Inc., Toronto, Ontario.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
