ContactPageContentEditorial
Editorial /contact page body: intro copy, address and direct contact lines, the inquiry panel with its form and success state, a New Business block and a pull quote.
Status: stable. Group: marketing. Markdown version: /design-system/components/contact-page-content-editorial.md
When to use
ContactPageContentEditorial assembles the editorial contact page: intro copy, an address and a description list of Email, Call and Chat direct lines (mailto, tel, WhatsApp and Signal links with copy buttons), ContactInquiryPanel with the message form and the post-submit success state, a New Business block with a portrait and a CTA plus a pull quote. The CTA labelled "Book a call" scrolls to the message form, not the booking tab. On mount, a #contact-form hash scrolls to the form. initialInquiryMode and bookingPackageId wire /pricing deep links through to the booking tab. Mount once per /contact route; the route provides metadata and page chrome.
When not to use
- Do not mount more than once per /contact route. Each instance reacts to the #contact-form hash, and the route provides metadata and page chrome.
Look-alikes
The contract names no look-alike with a deciding condition.
Props
| Prop | Type | Default | Description | Required |
|---|---|---|---|---|
className | string | none | Custom className. | No |
initialInquiryMode | "message" | "book" | none | Deep-link from /contact?mode=book. | No |
bookingPackageId | string | none | Deep-link from /contact?package=ux-sprint. | No |
bookingConfig | SiteBookingConfig | none | Server-resolved booking embed config from env vars. | No |
calculatorSummary | string | none | The pricing calculator choice the visitor arrived with, already worded. | No |
Variants
- Allowed
initialInquiryModevalues:message,book.
Invalid combinations
The contract records no invalid combinations.
Keyboard
The contract records no keyboard interaction.
Rules
Every item under When not to use is a MUST NOT. MUST and SHOULD follow RFC 2119.
| Level | Rule | How it is checked |
|---|---|---|
| MUST | ARIA: Direct lines render as a description list: Email, Call and Chat are dt terms; their dd values hold mailto, tel, WhatsApp and Signal links plus CodeCopyButtons with translated labels. The WhatsApp and Signal links open with target=_blank. | Not yet verified: no evidence record. WCAG 4.1.2. |
| MUST | ARIA: The New Business CTA is an in-page anchor to #contact-form; activating it scrolls ContactInquiryPanel to its message form and rewrites the URL hash. | Not yet verified: no evidence record. WCAG 4.1.2. |
| MUST | Required stories produce no axe violations at the configured severity. | Automated by npm run test:stories:matrix:ci. WCAG 2.5.8. |
| MUST | The accessibility tree (role, name, state) matches the committed snapshot for every required story. | Automated by npm run test:stories:matrix:ci. WCAG 1.3.1, 4.1.2. |
| MUST | The component remains legible and operable under a real browser forced-colors: active pass. | Automated by npm run test:stories:hc. |
| MUST | A human completed an end-to-end accessibility review of this component. | Manual review, last on 2026-11-04. |
Install and import
- In-repo only. ContactPageContentEditorial is not exported from
@digitaltableteur/react, so there is no public import path.
Links
- Machine-readable contract (Design System Contract 1.0)
- Markdown version of this page
- Component index as JSON
- All components
- Source: The implementation lives in a private repository. This page, its Markdown twin and the contract are generated from it at build time and are the public source of truth.