Skip to content

feat: Featured Upcoming Event card(issue#28) - #98

Open
IshimweIsaac wants to merge 3 commits into
react-rwanda:mainfrom
IshimweIsaac:feat/issue-28
Open

feat: Featured Upcoming Event card(issue#28)#98
IshimweIsaac wants to merge 3 commits into
react-rwanda:mainfrom
IshimweIsaac:feat/issue-28

Conversation

@IshimweIsaac

Copy link
Copy Markdown

Overview

This PR implements the Featured Upcoming Event card component for the /events page as outlined in Issue #28. It closely adheres to the provided screenshots (events_2.png, event_3.png) and design guidelines.

Closes #28

What was done

  • Component Created: Built components/events/featured-event-card.tsx.
  • Figma Alignment:
    • Implemented a two-column layout: a large main event card on the left and a smaller "Next Workshop" sidebar card on the right.
    • Applied the bg-neutral-950 date stamp overlay (OCT 24, 2024) in top-left of the cover image using font-mono white text, matching the spec exactly.
    • Styled the event title in font-black uppercase at 32px to match the editorial-tech typography guidelines.
    • Used MapPin, Calendar, and Clock icons from lucide-react for location and time details.
  • Attendee Avatar Stack:
    • Rendered 3 overlapping attendee avatars (32×32) sourced from i.pravatar.cc with a border-2 border-white separator and -space-x-2.5 negative spacing.
    • Added the +42 cyan pill using bg-[#38BDF8] with font-bold white text.
    • Applied style={{ borderRadius: '10px' }} inline to bypass the global border-radius: 0 reset (as intended avatars are a documented exception in design-style-guide.md).
  • Responsive Layout:
    • Used flex-col lg:flex-row to stack the two cards vertically on mobile and side-by-side on desktop.
    • The sidebar card (lg:w-[340px]) collapses to full-width on smaller screens.
  • Design System Compliance:
    • Zero dark: classes the project does not support dark mode.
    • All colors use design system tokens (neutral-*, primary-*).
    • All corners are sharp (0px) except the avatar stack which uses inline styles per the spec exception.

Notes for Reviewer

Screenshot From 2026-06-01 21-17-35 Screenshot From 2026-06-01 21-17-44

@IshimweIsaac IshimweIsaac self-assigned this Jun 1, 2026
@IshimweIsaac IshimweIsaac changed the title feat: Featured Upcoming Event card feat: Featured Upcoming Event card(issue#28) Jun 1, 2026
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-028 — Featured Upcoming Event card

1 participant