feat(pages): a footer section with contact links, and a thank-you text on landing forms #78

Merged
ngqile merged 1 commits from add-landing-thanks-and-footer into main 2026-12-04 03:45:38 +00:00
Owner

OpenSpec change: add-landing-thanks-and-footer.

  • New Footer section: 1 to 4 columns, each a title and text with line breaks kept, plus a legal line under a divider. It starts with the dark look. In the column text, phone numbers starting with +, emails and https:// or www. addresses become links (tel:, mailto: and https:), in the accent colour.
  • Thank-you text (up to 200 characters) on the Form block, and on a hero that has a form. It shows under the thank-you after a sign-up, with the same links. Choosing "No form" or changing company clears it on the hero.
  • Lighter full-width hero shade: it fades from about half dark to nearly clear at 70% of the width, as on INS. Phones get an even dark layer.
  • services-counter: thanksText and the FOOTER rules.
  • Labels: EN and zh_CN, with sql/01-thanks-footer-labels.sql.

Verification:

  • services-counter mvn verify: 382 tests, all passing.
  • Portal: vitest exit 0 (2014 passed); tsc and lint clean.
  • openspec validate --strict passes.
  • Live check on port 3001 through the editor, on /p/INS/hotel-technology-native:
    • added the hero's thank-you text;
    • added a three-column footer and removed the old Text footer;
    • published, then checked the page at 1280 px and 390 px.
  • The thank-you screen itself was not checked live, because that needs a real sign-up, which writes a record. Render tests cover it.

CI is expected to fail until solvway is available.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs

OpenSpec change: `add-landing-thanks-and-footer`. - New **Footer** section: 1 to 4 columns, each a title and text with line breaks kept, plus a legal line under a divider. It starts with the dark look. In the column text, phone numbers starting with `+`, emails and `https://` or `www.` addresses become links (`tel:`, `mailto:` and `https:`), in the accent colour. - **Thank-you text** (up to 200 characters) on the Form block, and on a hero that has a form. It shows under the thank-you after a sign-up, with the same links. Choosing "No form" or changing company clears it on the hero. - **Lighter full-width hero shade:** it fades from about half dark to nearly clear at 70% of the width, as on INS. Phones get an even dark layer. - **services-counter:** `thanksText` and the FOOTER rules. - **Labels:** EN and zh_CN, with `sql/01-thanks-footer-labels.sql`. Verification: - services-counter `mvn verify`: 382 tests, all passing. - Portal: vitest exit 0 (2014 passed); tsc and lint clean. - `openspec validate --strict` passes. - Live check on port 3001 through the editor, on `/p/INS/hotel-technology-native`: - added the hero's thank-you text; - added a three-column footer and removed the old Text footer; - published, then checked the page at 1280 px and 390 px. - The thank-you screen itself was not checked live, because that needs a real sign-up, which writes a record. Render tests cover it. CI is expected to fail until solvway is available. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
ngqile added 1 commit 2026-12-04 03:45:35 +00:00
Landing pages gain a Footer section (1 to 4 columns of title and text, a legal
line under a divider) whose phone numbers, emails and web addresses show as
links. The Form block and a hero with a form may carry a thank-you text shown
after sign-up, with the same links. Full-width heroes get a lighter shade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
ngqile merged commit 35e9b796f7 into main 2026-12-04 03:45:38 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ngqile/co-lite#78