-
Notifications
You must be signed in to change notification settings - Fork 40
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
17f0082
commit 456f768
Showing
15 changed files
with
316 additions
and
270 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import { withStyles, withTheme } from "@material-ui/core/styles"; | ||
import Typography from "@material-ui/core/Typography"; | ||
import React from "react"; | ||
|
||
import strings from "../../localizeStrings"; | ||
|
||
const styles = theme => { | ||
return { | ||
subtitle: { | ||
color: theme.palette.grey.dark | ||
}, | ||
caption: { | ||
color: theme.palette.grey.main | ||
} | ||
}; | ||
}; | ||
|
||
const BudgetEmptyState = withTheme()( | ||
withStyles(styles)(props => { | ||
const { text, classes } = props; | ||
return ( | ||
<table style={{ alignItems: "center" }}> | ||
<tbody> | ||
<tr height="200vh"> | ||
<td max-width="200vw"> | ||
<img | ||
src="/images-for-empty-state/project-budget-empty-state.png" | ||
alt={strings.common.no_budget} | ||
width="150vw" | ||
/> | ||
</td> | ||
<td> | ||
<Typography variant="subtitle1" className={classes.subtitle}> | ||
{strings.common.no_budget} | ||
</Typography> | ||
<Typography variant="caption" className={classes.caption}> | ||
{text} | ||
</Typography> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
); | ||
}) | ||
); | ||
|
||
export default BudgetEmptyState; |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.