Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions src/components/appBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import AppBar from '@material-ui/core/AppBar'
import Toolbar from '@material-ui/core/Toolbar'
import Typography from '@material-ui/core/Typography'
import Icon from '@material-ui/core/Icon'
import Grid from '@material-ui/core/Grid'
import SmarteaMasthead from '../images/smartea2x.png'

const styles = {
root: {
Expand All @@ -18,15 +20,18 @@ const styles = {
function ButtonAppBar(props) {
const { classes, bank } = props
return (
<AppBar position="static">
<AppBar position="static" >
<Toolbar>
<Typography variant="h6" color="inherit" className={classes.grow}>
SmarTea Pants
</Typography>
<div>
<Icon className={classes.icon}>upward_arrow</Icon>
<Typography color="inherit">Bank: ${bank}</Typography>
</div>
<Grid container justify="space-between" alignItems="center">
<Grid item sm={5}>
<Typography><img src={ SmarteaMasthead } /></Typography>
</Grid>
<div>
<Grid>
<Typography color="inherit" variant="h5">Bank: ${bank}</Typography>
</Grid>
</div>
</Grid>
</Toolbar>
</AppBar>
)
Expand Down
4 changes: 2 additions & 2 deletions src/components/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const Image = () => (
<StaticQuery
query={graphql`
query {
placeholderImage: file(relativePath: { eq: "gatsby-astronaut.png" }) {
placeholderImage: file(relativePath: { eq: "smartea2x.png" }) {
childImageSharp {
fluid(maxWidth: 300) {
fluid(maxWidth: 500) {
...GatsbyImageSharpFluid
}
}
Expand Down
Binary file added src/images/smartea2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/images/smartea@2x.png
Binary file not shown.