Skip to content

Majors: link previews and search for a major's page - #41

Merged
dav3exe merged 2 commits into
startnextgen:stagingfrom
Cybertron-HNG:dev
Nov 26, 2026
Merged

dav3exe merged 2 commits into
startnextgen:stagingfrom
Cybertron-HNG:dev

Conversation

@dav3exe

@dav3exe dav3exe commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Brings Cybertron-HNG#197 to staging: start.ng/majors/ gets a server-written page with the major's own title, description, Event data and a 1200x630 preview picture drawn from its details (or the admin's own picture, majors.share_image_url, migration 0052). Deploy before the frontend PR.

start.ng/majors/<slug> gets a server-written page (/pages/majors/<slug>) with the
major's own title, description, Event data and preview picture, so X, WhatsApp
and search engines show the major instead of the general start.ng page.

The preview picture (/majors/<slug>/share.jpg, 1200x630) is drawn from the
major's details: start.ng x the partner's logo, the title, the dates in Nigeria
time, the prize on a ticket and the card picture fading in. Admins can give
their own picture instead (majors.share_image_url, migration 0052). Partner
pictures are fetched over https from public addresses only, with no
redirects, a size cap and a short timeout. Published majors join the sitemap.
Majors: link previews and search for a major's page
@dav3exe
dav3exe merged commit b2e05b5 into startnextgen:staging Nov 26, 2026
6 checks passed
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.

1 participant