Document component
Let's clean this up. Also, let's rename it to DocumentIcon
to make it more representative of what it's about.
Apart from the above:
- the text seems to not be centered properly
- background colors should be declared in CSS, not js
- I don't think we need the "footer" component at all (why not just use a border)
More broadly speaking, this should be a very simple component of just a handful of lines. Most of the code here is unnecessary.