Modules
Section-sized blocks, and the content modules an owner edits in the portal.
-
Booking
Visitors pick a day and time, fill in their details and get a confirmation by email, with cancel and reschedule links. This is a mock-up with sample availability (09:00–17:00 on Mondays, Wednesdays and Fridays): nothing is sent or saved.
-
Carousel
Horizontal scroll-snap: swipe or scroll with no JS. The Prev / Next buttons (data-carousel-step in a .carousel__controls block right after the carousel) are wired up by ui.js.
-
Checklist
An icon-led list of selling points: {{checklist.items}} draws a .checklist from client.json checklist (1 to 8 points, each with a title, an optional line and an icon). The owner picks the icon by name (Tick, Heart, Plant, People, Clock,
-
Class types
The cards in a studio's "what we practise" carousel: {{classes.cards}} draws the .carousel__slides from client.json classes (name, a line about it, a small label, and a switch to feature one). The page keeps its own .carousel wrapper (with
-
Code block
Code or config on a page: an embed snippet in a guide, a setting to copy. pre.code on its own is the plain block; wrap it in figure.code-block to add a filename label, and add data-copy for a Copy button (added by script, so without
-
Contact card
The main way to reach a business, as a block of its own: for a shop that lives on WhatsApp or the phone, set beside an enquiry form. An icon, a title, the number or handle, one line on what to send, the button, and an optional note on
-
CTA section
Use .cta--filled for a brand-tinted background. Works standalone or inside a .container.
-
Features
Icon + title + body. Icon uses .feature__icon with brand-tinted background.
-
Marquee
A strip of logos that scrolls by itself in a loop, for partners, integrations or "as seen in". List the items twice (the copy with empty alt text) so the loop is seamless. It pauses on hover and stands still for visitors who ask for
-
Menu
A food or drink menu: {{menu.sections}} draws a .carte from client.json menu (sections of dishes). Every dish says its allergens in words, so a missing tag never reads as safe: Contains: milk, eggs; No major allergens (the owner ticked
-
Naming sections
Give every block of a portal-enabled page an id (<section class="section" id="plans">), and a data-kleaver-label where its heading is missing or too clever for an owner to recognise (<div class="ticker" id="ticker"
-
Opening hours
The hours a business is open, written once in client.json (business.hours) and rendered by {{business.hoursList}}; the same data feeds the search-engine markup and llms.txt. Today's row is marked, and a line above the list says whether the
-
Owner portal
A site owner can sign in and change the data behind their own site without touching HTML. The portal mirrors the site: it offers an editor for a module only if the site actually shows that module. A site with no price list has no price
-
Page settings
A switch for each page's menu and footer. A site opts in page by page: list the page in client.json under pages ("pages": { "index": { "showMenu": true, "showFooter": true } }, the page's file name without .html) and give the page a
-
Photo gallery
The owner's photos: {{gallery.items}} draws a .gallery grid from client.json gallery (a list of image and an optional caption). A photo is never a file the owner hands the site: the portal resizes it in their browser to 480, 800 and 1200
-
Plans and prices
The pricing cards, and every price the site's own text quotes. Put {{plans.cards}} where the .pricing block was, and write the prices in prose as {{plan.trial.price}} (€99), {{plan.trial.priceExact}} (€99.00) and {{plan.trial.name}};
-
Price list
A menu of services or products with prices. It is a ruled list rather than a table, so a phone shows every column: name and price on one line, the note and time underneath; from 720px each item is one row. Write the prices once, as
-
Pricing table
Use .pricing__plan--featured to highlight the recommended plan.
-
Stats
Key numbers at a glance. All token-driven — no hardcoded colour.
-
Status
One row per service: a name, a text badge (Up, Degraded, Down: never colour alone), a 30-day strip and the uptime. Colours come from the success, warn and danger tokens. On a real site the rows are filled by scripts/status.js from the
-
Steps / process
Auto-numbered via CSS counters — no manual numbers in the HTML.
-
Team
Initials fallback when no photo is available — swap in an <img> and it fills the circle.
-
Team module
The people a customer meets: {{team.cards}} draws the .team--cards block from client.json team (a list of name, optional role and bio). The round avatar shows initials, worked out from the name (first and last word), so the owner never
-
Testimonial
Large pull-quote style. Distinct from .review which is compact card-sized.
-
Timeline
How it works — or a brand story. Dot + line column; last item's line is hidden.
-
Timetable
A week of classes as one flat list, so an owner edits rows instead of nested days: {{timetable.week}} draws the .timetable block grouped by day (Monday first), each day's classes by time, days with no classes left out. The sentence under