├── public
├── _redirects
├── logo.png
├── robots.txt
├── manifest.json
└── index.html
├── README.md
├── src
├── images
│ ├── logo.png
│ ├── Not-Found
│ │ └── 404.png
│ ├── do-donts
│ │ ├── dos-a.png
│ │ ├── dos-b.png
│ │ ├── dos-c.png
│ │ ├── donts-a.png
│ │ ├── donts-b.png
│ │ ├── donts-c.png
│ │ └── protect.png
│ ├── updates-logo.png
│ ├── Handwash
│ │ ├── hand-1.png
│ │ ├── hand-2.png
│ │ ├── hand-3.png
│ │ ├── hand-4.png
│ │ ├── hand-5.png
│ │ └── hand-6.png
│ ├── Protect
│ │ ├── advice1.png
│ │ ├── advice2.png
│ │ ├── advice3.png
│ │ └── advice4.png
│ ├── Symptom
│ │ ├── symptom1.png
│ │ ├── symptom2.png
│ │ └── symptom3.png
│ ├── Transmission
│ │ ├── cough.png
│ │ ├── person.png
│ │ └── contacting.png
│ ├── Cover-Page
│ │ └── main-image.png
│ └── Take-Steps
│ │ └── whatiscovid.png
├── Pages
│ ├── Cases
│ │ ├── Chart
│ │ │ ├── Chart.module.css
│ │ │ └── Chart.js
│ │ ├── Cases.module.css
│ │ ├── CountryPicker
│ │ │ ├── CountryPicker.js
│ │ │ └── CountryPicker.module.css
│ │ ├── Cards
│ │ │ ├── Cards.module.css
│ │ │ └── Cards.js
│ │ └── Cases.js
│ ├── NotFound
│ │ ├── NotFound.module.css
│ │ └── NotFound.js
│ └── Home
│ │ ├── Home.module.css
│ │ ├── Home.js
│ │ ├── Take-steps
│ │ ├── TakeSteps.module.css
│ │ └── TakeSteps.js
│ │ ├── CoverPage
│ │ ├── CoverPage.js
│ │ └── CoverPage.module.css
│ │ ├── HandWash
│ │ ├── HandWash.js
│ │ └── Handwash.module.css
│ │ ├── Transmission
│ │ └── Transmission.js
│ │ ├── Symptoms
│ │ └── Symptoms.js
│ │ ├── Treatment
│ │ ├── Treatment.module.css
│ │ └── Treatment.js
│ │ ├── Protect
│ │ └── Protect.js
│ │ ├── DoDonts
│ │ ├── DoDonts.js
│ │ └── DoDonts.module.css
│ │ └── AboutPage
│ │ ├── AboutPage.js
│ │ └── AboutPage.module.css
├── setupTests.js
├── App.test.js
├── index.js
├── index.css
├── App.css
├── App.js
├── UI
│ ├── Header
│ │ ├── Header.js
│ │ └── Header.module.css
│ ├── Footer
│ │ ├── Footer.module.css
│ │ └── Footer.js
│ └── ReusablePage
│ │ ├── ReusablePage.js
│ │ └── Reusable.module.css
├── API
│ └── index.js
└── serviceWorker.js
├── .gitignore
└── package.json
/public/_redirects:
--------------------------------------------------------------------------------
1 | /* /index.html 200
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | #CHECKOUT LIVE: [CLICK HERE](https://project-covid.netlify.app/)
2 |
--------------------------------------------------------------------------------
/public/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/public/logo.png
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/src/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/logo.png
--------------------------------------------------------------------------------
/src/images/Not-Found/404.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Not-Found/404.png
--------------------------------------------------------------------------------
/src/images/do-donts/dos-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/do-donts/dos-a.png
--------------------------------------------------------------------------------
/src/images/do-donts/dos-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/do-donts/dos-b.png
--------------------------------------------------------------------------------
/src/images/do-donts/dos-c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/do-donts/dos-c.png
--------------------------------------------------------------------------------
/src/images/updates-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/updates-logo.png
--------------------------------------------------------------------------------
/src/images/Handwash/hand-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Handwash/hand-1.png
--------------------------------------------------------------------------------
/src/images/Handwash/hand-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Handwash/hand-2.png
--------------------------------------------------------------------------------
/src/images/Handwash/hand-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Handwash/hand-3.png
--------------------------------------------------------------------------------
/src/images/Handwash/hand-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Handwash/hand-4.png
--------------------------------------------------------------------------------
/src/images/Handwash/hand-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Handwash/hand-5.png
--------------------------------------------------------------------------------
/src/images/Handwash/hand-6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Handwash/hand-6.png
--------------------------------------------------------------------------------
/src/images/Protect/advice1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Protect/advice1.png
--------------------------------------------------------------------------------
/src/images/Protect/advice2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Protect/advice2.png
--------------------------------------------------------------------------------
/src/images/Protect/advice3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Protect/advice3.png
--------------------------------------------------------------------------------
/src/images/Protect/advice4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Protect/advice4.png
--------------------------------------------------------------------------------
/src/images/Symptom/symptom1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Symptom/symptom1.png
--------------------------------------------------------------------------------
/src/images/Symptom/symptom2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Symptom/symptom2.png
--------------------------------------------------------------------------------
/src/images/Symptom/symptom3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Symptom/symptom3.png
--------------------------------------------------------------------------------
/src/images/do-donts/donts-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/do-donts/donts-a.png
--------------------------------------------------------------------------------
/src/images/do-donts/donts-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/do-donts/donts-b.png
--------------------------------------------------------------------------------
/src/images/do-donts/donts-c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/do-donts/donts-c.png
--------------------------------------------------------------------------------
/src/images/do-donts/protect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/do-donts/protect.png
--------------------------------------------------------------------------------
/src/images/Transmission/cough.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Transmission/cough.png
--------------------------------------------------------------------------------
/src/images/Transmission/person.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Transmission/person.png
--------------------------------------------------------------------------------
/src/images/Cover-Page/main-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Cover-Page/main-image.png
--------------------------------------------------------------------------------
/src/images/Take-Steps/whatiscovid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Take-Steps/whatiscovid.png
--------------------------------------------------------------------------------
/src/images/Transmission/contacting.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suhelhasan/project-covid/HEAD/src/images/Transmission/contacting.png
--------------------------------------------------------------------------------
/src/Pages/Cases/Chart/Chart.module.css:
--------------------------------------------------------------------------------
1 | .Chart {
2 | width: 65%;
3 | }
4 | @media screen and (max-width: 680px) {
5 | .Chart {
6 | width: 100%;
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/src/Pages/NotFound/NotFound.module.css:
--------------------------------------------------------------------------------
1 | .NotFound {
2 | width: 100%;
3 | height: 100vh;
4 | display: flex;
5 | justify-content: center;
6 | align-items: center;
7 | background-color: #fff;
8 | }
9 | .NotFound img {
10 | height: 100%;
11 | }
12 |
--------------------------------------------------------------------------------
/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom/extend-expect';
6 |
--------------------------------------------------------------------------------
/src/App.test.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import { render } from '@testing-library/react';
3 | import App from './App';
4 |
5 | test('renders learn react link', () => {
6 | const { getByText } = render(
21 |
22 |
23 |
24 |
28 |
33 |
Number of active cases of COVID-19
26 |Number of recoveries cases of COVID-19
39 |Number of deaths caused by COVID-19
47 |26 | The Coronavirus (COVID-19) was first reported in Wuhan, Hubei, China 27 | in December 2019, the outbreak was later recognized as a pandemic by 28 | the World Health Organization (WHO) on 11 March 2020 29 |
30 |12 | This website is for health information and advice about coronavirus 13 | (COVID-19), how to prevent and protect yourself from disease. 14 |
15 |12 | If you have mild symptoms, stay at home until you’ve recovered. You 13 | can relieve your symptoms if you: 14 |
15 |
16 |
20 |
24 |
28 |
36 | If you develop a fever, cough, and have difficulty breathing, 37 | promptly seek medical care. Call in advance and tell your health 38 | provider of any recent travel or recent contact with travelers 39 |
40 |46 | 47 | To date, there is no vaccine and no specific antiviral medicine to 48 | prevent or treat COVID-2019. 49 | {" "} 50 | However, those affected should receive care to relieve symptoms. 51 | People with serious illness should be hospitalized. Most patients 52 | recover thanks to supportive care 53 |
54 |55 | Antibiotics do not help, as they do not work against viruses. 56 | Treatment aims to relieve the symptoms while your body fights the 57 | illness. You'll need to stay in isolation, away from other people, 58 | until you have recovered 59 |
60 |{props.textHeading}
11 |{props.imageSection1.text}
25 |{props.imageSection2.text}
38 |{props.imageSection3.text}
51 |{props.imageSection4.text}
65 |19 | The best thing you can do now is plan for how you can adapt your daily 20 | routine. Take few steps to protect yourself as Clean your hands often, 21 | Avoid close contact, Cover coughs and sneezes, clean daily used 22 | surfaces etc. The best way to prevent illness is to avoid being 23 | exposed to this virus 24 |
25 |51 | Common signs of infection include respiratory symptoms, fever, 52 | cough, shortness of breath and breathing difficulties. In more 53 | severe cases, infection can cause pneumonia, severe acute 54 | respiratory syndrome, kidney failure and even death. 55 |
56 |57 | Standard recommendations to prevent infection spread include regular 58 | hand washing, covering mouth and nose when coughing and sneezing, 59 | thoroughly cooking meat and eggs. Avoid close contact with anyone 60 | showing symptoms of respiratory illness such as coughing and 61 | sneezing. 62 |
63 |