leighton-tidwell / devexe

0 stars 0 forks source link

Components - Create card component #23

Open leighton-tidwell opened 1 year ago

leighton-tidwell commented 1 year ago

Create a generic card component that can be used to wrap card like elements.

Acceptance Criteria:

Focus only on the rounded corner background from this image, that is the card component.

image

luca-bruni commented 1 year ago

Perhaps we can specify the component as something like 'Enticement Card' as to distinguish it from 'Server Card' component in code. This would also differ from something like 'Feature Card' describing the following:

Image

leighton-tidwell commented 1 year ago

Perhaps we can specify the component as something like 'Enticement Card' as to distinguish it from 'Server Card' component in code. This would also differ from something like 'Feature Card' describing the following:

Image

This story will just be for the gradient background and border radius behind the screenshot you posted here and our Feature cards. We should however have a prop like direction so we can change that gradient direction and any flex properties. Then we can extend this component to make the feature card and server card or any other specific "card like" components.

If you look at most UI libraries you will see a generic card component, that will help you see what we are making with this component.