The banners are based on the variant banner of desktop-de-16.
Acceptance Criteria
- In both the control and the variant banner,
- the progress bar is changed using the --late-progress modifier.
- the progress bar displays the remaining campaign days after the animation finishes.
- In viewport widths of 1580 pixels and above:
- The regular banner is displayed immediately after loading.
- The regular banner is not fixed.
- When the banner moves out of the viewport, the mini banner is displayed and fixed to the top.
- When the regular banner is scrolled into the viewport, the mini banner is being hidden.
- When clicking the green button in the mini banner, the regular banner is displayed and fixed to the top.
- The label of the green button in the mini banner is "Ja, ich spende".
- Clicking the close button of the mini banner
- is being logged and can be distinguished from close button clicks of the regular banner.
- results in banners not being displayed for 7 days.
Notes
The behaviour is the same as in current WMF banners.