{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-swim-school",
  "type": "registry:block",
  "title": "Swim school template",
  "description": "One page for a learn-to-swim school (Green Lake Swim School, Seattle). Classes by level, term prices and weekly times, what to bring, poolside rules for parents and a free assessment booking.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/navbar-simple.json",
    "https://ui.klarhimmel.com/r/hero-split.json",
    "https://ui.klarhimmel.com/r/steps-numbered.json",
    "https://ui.klarhimmel.com/r/price-list.json",
    "https://ui.klarhimmel.com/r/features-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/swim-school.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/swim-school.tsx",
      "content": "// Swim school 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, taken with permission from parents (children's faces only with written consent).\n//  - Forms: set `action` on the assessment form (it is `/replace-with-your-endpoint` now). With `method: 'post'` it submits natively, with no JavaScript. The class the visitor picks is sent as `choice`, next to the time, name, email and phone. The live demo never submits.\n//  - Style: pool green accent on a soft green-white page, DM Sans throughout, rounded corners, 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 StepsNumbered, { spec as StepsNumberedSpec } from '../blocks/steps-numbered';\nimport PriceList, { spec as PriceListSpec } from '../blocks/price-list';\nimport FeaturesGrid, { spec as FeaturesGridSpec } from '../blocks/features-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\": \"Harbor\",\n  \"mode\": \"light\",\n  \"colors\": {\n    \"canvas\": \"#f3f8f5\",\n    \"surface\": \"#ffffff\",\n    \"ink\": \"#142b22\",\n    \"muted\": \"#4a6055\",\n    \"line\": \"#d6e5db\",\n    \"accent\": \"#3f7d4a\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#0d1c16\",\n    \"surface\": \"#142a21\",\n    \"ink\": \"#eaf5ee\",\n    \"muted\": \"#a2bbab\",\n    \"line\": \"#254437\",\n    \"accent\": \"#5cbf78\",\n    \"accentFg\": \"#06210f\"\n  },\n  \"fonts\": {\n    \"display\": \"DM Sans\",\n    \"sans\": \"DM Sans\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 12,\n  \"size\": 16\n};\n\nexport default function SwimSchoolTemplate() {\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\": \"Green Lake Swim School\",\n              \"links\": [\n                {\n                  \"label\": \"Classes\",\n                  \"href\": \"#classes\"\n                },\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Bring\",\n                  \"href\": \"#bring\"\n                },\n                {\n                  \"label\": \"Questions\",\n                  \"href\": \"#faq\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Free assessment\",\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\": \"Learn-to-swim classes in Seattle\",\n              \"title\": \"Swim lessons for children and adults, in small classes\",\n              \"description\": \"Six levels, from parent and baby to stroke work. Classes of at most six, 30 minutes a week, in a warm pool in Seattle. Not sure which level? Come for a free assessment and we place you.\",\n              \"primary\": {\n                \"label\": \"Book a free assessment\",\n                \"href\": \"#book\"\n              },\n              \"secondary\": {\n                \"label\": \"Find the right class\",\n                \"href\": \"#classes\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-pool1.avif\",\n                \"alt\": \"An indoor pool with marked lanes\"\n              },\n              \"note\": \"10-week terms. We send the start date when you book.\",\n              \"command\": \"\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"classes\" tone=\"muted\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"Which class fits\",\n              \"title\": \"Pick by what the swimmer can do today\",\n              \"description\": \"Age is a guide, not a rule. If in doubt, choose the lower level or book the assessment. Aged 13 to 15? The assessment places you too.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"Parent and baby, 6 to 24 months\",\n                  \"description\": \"You are in the water with your baby. Songs, floating on your hands and getting used to water on the face. A teacher leads.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Splash, 2 to 4 years\",\n                  \"description\": \"For children new to water. Still with a grown-up in the pool, and learning to blow bubbles, kick on a noodle and get in and out.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Beginner, 4 to 7 years\",\n                  \"description\": \"The teacher is in the water with the class. For children who do not yet float or swim. They learn to put their face in, float and kick with a board.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Improver, 5 to 9 years\",\n                  \"description\": \"For children who can float and glide a few metres. They learn to swim a short distance on front and back and to breathe to the side.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Strokes, 7 to 12 years\",\n                  \"description\": \"For children who can swim one length of the shallow end. We teach front crawl, back crawl and breaststroke, and treading water.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Adults, 16 and over\",\n                  \"description\": \"For adults who never learned or who want to feel at ease in deep water. Small groups and a patient teacher.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"prices\">\n        <PriceList\n          props={{\n            ...PriceListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Prices and times\",\n              \"title\": \"Fall term: 10 weekly classes\",\n              \"description\": \"One class a week, the same day and time all term. Each class is 30 minutes with at most six swimmers. We skip Thanksgiving week and the winter holiday, so a term runs a little longer than 10 calendar weeks; we send the dates when you book.\",\n              \"groups\": [\n                {\n                  \"title\": \"Children\",\n                  \"note\": \"Per child, for the 10-week term\",\n                  \"items\": [\n                    {\n                      \"name\": \"Parent and baby\",\n                      \"description\": \"Tuesday 9:30 am or Saturday 9:00 am. Pick one. Up to six babies, each with a parent.\",\n                      \"price\": \"$180\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Splash\",\n                      \"description\": \"Tuesday 10:15 am, Thursday 4:00 pm or Saturday 9:45 am. Pick one.\",\n                      \"price\": \"$180\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Beginner\",\n                      \"description\": \"Monday 4:30 pm, Wednesday 4:30 pm or Saturday 10:30 am. Pick one.\",\n                      \"price\": \"$190\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Improver\",\n                      \"description\": \"Monday 5:15 pm, Thursday 5:15 pm or Saturday 11:15 am. Pick one.\",\n                      \"price\": \"$190\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Strokes\",\n                      \"description\": \"Tuesday 5:15 pm, Wednesday 5:15 pm or Saturday 12:00 pm. Pick one.\",\n                      \"price\": \"$190\",\n                      \"tags\": []\n                    }\n                  ]\n                },\n                {\n                  \"title\": \"Adults\",\n                  \"note\": \"Per person, for the 10-week term\",\n                  \"items\": [\n                    {\n                      \"name\": \"Adult beginner\",\n                      \"description\": \"Thursday 7:00 pm or Sunday 10:00 am. Pick one.\",\n                      \"price\": \"$210\",\n                      \"tags\": []\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Prices in US dollars, paid for the whole term. A sibling in the same term takes $20 off. Missed a class? Ask for a make-up in another slot the same term, if there is space.\",\n              \"link\": {\n                \"label\": \"Book a free assessment\",\n                \"href\": \"#book\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"bring\" tone=\"muted\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Before the first class\",\n              \"title\": \"What to bring and how a class runs\",\n              \"description\": \"Arrive ten minutes early so everyone has time to change and shower before the start.\",\n              \"columns\": \"2\",\n              \"items\": [\n                {\n                  \"icon\": \"box\",\n                  \"title\": \"In the bag\",\n                  \"description\": \"Swimsuit, towel, goggles if your child likes them, and a swim cap for long hair. Babies need a swim diaper; we sell them at the desk.\"\n                },\n                {\n                  \"icon\": \"users\",\n                  \"title\": \"Parents on the poolside\",\n                  \"description\": \"Under 6s need a parent or carer at the pool all class: in the water for Parent and baby and Splash, on the poolside for Beginner. Older children need an adult in the building until collected.\"\n                },\n                {\n                  \"icon\": \"shield\",\n                  \"title\": \"In the water and on deck\",\n                  \"description\": \"The teacher is in the water with the youngest levels. A lifeguard is on deck during every class, as the pool's rules require.\"\n                },\n                {\n                  \"icon\": \"check\",\n                  \"title\": \"Not feeling well\",\n                  \"description\": \"Please stay home with a stomach bug and come back 48 hours after the last symptom. Tell us and we offer a make-up class if there is space.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"faq\">\n        <FaqList\n          props={{\n            ...FaqListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Questions\",\n              \"title\": \"What parents ask before booking\",\n              \"description\": \"Anything else, ask when you book your assessment.\",\n              \"items\": [\n                {\n                  \"question\": \"How long until my child can swim?\",\n                  \"answer\": \"It differs for every child, so we do not promise a number of lessons. Your teacher tells you at the end of each term what your child can do and which level comes next.\"\n                },\n                {\n                  \"question\": \"What happens at the free assessment?\",\n                  \"answer\": \"A teacher spends 15 minutes in the water with your child, or with you if you are an adult, and sees what they can already do. Then we suggest a class and a time. There is no charge and no need to sign up afterwards.\"\n                },\n                {\n                  \"question\": \"Can my child change level mid term?\",\n                  \"answer\": \"If the teacher thinks another level fits better, we move them to a class with space, at no extra cost.\"\n                },\n                {\n                  \"question\": \"What if my child is afraid of the water?\",\n                  \"answer\": \"That is normal. Tell the teacher at the start. Children go at their own pace, and nobody is made to jump in or put their face in before they are ready.\"\n                },\n                {\n                  \"question\": \"What if I need to cancel?\",\n                  \"answer\": \"Tell us before the term starts and we refund the term fee in full, minus a $20 booking charge. After the first class we cannot refund, but we can move you to another slot.\"\n                }\n              ]\n            },\n          } as typeof FaqListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"book\" tone=\"muted\">\n        <ContactBooking\n          props={{\n            ...ContactBookingSpec.defaults,\n            ...{\n              \"eyebrow\": \"Free assessment\",\n              \"title\": \"Book a free 15-minute assessment\",\n              \"description\": \"Pick the class you think fits, or the closest, and a time. Add a phone number and we text to confirm. We place you in a class after the assessment.\",\n              \"options\": [\n                {\n                  \"label\": \"Call\",\n                  \"description\": \"206-555-0150. Answered when the desk is open: see the hours below.\",\n                  \"link\": {\n                    \"label\": \"Call the office\",\n                    \"href\": \"tel:2065550150\"\n                  }\n                },\n                {\n                  \"label\": \"Email\",\n                  \"description\": \"classes@greenlakeswim.example. A reply within a working day.\",\n                  \"link\": {\n                    \"label\": \"Send an email\",\n                    \"href\": \"mailto:classes@greenlakeswim.example\"\n                  }\n                }\n              ],\n              \"choiceLabel\": \"Class you are asking about\",\n              \"choices\": [\n                \"Parent and baby\",\n                \"Splash\",\n                \"Beginner\",\n                \"Improver\",\n                \"Strokes\",\n                \"Adult beginner\",\n                \"Not sure\"\n              ],\n              \"slotsTitle\": \"Pick a time\",\n              \"slots\": [\n                \"Mon 4:00 pm\",\n                \"Wed 4:00 pm\",\n                \"Thu 6:30 pm\",\n                \"Sat 8:30 am\",\n                \"Sat 1:00 pm\",\n                \"Sun 9:30 am\"\n              ],\n              \"nameLabel\": \"Name of the swimmer\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Cell number\",\n              \"submit\": \"Book assessment\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\"\n            },\n          } as typeof ContactBookingSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"visit\">\n        <ContactMap\n          props={{\n            ...ContactMapSpec.defaults,\n            ...{\n              \"eyebrow\": \"Where we teach\",\n              \"title\": \"A warm pool near Green Lake\",\n              \"address\": \"Green Lake Swim School\\nGreen Lake, Seattle\",\n              \"hoursTitle\": \"Desk hours\",\n              \"hours\": [\n                {\n                  \"day\": \"Monday\",\n                  \"time\": \"3:30 pm to 8:00 pm\"\n                },\n                {\n                  \"day\": \"Tuesday\",\n                  \"time\": \"9:00 am to 8:00 pm\"\n                },\n                {\n                  \"day\": \"Wednesday and Thursday\",\n                  \"time\": \"3:30 pm to 8:00 pm\"\n                },\n                {\n                  \"day\": \"Friday\",\n                  \"time\": \"Closed\"\n                },\n                {\n                  \"day\": \"Saturday\",\n                  \"time\": \"8:30 am to 2:00 pm\"\n                },\n                {\n                  \"day\": \"Sunday\",\n                  \"time\": \"9:30 am to 11:30 am\"\n                }\n              ],\n              \"phone\": \"206-555-0150\",\n              \"email\": \"classes@greenlakeswim.example\",\n              \"directions\": {\n                \"label\": \"Get directions\",\n                \"href\": \"https://example.com/directions\"\n              },\n              \"map\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/map-2.svg\",\n                \"alt\": \"Map of the Green Lake neighborhood with the pool marked and street parking nearby\",\n                \"srcDark\": \"https://ui.klarhimmel.com/pictures/map-2-dark.svg\"\n              }\n            },\n          } as typeof ContactMapSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Green Lake Swim School\",\n              \"links\": [\n                {\n                  \"label\": \"Classes\",\n                  \"href\": \"#classes\"\n                },\n                {\n                  \"label\": \"Prices\",\n                  \"href\": \"#prices\"\n                },\n                {\n                  \"label\": \"Free assessment\",\n                  \"href\": \"#book\"\n                },\n                {\n                  \"label\": \"Privacy\",\n                  \"href\": \"https://example.com/privacy\"\n                }\n              ],\n              \"legal\": \"© 2026 Green Lake Swim School LLC, Seattle. We rent the pool and follow its safety rules.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
