72 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
Leon Xu 4595eb99e1 doc: add tr and td table styles 2022-05-02 21:11:53 -07:00
Leon Xu 37b34040a7 doc: add styles to Table stylesheet 2022-05-02 21:09:27 -07:00
Leon Xu a48b4d3027 doc: add data to Table component 2022-05-02 21:09:11 -07:00
Leon Xu 954ae57aa8 file: create Table component and its own stylesheet 2022-05-02 20:40:39 -07:00
Leon Xu 4e1f2384da doc: add Table component to App.js 2022-05-02 20:40:05 -07:00
Leon Xu 80d65d0bca doc: import CardContent, axios, InfoBox and add datas from fetch requests 2022-05-02 20:36:51 -07:00
Leon Xu 3434e67e3c doc: add axios package 2022-05-02 20:30:19 -07:00
Leon Xu 3f66d569f5 doc: add app and app__left class 2022-05-02 20:06:30 -07:00
Leon Xu 04e109eef3 fix: change the right section to Card 2022-05-02 20:00:32 -07:00
Leon Xu 4543ca28e7 doc: import InfoBox, Map and add a left and right info box 2022-05-02 19:59:36 -07:00
Leon Xu a7396e78ef doc: add body and app__status selector 2022-05-02 19:56:15 -07:00
Leon Xu 660aefb2fa file: create Map component and its stylesheet 2022-05-02 19:55:38 -07:00
Leon Xu 9e8f6c01b2 doc: add Card, CardContent, and Typography from material-ui and return statements 2022-05-02 19:48:56 -07:00
Leon Xu 765c1d98da file: create InfoBox stylesheet 2022-05-02 19:47:25 -07:00
Leon Xu 0e75e337aa doc: add app__stats section 2022-05-02 19:42:36 -07:00
Leon Xu f4fd0c32d6 file: create InfoBox component 2022-05-02 19:41:51 -07:00
Leon Xu f6c75d0f74 doc: create getCountriesData with app__header class 2022-05-02 19:15:38 -07:00
Leon Xu d788812a8a doc: add app__header class style 2022-05-02 18:55:03 -07:00
Leon Xu 9287dd3080 doc: add Open Disease Data API to README 2022-05-02 18:54:06 -07:00
Leon Xu 1421f54388 fix: remove App stylesheet and reset to default 2022-05-02 18:30:44 -07:00
Leon Xu 4fa121b2e7 file: initialize default React files 2022-05-02 18:28:49 -07:00
Leon Xu 1af75d2d95 doc: update README.md 2022-05-02 16:49:03 -07:00