Closed rudokemper closed 5 years ago
I've created the SVG sprites for the different markers, just need to figure out now how to make those show depending on different "type of place" in the Places model. Also, the popup should be rendering the data in a particular way:
<h1>{Name} {Type of place}<h1> (with bg as color of marker, determined by type of place)
<img>{photo}</img>
<p><em>Region: {region}</em></p>
<p>{Description}</p>
Worked on in this branch: https://github.com/rubyforgood/terrastories/tree/rudo-design
Rather than all places being represented by one marker, they should have unique markers with colors from the style guide, depending on the type of place (a field in the place model).
Additionally, within the place popup, the header of the popup can have the same color as the marker.