codeforboston / communityconnect

MIT License
24 stars 61 forks source link

Resources Icons #395

Open Leftere opened 5 years ago

Leftere commented 5 years ago

I'm trying to use FontAwesome for our resources icons.

As of right now I use props to find resources category and would like to match them with an appropriate icon.

Any suggestion on how to replace this link "https://cdn0.iconfinder.com/data/icons/business-human-resources-2/128/60-512.png", with an actual icon or component?

I will eventually create a functional component with a switch in it, where I will least all of our categories and matched icons

code

RajChaudhry commented 5 years ago

Any suggestion on how to replace this link "https://cdn0.iconfinder.com/data/icons/business-human-resources-2/128/60-512.png", with an actual icon or component?

One way to do this is to create another file assigning each link to a name, and importing that file to wherever you are coding this. However, I think #387 is a better way to do this, as it would be faster. However, we would have to plan out which specific icons we want to end up using.