crimethinc / website

Ruby on Rails app that powers crimethinc.com
https://crimethinc.com
Creative Commons Zero v1.0 Universal
101 stars 31 forks source link

[TCE] Replace icon font with SVG icons #1060

Closed veganstraightedge closed 3 years ago

veganstraightedge commented 5 years ago

crimethinc.com/tce

screen shot 2019-03-05 at 9 08 56 pm

Icon font is used in the header nav. Maybe elsewhere too?

https://github.com/crimethinc/website/blob/1078fb874181cf77eeead05c4c84435ff48ab677/app/views/layouts/to_change_everything.html.erb#L69 https://github.com/crimethinc/website/blob/1078fb874181cf77eeead05c4c84435ff48ab677/app/views/layouts/to_change_everything.html.erb#L79 https://github.com/crimethinc/website/blob/1078fb874181cf77eeead05c4c84435ff48ab677/app/views/layouts/to_change_everything.html.erb#L89


UPDATE: all of the icons are now here, as SVGs.

https://github.com/crimethinc/website/tree/master/app/assets/images/to-change-everything/icons

danarel commented 4 years ago

I would suggest replacing those images with Fork Awesome SVGs / fonts.

https://forkaweso.me/Fork-Awesome/icons/

Easier than recreating what's already out there.

veganstraightedge commented 4 years ago

Thanks @danarel. Could you help us find the matching SVG icons in that set?

IgnazNepumuk commented 4 years ago

tce_glyphs.tar.gz

I have exported all the glyphs to svg and packed it as .tgz

veganstraightedge commented 4 years ago

Thanks @IgnazNepumuk! I'll work on adding them to the codebase now. 👍🏻

veganstraightedge commented 4 years ago

I added the SVGs to the codebase.

https://github.com/crimethinc/website/tree/master/app/assets/images/to-change-everything/icons