Currently, the announcement banners (3x red cards/boxes) are using placeholder cards that dont have any functional utility. This task focuses on implementing that.
Core
New DB table announcements
link string field - for the url of the announcement
external bool field - to declare if this announcement's link is external or not
image string field - for the url of the image used in the background
createdAt field - refer to other tables
updatedAt field - refer to other tables
Read from db table and populate information on the card (thi component should be a server component)
Optional
styles
make announcement banner responsive (scroll on overflow in x-axis or use a carousel)
Features
Currently, the announcement banners (3x red cards/boxes) are using placeholder cards that dont have any functional utility. This task focuses on implementing that.
Core
announcements
link
string field - for the url of the announcementexternal
bool field - to declare if this announcement'slink
is external or notimage
string field - for the url of the image used in the backgroundcreatedAt
field - refer to other tablesupdatedAt
field - refer to other tablesOptional