Skip to content

feat(privacy): add Privacy Policy page (#61)#63

Merged
koechkevin merged 3 commits into
mainfrom
feat/privacy-policy-61
Jul 21, 2026
Merged

feat(privacy): add Privacy Policy page (#61)#63
koechkevin merged 3 commits into
mainfrom
feat/privacy-policy-61

Conversation

@koechkevin

@koechkevin koechkevin commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the Privacy Policy page from the approved design and wires it into the footer.

  • New route /privacy-policyPrivacyHero (navy cover-photo hero) over PrivacyBody, a single-column legal layout: numbered sections separated by plain grey hairline dividers (no side nav, no blue accent bar), with the design's typography (navy #021d33 headings, #3b3f45 body, 1.7 line-height, blue links).
  • Content — Code for Africa's data-protection policy as typed ContentBlocks in lib/privacy-content.ts, reusing the shared ContentBlocks/RichText primitives (**bold**, [label](href)).
  • Footer link — repointed "Privacy policy" from the external trustlab.africa URL to the internal /privacy-policy pathname (reusable across environments).

Design notes

  • Deliberately not the About-page layout (no ToC sidebar / blue section bar) — the design calls for a plain legal-document style.
  • Kept the design's section numbering ("1. Definitions" … "14. How to contact us"); the CfA "about" note is unnumbered at the end.

Screenshots

image

Testing

  • tsc --noEmit and biome pass
  • Verified locally: page renders at /privacy-policy, footer link navigates to it, section anchors/dividers/typography match the design

Closes #61

Add the Privacy Policy page from the approved design: a PrivacyHero over
a single-column legal layout (PrivacyBody) — numbered sections split by
plain grey hairline dividers, no side nav, design typography (navy
headings, #3b3f45 body, 1.7 line-height, blue links). Body copy is Code
for Africa's data-protection policy in lib/privacy-content.ts, reusing
the shared ContentBlocks/RichText primitives. Repoint the footer
"Privacy policy" link from the external trustlab.africa URL to the
internal /privacy-policy path.
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
pesacheck-ui Ready Ready Preview, Comment Jul 20, 2026 3:10pm

Request Review

Comment thread components/privacy/PrivacyBody.tsx Outdated
Comment thread lib/site.ts Outdated
Render the footer copyright with new Date().getFullYear() instead of a
hardcoded "2026", so it stays current. LEGAL now holds only the linked
legal items.
@koechkevin
koechkevin merged commit 2d41418 into main Jul 21, 2026
3 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.

PesaCheck | Privacy Policy Page

2 participants