responsible-ai-collaborative / aiid

The AI Incident Database seeks to identify, define, and catalog artificial intelligence incidents.
https://incidentdatabase.ai
Other
169 stars 35 forks source link

Make a generic components for incident and report cards #956

Open lmcnulty opened 2 years ago

lmcnulty commented 2 years ago

We currently have a bunch of different places where we display incidents or reports in cards. These all have different styles:

image

image

We should convert these into a single generic component that can render appropriately in response to parameters. This should go along with moving to Tailwind.

smcgregor commented 1 year ago

@clari182 I think you may be working this one in another way?

clari182 commented 1 year ago

@smcgregor Yes. Now we are using Flowbite, so any time we need a card we use their card's component. There are exceptions though, that can be improved, like the sections' cards on the citation page. I can take this issue and work on improvements where possible!