FrancescoXX / rustcrab

An Open Source project with everything you need to learn about Rust.
https://rustcrab.com
MIT License
404 stars 70 forks source link

[FEATURE] Create a component for cards #74

Closed devvsakib closed 2 months ago

devvsakib commented 2 months ago

Description

We should create a reusable card component that can be used for various items like books, tools, etc., You can then use this Card component to create specific components like BookCard, ToolCard, etc.

devvsakib commented 2 months ago

I will work on it

FrancescoXX commented 2 months ago

this is a good idea.

anyway, we don't want to be tied 100% toa single component, because the logic and the field inside each card might differ *for people we might need different fields compared to book, for example

but we should feinitively work on something consistent

I am honestly kinda happy for how it looks so far, just a few inconsistencies, but we are using very simple layouts