-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Countdown in hero (1 of 4) #133
Comments
Finalized design in Figma needed with day:hour:minute:second format @WendyKruger |
A separate tickt will be created for the form section. |
@ryanropero @WendyKruger Need details for the MCAE form needed for the countdown page, which will be handled in a separate ticket. |
Per @WendyKruger, decision on what to display once the countdown reaches 00:00:00:00 is still to be determined. This will need to be addressed in a separate ticket. @Meli-lazarte |
Question and comments about some of the AC:
|
@amglebihan Yes, the font in the Figma addresses the AC. Regarding the other items, that's fine. Thank you! |
User Story
As a long-haul customer interested in buying a new truck, I want to sign up to receive updates so that I can be kept up-to-date about M1.
Context/Description
MT teaser for M1 needs to include a hero countdown clock during the pre-reveal phase.
Leverage existing code from previous VNL launch. Netcentric/vg-volvotrucks-us-rd#66
Add the countdown in the section metadata for the hero (with the time and the date) and only load the countdown block when this date or time metadata is on the page.
###Assumptions:
When the countdown runs out then all the values would be 00.
If the user is visiting the page while the event is being live or have been expired then the countdown will not be displayed.
The date format should be in ISO 8601 format. E.g '2023-11-20T14:00:00.000Z'. Editors can add this date in the section meta data. Default time zone should be EST.
Countdown should start from April 8, 2025.
See design: https://www.figma.com/design/apGFsQv4eiZuJ9N6DxCFIm/M1-Teaser-landing-page?node-id=0-1&t=tmh2YYAhwPJpN9lX-1
Figma includes both Desktop and Mobile designs.
Acceptance Criteria
User AC:
The countdown will be shown below the title in the hero
All digits need to be shown on the same line
The digits need to be using font-feature-settings: 'tnum'; to maintain alignment
Granularity will be days/hours/minutes/seconds
All numbers will have two digits. When needed, use a leading zero. For example: "04" or "20"
A date should be set by a content editor.
Editors should be able to left-justify text.
Colors and Mack Trucks branding guidelines need to be followed.
A new "bold" font should be included.
Work for form will be handled in #145 (see Out of Scope).
Editor AC:
Non-functional AC:
Out of scope
Technical details
No response
Attachment / link to Figma
No response
The text was updated successfully, but these errors were encountered: