Skip to content

Commit

Permalink
* fixed typos
Browse files Browse the repository at this point in the history
* updated weekly cases
  • Loading branch information
FedericoTartarini committed Sep 15, 2020
1 parent fad3d31 commit a9a0f2e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 43 deletions.
51 changes: 12 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Deploy

Just push the changes to master.

The `deploy_to_ghpages.yml` file contains the code that will run in GitHub actions.
The code will build the website and deploy it to gh-pages.

This repo is the connected to Netlify and Netlify will deploy the latest version of the code that is in the `gh-pages` branch.

Data is downloaded on daily basis using the Python script in the `python` folder.
The script then also pushes the changes to master and triggers the GitHub action.

## Available Scripts

In the project directory, you can run:
Expand Down Expand Up @@ -27,42 +39,3 @@ Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `yarn build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
4 changes: 2 additions & 2 deletions src/Components/HomeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ function HomeView() {
</p>
<p className="mt-2">
People should also ensure that no stagnant water is present in their
homes and immediate surrounding and should remove any stagnant water
if present.
homes and immediate surroundings and in case any stagnant water is
present it should be removed immediately.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/LineChartWeeklyDengue.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function LineChartWeeklyDengue() {
</div>
<div className="container mx-auto flex px-5 flex-col">
<p className="mt-6">
The data until May 2020 were downloaded from data.gov.sg. while the
The data until May 2020 has been downloaded from data.gov.sg while the
latest data are downloaded weekly from the nea.gov.sg website.
</p>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/Data/infectious_disease.json
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,9 @@
1667,
1339,
1288,
1155
1155,
942,
624
],
"color": "#1f77b4"
}
Expand Down

0 comments on commit a9a0f2e

Please sign in to comment.