UNPKG

@awesomate/hosting-mcp

Version:

Awesomate MCP server — lets Claude manage your Awesomate WordPress hosting, plan, limits, n8n automations, and build Node/static apps + databases

51 lines (38 loc) • 3.12 kB
# Forms: how a sign-up form looks What a form asks, which lists it offers, single or double opt-in and the follow-up emails are in the awesomate-funnels skill. This file is how it looks. ## The form today The hub draws every sign-up form as one card with a fixed layout: the intro, first name and email (plus last name and phone when asked), each list as its own unticked box with the hub's own words, the small print, the button, and the thank-you. You design three things: 1. **Its colour.** One accent, chosen by the rule in [widgets.md](widgets.md): `--aw-primary` when it carries white text, else `--aw-dark` when that does, else none. On a WordPress site we host it goes on the form's shortcode (from `awesomate_crm_forms` `snippet`) as `accent="#hex"`; on any other site, `data-accent="#hex"` on the snippet's `<div>`. 2. **Its words.** The intro, button and thank-you are the owner's (awesomate-funnels section 4). The button names what they get ("Send me the checklist"), never "Submit". 3. **The page around it.** That is where the brand shows: the headline, the picture of the guide, the proof and the page's fonts and colours, built as a page ([pages.md](pages.md)). Put the form where the reader has the reason to act, often beside or straight under the promise, and again at the end of a long page. What you never design: the consent words beside each box, the small print and privacy link, or whether a box starts ticked (it never does). Those are the hub's, written from the list's promise, and they appear on every form whatever the design. ## A screenshot of a form they like Today the card's layout is fixed, so take from the screenshot what fits: the page around the form, its spacing and type, the picture beside it, and the button's words. Say plainly that the form itself keeps the hub's layout for now. See [from-an-image.md](from-an-image.md). ## When forms take a design of their own When `awesomate_crm_forms_change` offers a `design` field, a form can carry its own HTML and CSS on the brand's `--aw-*` tokens, with the hub's working parts written into it. Follow that tool's description for the slots it needs; until it offers one, don't write form HTML. The legal parts are sealed and branded for you: each list's tick box and its words, the small print and privacy link, the error messages and the thank-you are drawn by the form inside a sealed box your CSS cannot reach, in the brand's text font, with dark or light text on a solid background of its own, at 14px. Your design only places their slots (`data-aw="lists"`, `small-print`, `error`, `thanks`): where they sit, never how they look, so don't style inside them. Design the fields and the button freely on the tokens. On each visitor's browser the form checks every part can be read and used where it sits (not covered, not squeezed, not shrunk), and shows the standard form instead if one cannot. ## Check it Run the form lines in [critique.md](critique.md) at 375 px and desktop: the consent words and small print visible, the button contrast, errors readable, and the thank-you making sense.