We should not write CSS using style={}
We could either write CSS in js using a third-party library like emotion-js or styled-components
or we can write traditional CSS using .css or .scss file. for this approach, we can have a better folder structure like
components/
DispalyCard
- displaycard.js
- displaycard.css
Footer
- footer.js
- footer.css