Skip to content

Commit

Permalink
Removed unsed element and css.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyc856 committed May 21, 2020
1 parent 2a6245b commit cb82ffe
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 45 deletions.
4 changes: 0 additions & 4 deletions client/src/pages/common/common.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.header {
justify-content: center;
}

.header .title {
padding: 15px;
}
Expand Down
80 changes: 39 additions & 41 deletions client/src/pages/create_game/CreateGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,60 +10,58 @@ import "./CreateGame.css";

function CreateGame() {
return (
<>
<Container>
<Grid container direction="column" justify="center" alignItems="center">
<Grid item className="header">
<Header title="Welcome" />
</Grid>
<Grid item>
<Grid container justify="center" alignItems="center">
<Grid item className="panel">
<Grid container direction="column">
<Grid item>
<Grid container direction="column">
<Grid item>
<Typography variant="h6" gutterBottom>
Join a Game:
</Typography>
</Grid>
<Grid item>
<Grid container alignItems="center">
<Grid item className="grid-input">
<Input placeholder="Enter Game ID" />
</Grid>
<Grid item>
<Button variant="contained" color="primary">
Join
</Button>
</Grid>
<Container>
<Grid container direction="column" justify="center" alignItems="center">
<Grid item className="header">
<Header title="Welcome" />
</Grid>
<Grid item>
<Grid container justify="center" alignItems="center">
<Grid item className="panel">
<Grid container direction="column">
<Grid item>
<Grid container direction="column">
<Grid item>
<Typography variant="h6" gutterBottom>
Join a Game:
</Typography>
</Grid>
<Grid item>
<Grid container alignItems="center">
<Grid item className="grid-input">
<Input placeholder="Enter Game ID" />
</Grid>
<Grid item>
<Button variant="contained" color="primary">
Join
</Button>
</Grid>
</Grid>
</Grid>
</Grid>
</Grid>
</Grid>
<Grid item className="panel">
<Grid container direction="column">
<Grid item>
<Grid container direction="column">
<Grid item>
<Typography variant="h6" gutterBottom>
New Game:
</Typography>
</Grid>
<Grid item>
<Button variant="contained">Create</Button>
</Grid>
</Grid>
<Grid item className="panel">
<Grid container direction="column">
<Grid item>
<Grid container direction="column">
<Grid item>
<Typography variant="h6" gutterBottom>
New Game:
</Typography>
</Grid>
<Grid item>
<Button variant="contained">Create</Button>
</Grid>
</Grid>
</Grid>
</Grid>
</Grid>
</Grid>
</Grid>
</Container>
</>
</Grid>
</Container>
);
}

Expand Down

0 comments on commit cb82ffe

Please sign in to comment.