Commit Graph
74 Commits
Author SHA1 Message Date
Leon Xu e712eefb2a doc: add both app__graph and app__graphTitle selector 2022-05-03 21:50:55 -07:00
Leon Xu 93b430c223 doc: add app__graph and app__graphTitle to h3 and LineGraph component 2022-05-03 21:49:25 -07:00
Leon Xu a85c69285f doc: add props to LineGraph 2022-05-03 21:47:05 -07:00
Leon Xu 3174917a25 doc: add both app__right and muicardcontent style 2022-05-03 21:43:37 -07:00
Leon Xu 605beecf87 doc: add app__dropdown selector 2022-05-03 21:41:31 -07:00
Leon Xu 494e4a7022 doc: add h1 to app__header class 2022-05-03 21:40:48 -07:00
Leon Xu 787c0f1374 doc: add conditional rendering to cases 2022-05-03 21:38:50 -07:00
Leon Xu 6fff8b33a2 doc: add infoBox__cases--green style 2022-05-03 21:38:29 -07:00
Leon Xu f46e93e900 doc: add cursor to the infoBox style 2022-05-03 21:34:46 -07:00
Leon Xu ffad63964a fix: change from border-top to border-color 2022-05-03 21:34:22 -07:00
Leon Xu 8c2cf16298 doc: add infoBox--red class selector 2022-05-03 21:33:50 -07:00
Leon Xu d248c2d884 doc: add isRed with infoBox--red class 2022-05-03 21:33:07 -07:00
Leon Xu aade3fccf0 doc: add isRed variable 2022-05-03 21:31:08 -07:00
Leon Xu 6a36af6865 doc: add InfoBox--selected selector 2022-05-03 21:30:19 -07:00
Leon Xu 184b075ab4 fix: change className to use rendering 2022-05-03 21:29:06 -07:00
Leon Xu bc0602081f doc: add active with different casesType 2022-05-03 21:26:46 -07:00
Leon Xu a3178d8719 doc: add casesType dynamically 2022-05-03 21:23:43 -07:00
Leon Xu ab44bcc82a doc: add props destructuring 2022-05-03 21:23:09 -07:00
Leon Xu 358d9e70f8 doc: add CasesType to map 2022-05-03 21:10:05 -07:00
Leon Xu 33b1821158 doc: add numeral to cases 2022-05-03 21:07:38 -07:00
Leon Xu b42aab585b doc: add onClick method to use setCasesType 2022-05-03 21:07:24 -07:00
Leon Xu b5aebb1274 doc: add prettyPrintStats to InfoBox 2022-05-03 21:03:09 -07:00
Leon Xu 06f258a00b doc: add prettyPrintStat method 2022-05-03 21:00:51 -07:00
Leon Xu 6e5d99c925 doc: add infoBox style 2022-05-03 20:59:06 -07:00
Leon Xu b98b23bbbd doc: add mapCountries useStates hook 2022-05-03 20:55:49 -07:00
Leon Xu c1b85ea366 doc: add info classes styles 2022-05-03 20:55:20 -07:00
Leon Xu e705c22c1e fix: change from info-confirm to info-confirmed 2022-05-03 20:51:47 -07:00
Leon Xu 13f04a0d37 fix: add remove hex colors and multipliers and change the fillOpacity back to 0.4 2022-05-03 20:48:23 -07:00
Leon Xu 8df656b2be fix: add cases to info-confirm class 2022-05-03 20:44:11 -07:00
Leon Xu 65bccce69a doc: add Popup sections with its classes 2022-05-03 20:43:05 -07:00
Leon Xu 3ba8fa95c6 fix: showDataOnMap method 2022-05-03 20:36:44 -07:00
Leon Xu a23bb0c09a doc: add Map and showDataOnMap with LeftletMap container 2022-05-03 15:37:34 -07:00
Leon Xu 21480a174f doc: add casesTypeColors and showDataOnMap 2022-05-03 15:36:58 -07:00
Leon Xu 8e01b373b7 doc: add setMapCenter and setMapZoom 2022-05-03 15:21:45 -07:00
Leon Xu 2388422057 doc: add styles to Map stylesheet 2022-05-03 15:21:27 -07:00
Leon Xu 00b1db2727 doc: change mapCenter coordinates to different lat and lng 2022-05-03 15:17:06 -07:00
Leon Xu b591d3d1d7 fix: remove console logging of the data 2022-05-03 15:13:42 -07:00
Leon Xu 36894befad fix: change from data.data to data in setCountryInfo 2022-05-03 15:08:48 -07:00
Leon Xu 4ac02574d4 doc: add mapCenter and mapZoom state and pass them as props 2022-05-03 15:08:18 -07:00
Leon Xu e8b23a4595 doc: import leaflet style 2022-05-03 15:02:15 -07:00
Leon Xu 8d6eaf4071 fix: remove axios import and change all axios to Fetch API 2022-05-03 14:57:11 -07:00
Leon Xu ee76daa535 doc: add LineGraph 2022-05-02 22:08:40 -07:00
Leon Xu 8ac44ad071 doc: update LineGraph component 2022-05-02 22:08:24 -07:00
Leon Xu d156bdaf29 file: remove LineGraph stylesheet 2022-05-02 21:58:44 -07:00
Leon Xu 404c210679 file: create LineGraph component and its own stylesheet 2022-05-02 21:20:10 -07:00
Leon Xu de3c674bb2 fix: change to one-liner 2022-05-02 21:18:22 -07:00
Leon Xu ff97bae9ec doc: import sortData and add it to getCountriesData method 2022-05-02 21:16:37 -07:00
Leon Xu bb67a4e801 doc: create sortData variable to sort data 2022-05-02 21:13:58 -07:00
Leon Xu 409b3e1479 doc: create sortData variable to sort data 2022-05-02 21:13:37 -07:00
Leon Xu d26d40b9be file: create util.js 2022-05-02 21:12:24 -07:00