Background
Neither EventCard nor EventHeader know about category/bannerUrl
(both added to CreatorEvent in Issue 1):
The listing page ((authenticated)/creator-events/page.tsx) has status
filter buttons (lines 78-90) but no category filter, and its local
CreatorEvent interface (lines 9-21, a page-local duplicate of the
context's type — note this duplication, but resolving it is out of scope
here) also lacks category/bannerUrl.
Goal
Surface category (as a badge) and bannerUrl (as a card/header banner
image, with a graceful fallback) on EventCard and EventHeader, and add a
category filter to the listing page.
Acceptance Criteria
Background
Neither
EventCardnorEventHeaderknow aboutcategory/bannerUrl(both added to
CreatorEventin Issue 1):The listing page (
(authenticated)/creator-events/page.tsx) has statusfilter buttons (lines 78-90) but no category filter, and its local
CreatorEventinterface (lines 9-21, a page-local duplicate of thecontext's type — note this duplication, but resolving it is out of scope
here) also lacks
category/bannerUrl.Goal
Surface
category(as a badge) andbannerUrl(as a card/header bannerimage, with a graceful fallback) on
EventCardandEventHeader, and add acategory filter to the listing page.
Acceptance Criteria
EventCardshows a category badge for every event, and a banner imageEventHeadershows the same category badge and an optional full-width<img>with a broken/unreachablebannerUrldoesn't show a broken-