feat: Featured Upcoming Event card(issue#28) - #98
Open
IshimweIsaac wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements the Featured Upcoming Event card component for the
/eventspage 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
components/events/featured-event-card.tsx.bg-neutral-950date stamp overlay (OCT 24, 2024) in top-left of the cover image usingfont-monowhite text, matching the spec exactly.font-black uppercaseat32pxto match the editorial-tech typography guidelines.MapPin,Calendar, andClockicons fromlucide-reactfor location and time details.32×32) sourced fromi.pravatar.ccwith aborder-2 border-whiteseparator and-space-x-2.5negative spacing.+42cyan pill usingbg-[#38BDF8]withfont-boldwhite text.style={{ borderRadius: '10px' }}inline to bypass the globalborder-radius: 0reset (as intended avatars are a documented exception indesign-style-guide.md).flex-col lg:flex-rowto stack the two cards vertically on mobile and side-by-side on desktop.lg:w-[340px]) collapses to full-width on smaller screens.dark:classes the project does not support dark mode.neutral-*,primary-*).Notes for Reviewer
app/(public)/events/page.tsxto verify layout and sizing, butpage.tsxhas been kept clean in this branch to avoid conflicts with Issues ISSUE-026 — Compose landing page (app/(public)/page.tsx) #26 and ISSUE-027 — Events Hub header with filter tag pills #27.i.pravatar.ccas placeholder data. Thei.pravatar.cchostname must be added tonext.config.tsunderimages.remotePatterns(or swapped for real attendee data when available).