forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a4630b
commit 829c896
Showing
5 changed files
with
153 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import * as React from 'react'; | ||
import TrendingUpIcon from '@material-ui/icons/TrendingUp'; | ||
import Box from '@material-ui/core/Box'; | ||
|
||
export default function Why() { | ||
return ( | ||
/* prettier-ignore */ | ||
<Box sx={{ bgcolor: 'background.paper', boxShadow: 1, borderRadius: 'borderRadius', p: 2, minWidth: 300 }}> | ||
<Box sx={{ color: 'text.secondary' }}>Sessions</Box> | ||
<Box sx={{ color: 'text.primary', fontSize: 34, fontWeight: 'fontWeightMedium' }}> | ||
{'98.3 K'} | ||
</Box> | ||
<Box component={TrendingUpIcon} sx={{ color: 'success.dark', fontSize: 16, verticalAlign: 'sub' }} /> | ||
<Box sx={{ color: 'success.dark', display: 'inline', fontWeight: 'fontWeightMedium', mx: 0.5 }}> | ||
{'18.77%'} | ||
</Box> | ||
<Box sx={{ color: 'text.secondary', display: 'inline', fontSize: 12 }}> | ||
{'vs last week'} | ||
</Box> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import * as React from 'react'; | ||
import TrendingUpIcon from '@material-ui/icons/TrendingUp'; | ||
import Box from '@material-ui/core/Box'; | ||
|
||
export default function Why() { | ||
return ( | ||
/* prettier-ignore */ | ||
<Box sx={{ bgcolor: 'background.paper', boxShadow: 1, borderRadius: 'borderRadius', p: 2, minWidth: 300 }}> | ||
<Box sx={{ color: 'text.secondary' }}>Sessions</Box> | ||
<Box sx={{ color: 'text.primary', fontSize: 34, fontWeight: 'fontWeightMedium' }}> | ||
{'98.3 K'} | ||
</Box> | ||
<Box component={TrendingUpIcon} sx={{ color: 'success.dark', fontSize: 16, verticalAlign: 'sub' }} /> | ||
<Box sx={{ color: 'success.dark', display: 'inline', fontWeight: 'fontWeightMedium', mx: 0.5 }}> | ||
{'18.77%'} | ||
</Box> | ||
<Box sx={{ color: 'text.secondary', display: 'inline', fontSize: 12 }}> | ||
{'vs last week'} | ||
</Box> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters