Skip to content

Add the 16 Days of Activism band and campaign page - #79

Open
DATALEAD-AFRICA wants to merge 1 commit into
mainfrom
feat/16-days-of-activism
Open

DATALEAD-AFRICA wants to merge 1 commit into
mainfrom
feat/16-days-of-activism

Conversation

@DATALEAD-AFRICA

Copy link
Copy Markdown
Contributor

Adds a campaign band to the homepage and the page it links to, at /16-days-of-activism.

What to test on the Vercel preview

  • Homepage. The band sits above the hero and scrolls away. The woman with the placard overhangs the top edge and must not collide with the header. The statistic beside her changes every 4 seconds, always sliding upward, and should pause when you hover it.
  • Click "See more." It should land on the campaign page.
  • The film. Click the poster. The video must play inside the frame without leaving the site.
  • Narrow the window below 680px. The band drops the cut-out and collapses to a 64px bar; the campaign page stacks to one column.

Notes

  • The band takes itself down. It checks the date and renders nothing outside 25 November to 10 December, recomputed each year. The page stays up all year, so a link shared in December still works in March.
  • The fliers are set as real type, not embedded as images, so the content is searchable, readable by a screen reader and light on mobile data.
  • The film is a facade. YouTube's player is close to a megabyte before anyone presses play, so the poster loads first and the iframe is only mounted on click.
  • Statistics are from the Nigeria Demographic and Health Survey 2024. The 23% is measured among women who have ever had a partner, not all women, which the source note states.

Please check before merging

  • Dial all five helpline numbers. They came from each body's own published contact details, not from the campaign fliers. A helpline that has moved is worse than none.
  • The video is unlisted. Embedding it here makes it watchable by anyone who visits the page.

Unrelated, pre-existing

npm test fails one case on main already: coursesGrantProposal is in routes.ts but in neither list in api/_site-routes.js, so /courses/grant-and-proposal-writing is missing from the sitemap. Untouched here; worth its own one-line branch.


Generated by Claude Code

The band sits at the top of the homepage between 25 November and 10
December and scrolls away with the page. It works out the dates itself
and renders nothing outside the campaign, so nothing has to be taken
down by hand on the 11th, this year or any year after.

The page it links to stays up all year. The campaign fliers are set as
real type rather than embedded as JPEGs: text in an image cannot be
searched, read aloud, translated or reflowed on a phone, and the five
slides came to about 1.5 MB.

The film is a facade. YouTube's player is close to a megabyte before
anyone presses play, so the poster shows first and the iframe is only
mounted on click, in the same frame.

Statistics are from the Nigeria Demographic and Health Survey 2024.
The helpline numbers were taken from each body's own published contact
details and should be dialled again before they are changed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rxm5ahGsjZx66otSZtzatm
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
data-lead-web-frontend Ready Ready Preview Dec 1, 2026 7:44pm UTC

This branch was successfully deployed

1 active deployment
Preview — 939d0230 Deployed Dec 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants