Skip to content

fix: add missing key prop in list items and improve announcement display - #100

Open
AliMahmoudDev wants to merge 1 commit into
deepsonK:mainfrom
AliMahmoudDev:fix/missing-key-prop-list
Open

AliMahmoudDev wants to merge 1 commit into
deepsonK:mainfrom
AliMahmoudDev:fix/missing-key-prop-list

Conversation

@AliMahmoudDev

Copy link
Copy Markdown

What this PR does

Fixes the missing key prop warning in list rendering and improves the announcement display component.

Changes

  • Added unique key prop using announcement.id for list items
  • Created typed AnnouncementList component with proper props
  • Added category-based styling (urgent, general, academic)
  • Added empty state when no announcements exist
  • Used semantic <time> element with dateTime attribute
  • Dark mode support

Closes #21

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.

Fix missing key prop in list items

1 participant