Skip to content

content-edit: /thank-you/ page rewrite (Bootstrap → Tailwind) - #107

Open
ardeay wants to merge 1 commit into
stagefrom
sam-thank-you-page-rewrite
Open

content-edit: /thank-you/ page rewrite (Bootstrap → Tailwind)#107
ardeay wants to merge 1 commit into
stagefrom
sam-thank-you-page-rewrite

Conversation

@ardeay

@ardeay ardeay commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Sam's 2026-09-11 Discord ask: full CMS body rewrite for /thank-you/?type=demo (Path A from the assessment). This artifact drafts the full replacement; the API PUT executes on merge.

Root cause

The body field on the basic_page item for /thank-you/ was authored in Bootstrap 5 markup (.col-lg-*, .card, .accordion, .badge, .form-control, .list-group, .table, .alert). The site is Tailwind-only with an incomplete Bootstrap-shim. Most visible symptom: the discovery-question <ul> lists render invisibly because Tailwind Preflight strips list-style and the typography plugin that would normally restore it isn't loaded on the CDN. Strategy & Outcomes opens to a blank card, which is what sam screenshotted.

Rewrite covers all 10 issues from my assessment

  • Blank Strategy accordion body (+ same bug on the other 3 categories)
  • Typo: "preperation" → "preparation" in the hero subtitle
  • <title> / hero copy mismatch: <title> says "Thank you for Contacting Us"; hero says "Thank you, we will reach out to you shortly." Consolidated to "Thank you — we'll be in touch | Content.One" tone-matched to the hero.
  • Empty og:description: populated
  • Inert ?type=demo param: deferred — flagged in artifact notes but not needed to unblock the visible bugs
  • Big vertical gaps between accordion sections: eliminated by the <details> migration
  • Button color drift: mapped to brand royal
  • Form field styling drift: mapped to Tailwind form controls used elsewhere on the site
  • Integration Inventory table: mapped to our brand table pattern
  • Broken /contact CTA link: fixed to /contact-us/

Scope of changes

Four fields on the item update: title, og_description, title_followup_text, body. Full before/after in the markdown.

⚠️ Item ZUID lookup needed

basic_page model ZUID is 6-ba8cf2c2f8-5f358h. The item ZUID for the thank-you slug isn't queryable from git — c1-agent.sh is read-only and its /client/views endpoint doesn't list content items. Someone with the Zesty admin (kaya, sam, or ardeay) needs to look it up before the PUT executes.

Test plan (post-merge)

  • https://www.content.one/thank-you/?type=demo loads
  • Strategy & Outcomes accordion opens with 4 visible bullets (no blank card)
  • Other 3 categories open/close via native <details>
  • <title> reads "Thank you — we'll be in touch | Content.One"
  • Social share preview shows the new OG description
  • Hero subtitle spelled "preparation"
  • Bottom "Book your discovery call" CTA routes to /contact-us/ (200)

…26-09-11)

Sam flagged 10 UI/copy issues on /thank-you/?type=demo. Root cause is the
CMS body field on this basic_page item was authored in Bootstrap 5 markup
but the site is now Tailwind-only with an incomplete Bootstrap shim. Most
visible symptom: the discovery-question <ul> lists render invisibly
because Tailwind Preflight strips list-style and the typography plugin
that would normally restore it isn't loaded on the CDN.

Fixes:
- Full body rewrite from Bootstrap markup to Tailwind-native
- Accordions converted from data-bs-toggle collapse pattern to native
  <details> - no JS dependency, no shim risk
- <ul list-disc pl-9> on discovery-question lists restores bullet visibility
- 'preperation' typo → 'preparation' in the hero subtitle
- title tag: 'Thank you for Contacting Us' → 'Thank you — we'll be in touch | Content.One'
  (aligned with the warmer hero copy)
- Empty og:description populated with a proper preview line
- Broken /contact CTA link updated to /contact-us/
- Alert box + KPI badges + integration criticality chips mapped to brand
  tokens (royal/success/danger/warning) instead of Bootstrap classes
- Kept every user-facing sentence — only the markup changed

## Execution
Model ZUID: 6-ba8cf2c2f8-5f358h (basic_page)
Item ZUID: needs lookup in Zesty admin (search basic_page for slug
'thank-you'). c1-agent.sh's read-only endpoint doesn't list content items,
so the ZUID isn't in git.

Fields to PUT:
- title
- og_description
- title_followup_text
- body

Idempotence check before writing: re-fetch item, confirm body still
contains the .container Bootstrap opener + the 'preperation' typo. If
someone edited it since this diff was drafted, stop and re-open with a
fresh diff.
@github-actions

Copy link
Copy Markdown
Contributor

💾 Stage sync preview

New files to create (0):
none

Will add/update — differ from dev (0):
none

Unchanged, skipped: 0

205 mapped resources · zesty-sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant