Add summary of member counts to Charts page
This commit is contained in:
parent
7f0913006c
commit
c9482b6ec6
|
@ -47,6 +47,25 @@ export function Charts(props) {
|
||||||
<Container>
|
<Container>
|
||||||
<Header size='large'>Charts</Header>
|
<Header size='large'>Charts</Header>
|
||||||
|
|
||||||
|
<Header size='medium'>Summary</Header>
|
||||||
|
|
||||||
|
{memberCount && signupCount &&
|
||||||
|
<>
|
||||||
|
<p>
|
||||||
|
The total member count is {memberCount.slice().reverse()[0].member_count} members,
|
||||||
|
compared to {memberCount.slice().reverse()[30].member_count} members 30 days ago.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The green member count is {memberCount.slice().reverse()[0].green_count} members,
|
||||||
|
compared to {memberCount.slice().reverse()[30].green_count} members 30 days ago.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
There were {signupCount.slice().reverse()[0].signup_count} signups so far this month,
|
||||||
|
and {signupCount.slice().reverse()[1].signup_count} signups last month.
|
||||||
|
</p>
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
|
||||||
<Header size='medium'>Member Counts</Header>
|
<Header size='medium'>Member Counts</Header>
|
||||||
|
|
||||||
<p>Daily since March 2nd, 2020.</p>
|
<p>Daily since March 2nd, 2020.</p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user