Skip to content

Commit 7c4cb78

Browse files
committed
Add global components
1 parent bb2a235 commit 7c4cb78

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

src/containers/Global/index.js

+17-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
import React from 'react';
2-
import GlobalMap from '../../components/GlobalMap';
32

3+
import MainBanner from '../../components/MainBanner';
4+
import TitleSection from '../../components/TitleSection';
5+
import ProgressChart from '../../components/ProgressChart';
6+
import GlobalMap from '../../components/GlobalMap';
7+
import DonutChart from '../../components/DonutChart';
48
const Global = (params) => {
59
return (
610
<>
7-
<h1>Global</h1>
8-
<GlobalMap />
11+
<section className='overview'>
12+
<TitleSection title='Overview' />
13+
<ProgressChart />
14+
</section>
15+
<section className='rates'>
16+
<DonutChart type='isRecovery' />
17+
<DonutChart type='isFatality' />
18+
</section>
19+
<section className='progressChart'>
20+
<TitleSection title='New Cases' infoButton />
21+
<GlobalMap />
22+
</section>
923
</>
1024
);
1125
};

0 commit comments

Comments
 (0)