{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "template-wine-shop",
  "type": "registry:block",
  "title": "Wine shop template",
  "description": "One page for an independent wine shop (Pell Street Wines, Nunhead, London): the bottles on the shelf this month, Saturday tastings, the case discount, local delivery and help with gifts and events.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/navbar-simple.json",
    "https://ui.klarhimmel.com/r/hero-split.json",
    "https://ui.klarhimmel.com/r/gallery-grid.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-form.json",
    "https://ui.klarhimmel.com/r/footer-simple.json",
    "https://ui.klarhimmel.com/r/theme.json"
  ],
  "files": [
    {
      "path": "templates/wine-shop.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/templates/wine-shop.tsx",
      "content": "// Wine shop 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 them at your own pages. The phone link calls from a phone.\n//  - Images: every `media.src` is empty; each alt names the photo that belongs there. Use your own photos of each bottle on the shelf, taken in daylight against a plain background.\n//  - Shelves: the bottles are a gallery with a price and a note under each, so change them once a month; add the grower's name from the label you hold. Case discounts, delivery charges and the return rule on the events card are the owner's rules; edit them in one place each. Age policy lines must stay.\n//  - Forms: set `action` on the enquiry form (it is `/replace-with-your-endpoint` now). With `method: 'post'` it submits natively. The live demo never submits. Style: wine accent on warm paper, DM Sans, light and dark.\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 GalleryGrid, { spec as GalleryGridSpec } from '../blocks/gallery-grid';\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 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\": \"#f8f3ee\",\n    \"surface\": \"#fffdfa\",\n    \"ink\": \"#261c20\",\n    \"muted\": \"#5f5258\",\n    \"line\": \"#e6dbd5\",\n    \"accent\": \"#84485a\",\n    \"accentFg\": \"#ffffff\"\n  },\n  \"altColors\": {\n    \"canvas\": \"#1a1417\",\n    \"surface\": \"#241c20\",\n    \"ink\": \"#f3eaed\",\n    \"muted\": \"#bcaab1\",\n    \"line\": \"#3a2e33\",\n    \"accent\": \"#e8b4c4\",\n    \"accentFg\": \"#1a1417\"\n  },\n  \"fonts\": {\n    \"display\": \"DM Sans\",\n    \"sans\": \"DM Sans\",\n    \"mono\": \"JetBrains Mono\"\n  },\n  \"radius\": 6,\n  \"size\": 16\n};\n\nexport default function WineShopTemplate() {\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\": \"Pell Street Wines\",\n              \"links\": [\n                {\n                  \"label\": \"Shelves\",\n                  \"href\": \"#shelves\"\n                },\n                {\n                  \"label\": \"Tastings\",\n                  \"href\": \"#tastings\"\n                },\n                {\n                  \"label\": \"Cases\",\n                  \"href\": \"#cases\"\n                },\n                {\n                  \"label\": \"Delivery\",\n                  \"href\": \"#delivery\"\n                }\n              ],\n              \"cta\": {\n                \"label\": \"Ask us\",\n                \"href\": \"#contact\"\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 wine shop in Nunhead, south-east London\",\n              \"title\": \"Forty bottles on the shelf, from small growers, changed every month\",\n              \"description\": \"We are a small shop and we buy from small growers. The list changes every month, so you can see what is on the shelf now, taste on Saturdays and have a case brought to your door.\",\n              \"primary\": {\n                \"label\": \"See this month's bottles\",\n                \"href\": \"#shelves\"\n              },\n              \"secondary\": {\n                \"label\": \"Saturday tastings\",\n                \"href\": \"#tastings\"\n              },\n              \"media\": {\n                \"src\": \"https://ui.klarhimmel.com/pictures/photo-wine1.avif\",\n                \"alt\": \"Wine bottles on a tall rack\"\n              },\n              \"note\": \"Tue to Fri noon to 8 pm, Sat 11 am to 7 pm. ID if you look under 25.\",\n              \"command\": \"\"\n            },\n          } as typeof HeroSplitSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"shelves\" tone=\"muted\">\n        <GalleryGrid\n          props={{\n            ...GalleryGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"On the shelf in October\",\n              \"title\": \"Six bottles from the shelf this month\",\n              \"description\": \"A few from the forty. Prices include VAT. Come in and ask, or send a message and we will say if we can hold a bottle for you.\",\n              \"columns\": \"3\",\n              \"items\": [\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-wine2.avif\",\n                    \"alt\": \"Bottles lying on a wooden shelf\"\n                  },\n                  \"caption\": \"Chenin Blanc, Loire\",\n                  \"price\": \"£17.50\",\n                  \"note\": \"Dry, with quince and a stony finish. Good with goat's cheese.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-wine1.avif\",\n                    \"alt\": \"Wine bottles on a tall rack\"\n                  },\n                  \"caption\": \"Dolcetto, Piedmont\",\n                  \"price\": \"£15.00\",\n                  \"note\": \"Plum and almond skin, soft tannin. A weeknight red.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-wine2.avif\",\n                    \"alt\": \"Bottles lying on a wooden shelf\"\n                  },\n                  \"caption\": \"Crianza, Rioja\",\n                  \"price\": \"£16.50\",\n                  \"note\": \"Two years in oak, cherry and tobacco leaf, rounded and warm.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/scr-card.avif\",\n                    \"alt\": \"A card with a badge, a title, a short description and a button\",\n                    \"srcDark\": \"https://ui.klarhimmel.com/pictures/scr-card-dark.avif\"\n                  },\n                  \"caption\": \"Riesling Kabinett, Mosel\",\n                  \"price\": \"£18.00\",\n                  \"note\": \"Lightly sweet, lime and slate, 8.5% alcohol.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-wine1.avif\",\n                    \"alt\": \"Wine bottles on a tall rack\"\n                  },\n                  \"caption\": \"Tinto, Douro\",\n                  \"price\": \"£14.50\",\n                  \"note\": \"Dark berries, a little pepper. Made for roast meat.\"\n                },\n                {\n                  \"media\": {\n                    \"src\": \"https://ui.klarhimmel.com/pictures/photo-wine2.avif\",\n                    \"alt\": \"Bottles lying on a wooden shelf\"\n                  },\n                  \"caption\": \"Bacchus, Sussex\",\n                  \"price\": \"£21.00\",\n                  \"note\": \"English white, elderflower and green apple, bright and dry.\"\n                }\n              ]\n            },\n          } as typeof GalleryGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"tastings\">\n        <StepsNumbered\n          props={{\n            ...StepsNumberedSpec.defaults,\n            ...{\n              \"eyebrow\": \"Saturday tastings\",\n              \"title\": \"Every Saturday, 3 pm to 6 pm, in the shop\",\n              \"description\": \"Six small pours, a plate of bread and cheese, and one of us to answer questions. No booking for one or two people; for three or more, send us a message first. You must be 18 or over.\",\n              \"layout\": \"cards\",\n              \"items\": [\n                {\n                  \"title\": \"Drop in from 3 pm\",\n                  \"description\": \"Tasting is £12 for six pours. The £12 comes off any bottle you buy on the day.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Taste six, in your own time\",\n                  \"description\": \"Two whites, one rosé or orange, three reds. We tell you the grower, the grape and what we would eat with it.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                },\n                {\n                  \"title\": \"Take home what you liked\",\n                  \"description\": \"Bottles are at shelf price, and cases get the discount below. Spit buckets are on the table.\",\n                  \"meta\": \"\",\n                  \"code\": \"\"\n                }\n              ]\n            },\n          } as typeof StepsNumberedSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"cases\" tone=\"muted\">\n        <PriceList\n          props={{\n            ...PriceListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Cases\",\n              \"title\": \"Buy more bottles, pay less per bottle\",\n              \"description\": \"The discount is the same for every still wine on the shelf, mixed or not, so fill a case with what you like.\",\n              \"groups\": [\n                {\n                  \"title\": \"Our case rule\",\n                  \"note\": \"Any wines, any mix\",\n                  \"items\": [\n                    {\n                      \"name\": \"Six bottles\",\n                      \"description\": \"Mixed or all one wine.\",\n                      \"price\": \"5% off\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Twelve bottles\",\n                      \"description\": \"A full case, mixed or all one wine.\",\n                      \"price\": \"10% off\",\n                      \"tags\": []\n                    },\n                    {\n                      \"name\": \"Sparkling and half bottles\",\n                      \"description\": \"These count towards the number of bottles but are not discounted.\",\n                      \"price\": \"Full price\",\n                      \"tags\": []\n                    }\n                  ]\n                }\n              ],\n              \"note\": \"Discounts are taken off at the till or when we confirm your order. Tell us your budget and we will put a case together.\",\n              \"link\": {\n                \"label\": \"Ask for a case\",\n                \"href\": \"#contact\"\n              }\n            },\n          } as typeof PriceListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"delivery\">\n        <FeaturesGrid\n          props={{\n            ...FeaturesGridSpec.defaults,\n            ...{\n              \"eyebrow\": \"Delivery, gifts and events\",\n              \"title\": \"Bottles brought to you, and help with the rest\",\n              \"description\": \"We do this ourselves, so ask us anything before you order.\",\n              \"columns\": \"2\",\n              \"items\": [\n                {\n                  \"icon\": \"compass\",\n                  \"title\": \"Local delivery\",\n                  \"description\": \"Thursday and Saturday afternoons to Nunhead, Peckham, Brockley, Camberwell and East Dulwich. £5, or free when the order is over £60 after any discount.\"\n                },\n                {\n                  \"icon\": \"check\",\n                  \"title\": \"Age check on delivery\",\n                  \"description\": \"Someone aged 18 or over must be in to sign. We ask for ID if the person looks under 25, and we take the order back if we cannot give it to an adult.\"\n                },\n                {\n                  \"icon\": \"heart\",\n                  \"title\": \"Gifts\",\n                  \"description\": \"Tell us who it is for and what they drink. We wrap a bottle for £3 or make up a box of two or three from £30.\"\n                },\n                {\n                  \"icon\": \"users\",\n                  \"title\": \"Parties and events\",\n                  \"description\": \"Weddings, birthdays and office evenings. We suggest a list for your numbers and food. Ask about returning unopened bottles; the rule is on your order.\"\n                }\n              ]\n            },\n          } as typeof FeaturesGridSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"questions\" tone=\"muted\">\n        <FaqList\n          props={{\n            ...FaqListSpec.defaults,\n            ...{\n              \"eyebrow\": \"Before you come\",\n              \"title\": \"A few plain answers\",\n              \"description\": \"\",\n              \"items\": [\n                {\n                  \"question\": \"Do you check ID?\",\n                  \"answer\": \"Yes. We ask for ID from anyone who looks under 25, and we do not sell alcohol to anyone under 18. This applies in the shop, at tastings and at your door.\"\n                },\n                {\n                  \"question\": \"Can I try before I buy a case?\",\n                  \"answer\": \"Yes. Taste it at a Saturday tasting, or ask us on a weekday and we will open a bottle if we can.\"\n                },\n                {\n                  \"question\": \"Can you recommend something for a meal?\",\n                  \"answer\": \"Tell us the dish and your budget, by message or at the counter. We will name two or three bottles.\"\n                }\n              ]\n            },\n          } as typeof FaqListSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface id=\"contact\">\n        <ContactForm\n          props={{\n            ...ContactFormSpec.defaults,\n            ...{\n              \"eyebrow\": \"Ask us\",\n              \"title\": \"Hold a bottle, plan a case or ask about an event\",\n              \"description\": \"Write what you would like and the day. We reply by email, or by phone if you gave a number, within a day, Tuesday to Saturday.\",\n              \"details\": [\n                {\n                  \"label\": \"Phone\",\n                  \"value\": \"020 7946 0173\"\n                },\n                {\n                  \"label\": \"Email\",\n                  \"value\": \"hello@pellstreetwines.example\"\n                },\n                {\n                  \"label\": \"Shop\",\n                  \"value\": \"Evelina Road, Nunhead, south-east London\"\n                },\n                {\n                  \"label\": \"Hours\",\n                  \"value\": \"Tuesday to Friday noon to 8 pm, Saturday 11 am to 7 pm. Closed Sunday and Monday.\"\n                }\n              ],\n              \"nameLabel\": \"Your name\",\n              \"emailLabel\": \"Email\",\n              \"phoneLabel\": \"Phone (we may ring to confirm)\",\n              \"messageLabel\": \"What you would like, and the day\",\n              \"submit\": \"Send to the shop\",\n              \"consent\": \"We use your details to answer this message and nothing else. You must be 18 or over to order.\",\n              \"action\": \"/replace-with-your-endpoint\",\n              \"method\": \"post\",\n              \"messages\": {\n                \"sent\": \"Thank you. We have your message and will reply within a day, Tuesday to Saturday.\",\n                \"error\": \"Something went wrong. Please try again, or call 020 7946 0173.\"\n              }\n            },\n          } as typeof ContactFormSpec.defaults}\n        />\n      </BlockSurface>\n      <BlockSurface>\n        <FooterSimple\n          props={{\n            ...FooterSimpleSpec.defaults,\n            ...{\n              \"brand\": \"Pell Street Wines\",\n              \"links\": [\n                {\n                  \"label\": \"Shelves\",\n                  \"href\": \"#shelves\"\n                },\n                {\n                  \"label\": \"Tastings\",\n                  \"href\": \"#tastings\"\n                },\n                {\n                  \"label\": \"Cases\",\n                  \"href\": \"#cases\"\n                },\n                {\n                  \"label\": \"Instagram\",\n                  \"href\": \"https://example.com/instagram\"\n                }\n              ],\n              \"legal\": \"© 2026 Pell Street Wines Ltd, London. We do not sell alcohol to anyone under 18.\"\n            },\n          } as typeof FooterSimpleSpec.defaults}\n        />\n      </BlockSurface>\n    </Theme>\n  );\n}\n"
    }
  ]
}
