This change implements the OpenSpec change add-hero-full-width. It brings the INS Hotel technology page close to the standalone INS landing page.
What a hero can now do
A "Full width" switch makes the hero span the window edge to edge. It gets a larger serif headline, centred in the first screen, and a lighter left-to-right shade.
It can list up to 6 points under its text, shown as bullets. Points are stored as title-only cards.
Its form card can open with a heading and a line of text. Both can be typed straight on the canvas, and both are dropped when the form is removed.
Spacing and frames
A full-width hero and a Custom HTML block that sit next to each other join with no gap.
Custom HTML frames can now shrink to 20 px (the floor was 100 px).
The page now asks each frame for its height once it is listening and again when the frame loads. Before, a frame's first height report could arrive too early and be missed, leaving the frame stuck at 600 px.
Server
CmsBlockValidator accepts 0 to 6 points on a hero, each a title only, at most 80 characters.
Form heading is at most 80 characters and form text at most 200.
Both are refused on a hero that has no form.
Labels and release
English and Chinese labels are added. The labels file for real environments is in the change folder.
docs/deployment.md has a release note.
Tests and checks
Every new test failed before its code and passes after it.
I changed two existing tests:
the header-less spacing test, because spacing is now a top margin on each block row rather than a space-y class;
the frame clamp test, for the 20 px floor in the modified spec.
vitest exit code 0, tsc clean, lint 0 errors, Maven verify passed for services-counter, and openspec validate --strict passed.
I checked the change live on port 3001 by editing and publishing /p/INS/hotel-technology, at 1280 px and at 390 px.
This change implements the OpenSpec change `add-hero-full-width`. It brings the INS Hotel technology page close to the standalone INS landing page.
**What a hero can now do**
- A "Full width" switch makes the hero span the window edge to edge. It gets a larger serif headline, centred in the first screen, and a lighter left-to-right shade.
- It can list up to 6 points under its text, shown as bullets. Points are stored as title-only cards.
- Its form card can open with a heading and a line of text. Both can be typed straight on the canvas, and both are dropped when the form is removed.
**Spacing and frames**
- A full-width hero and a Custom HTML block that sit next to each other join with no gap.
- Custom HTML frames can now shrink to 20 px (the floor was 100 px).
- The page now asks each frame for its height once it is listening and again when the frame loads. Before, a frame's first height report could arrive too early and be missed, leaving the frame stuck at 600 px.
**Server**
- `CmsBlockValidator` accepts 0 to 6 points on a hero, each a title only, at most 80 characters.
- Form heading is at most 80 characters and form text at most 200.
- Both are refused on a hero that has no form.
**Labels and release**
- English and Chinese labels are added. The labels file for real environments is in the change folder.
- `docs/deployment.md` has a release note.
**Tests and checks**
- Every new test failed before its code and passes after it.
- I changed two existing tests:
- the header-less spacing test, because spacing is now a top margin on each block row rather than a `space-y` class;
- the frame clamp test, for the 20 px floor in the modified spec.
- vitest exit code 0, tsc clean, lint 0 errors, Maven verify passed for services-counter, and `openspec validate --strict` passed.
- I checked the change live on port 3001 by editing and publishing `/p/INS/hotel-technology`, at 1280 px and at 390 px.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
A full-width hero spans the window with a larger serif headline and a lighter
left-to-right shade. It may list up to 6 points and give its form card a heading
and text. Full-width neighbours join with no gap. Custom HTML frames now shrink
to 20 px and re-report their height when the page asks, so a short top bar no
longer leaves a blank band.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
ngqile
merged commit fae25c11a6 into main2026-12-04 01:46:45 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This change implements the OpenSpec change
add-hero-full-width. It brings the INS Hotel technology page close to the standalone INS landing page.What a hero can now do
Spacing and frames
Server
CmsBlockValidatoraccepts 0 to 6 points on a hero, each a title only, at most 80 characters.Labels and release
docs/deployment.mdhas a release note.Tests and checks
space-yclass;openspec validate --strictpassed./p/INS/hotel-technology, at 1280 px and at 390 px.🤖 Generated with Claude Code
https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs