Commit Graph

30 Commits (fca0d3a5fa92d977f91413883f643f169cd1172d)

Author SHA1 Message Date
Aadhavan Srinivasan fca0d3a5fa Added help text
Aadhavan Srinivasan 4658ec5a9d Draw translation text above map, so that it isn't obscured
Aadhavan Srinivasan 6aedbbc942 Styling changes mostly done
Aadhavan Srinivasan 81fe778212 Works even better now
Aadhavan Srinivasan bf8825294b Mostly working
Aadhavan Srinivasan 6e9e11c41c Made some progress
Aadhavan Srinivasan 66d88c133b Started working on resizing SVG
Aadhavan Srinivasan ad254d2760 Added separate styling for mobile
Aadhavan Srinivasan 2f7cdd2ea7 Add loading spinner while map loads; fade in map and fade out spinner; load HTMX locally; show text while translations and romanizations are being fetched
Aadhavan Srinivasan c15bd02c17 Added pointer-events: none for state boundaries, updated translations
Aadhavan Srinivasan 53cd9b9465 More styling - increase language font size
Aadhavan Srinivasan 0c11a302e3 Added styling for language text
Aadhavan Srinivasan 0e26b2345a Show all texts at once; hide them while the results are being fetched; show them after the results have been fetched
Aadhavan Srinivasan d1feca7003 Make districts transparent; dim other languages when one is hovered; change default opacity of language
Aadhavan Srinivasan f20c17337b Added styling for romanizations (same as translations)
Aadhavan Srinivasan c5ff92f941 Added JS to fetch romanization from an endpoint and log it; added a CSS class to the loading bar to show while the data is being fetched
Aadhavan Srinivasan da3b3b8a16 Added loading indicator when translations are being retrieved
Aadhavan Srinivasan 6cd33ac06d Add noto fonts (unicode glyph support); use HTMX to replace translations on map; pointer-events for languageText to help select a state on the map
Aadhavan Srinivasan 73149275fd Added a form, added some more styling
Aadhavan Srinivasan ce89a74e70 Added a transparent fill, so that the language boundary can be 'hovered' on; added a hover action
Aadhavan Srinivasan 5fc15a2c5c Increase stroke width for language boundaries
Aadhavan Srinivasan c4e28998c5 Added some CSS for language boundaries
Aadhavan Srinivasan c98af5a5ae Draw states after districts; add 'fill: none' CSS to states; store a map of color to all features with that color
Aadhavan Srinivasan 3aa68451b7 Added Turf JS (haven't used it yet)
Aadhavan Srinivasan 8b8340fbce Minor update - change stroke color
Aadhavan Srinivasan 9cb4385a43 Add CSS to display state name on hover
Aadhavan Srinivasan ec4f1ddca9 Changed size of SVG
Aadhavan Srinivasan 11a287e242 Styling changes; moved JS to separate file
Aadhavan Srinivasan bc3f69bfa3 Added colors to the map (used four-color theorem, but did it manually)
Aadhavan Srinivasan 3a104140ab First commit