Skip to content

feat: implement Member Directory header (issue#33) - #100

Open
IshimweIsaac wants to merge 7 commits into
react-rwanda:mainfrom
IshimweIsaac:feat/issue-33
Open

feat: implement Member Directory header (issue#33)#100
IshimweIsaac wants to merge 7 commits into
react-rwanda:mainfrom
IshimweIsaac:feat/issue-33

Conversation

@IshimweIsaac

Copy link
Copy Markdown

Overview

This PR implements the Member Directory page header for the /members route as outlined in Issue #33.

Closes #33

What was done

  • Page created: Built app/(public)/members/page.tsx (header section only).
  • Spec Alignment:
    • Implemented the page title "Member Directory" and description text.
    • Added two stat badges ACTIVE: {count} and VERIFIED: {count} pulled from the database via db.user.count().
    • Counts are cached via Redis with a 1-hour TTL using the existing getCachedOrFetch utility.
    • Badges sit to the right of the title on desktop and stack below on mobile (flex-colmd:flex-row).

Screenshots

(Desktop view showing layout and alignment)
Screenshot From 2026-06-01 23-16-44

Notes for Reviewer

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.

ISSUE-033 — Member Directory page header

1 participant