Split CSS into components, format CSS consistently
Remove all process.env['NODE_ENV'] !== 'test' conditions in the application code, and replace them with jest configuration in the test code.
Minor refactors for code reuse. function / variable renames
Given the above refactors, it was very simple to implement a small feature that loads the hackmap title from the issue title (e.g. the map title can be "March 2018 Hack Night" instead of the hard-coded "BKKHackmap") so I snuck that feature into this PR, too.
Some tasks I've been meaning to do for a while:
process.env['NODE_ENV'] !== 'test'
conditions in the application code, and replace them with jest configuration in the test code.Given the above refactors, it was very simple to implement a small feature that loads the hackmap title from the issue title (e.g. the map title can be "March 2018 Hack Night" instead of the hard-coded "BKKHackmap") so I snuck that feature into this PR, too.