docs: archive add-landing-page-polish #81
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -790,3 +790,44 @@ Where this spec says text shows contact links, the page SHALL show phone numbers
|
||||
- **WHEN** a visitor opens the page
|
||||
- **THEN** "<b>Call</b>" shows as written
|
||||
- **AND** "+60 12-833 2775" links to `tel:+60128332775`
|
||||
|
||||
### Requirement: Top Bar Block
|
||||
|
||||
A page's first block MAY be a top bar. The top bar SHALL show the company logo, or the company name when there is no logo, and an optional button, and SHALL stay at the top of the window while the page scrolls. The server SHALL refuse a top bar that is not the first block, or one that carries fields other than its button and link name.
|
||||
|
||||
#### Scenario: Logo and button without the page title
|
||||
|
||||
- **GIVEN** page `/p/INS/hotel-technology-native` with "hide page header" on, a top bar with the button "Get My Free Consultation" linking to `#consult`, and a full-width hero
|
||||
- **WHEN** a visitor opens the page and scrolls down
|
||||
- **THEN** the INS logo and the button stay at the top of the window
|
||||
- **AND** no page title heading shows, and the hero starts directly under the bar
|
||||
|
||||
#### Scenario: Top bar further down is refused
|
||||
|
||||
- **WHEN** staff save a page whose top bar is the second block
|
||||
- **THEN** the save is refused with the reason naming that block
|
||||
|
||||
### Requirement: Section Labels
|
||||
|
||||
Feature cards, Steps, Image with text, FAQ and Call to action blocks MAY carry a label of at most 40 characters. The page SHALL show the label above the block's heading, in small uppercase letters in the accent colour. The server SHALL refuse a longer label, or a label on any other block type.
|
||||
|
||||
#### Scenario: Label above a heading
|
||||
|
||||
- **GIVEN** a Feature cards block with the label "Services" and the heading "Everything your guests touch, handled by one team"
|
||||
- **WHEN** a visitor opens the page
|
||||
- **THEN** "Services" shows in small uppercase letters directly above the heading
|
||||
|
||||
#### Scenario: Type a label in the editor
|
||||
|
||||
- **GIVEN** staff editing a Steps block
|
||||
- **WHEN** they type "How we work" in its label field and save
|
||||
- **THEN** the page keeps the label
|
||||
|
||||
### Requirement: Serif Section Headings
|
||||
|
||||
Section headings on landing pages SHALL use the serif typeface that the full-width hero uses.
|
||||
|
||||
#### Scenario: Feature heading in serif
|
||||
|
||||
- **WHEN** a visitor opens a page with a Feature cards block
|
||||
- **THEN** its heading uses the serif typeface
|
||||
Reference in new issue
Block a user