forked from Place1/wg-access-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Place1#8 from vincentbitter/Design
Design improvements
- Loading branch information
Showing
8 changed files
with
162 additions
and
85 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,25 @@ | ||
import React from 'react'; | ||
import { makeStyles } from '@material-ui/core/styles'; | ||
import AppBar from '@material-ui/core/AppBar'; | ||
import Toolbar from '@material-ui/core/Toolbar'; | ||
import Typography from '@material-ui/core/Typography'; | ||
|
||
const useStyles = makeStyles(theme => ({ | ||
title: { | ||
flexGrow: 1, | ||
}, | ||
})); | ||
|
||
export default function Navigation() { | ||
const classes = useStyles(); | ||
|
||
return ( | ||
<AppBar position="static"> | ||
<Toolbar> | ||
<Typography variant="h6" className={classes.title}> | ||
Your Devices | ||
</Typography> | ||
</Toolbar> | ||
</AppBar> | ||
); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,24 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import CssBaseline from '@material-ui/core/CssBaseline'; | ||
import Box from '@material-ui/core/Box'; | ||
import AddDevice from './components/AddDevice'; | ||
import Devices from './components/Devices'; | ||
import Navigation from './components/Navigation'; | ||
import { view } from 'react-easy-state'; | ||
import 'typeface-roboto'; | ||
import './index.css'; | ||
|
||
const App = view(() => { | ||
return <Devices />; | ||
return ( | ||
<React.Fragment> | ||
<CssBaseline /> | ||
<Navigation /> | ||
<Box component="div" m={3}> | ||
<Devices /> | ||
<AddDevice /> | ||
</Box> | ||
</React.Fragment> | ||
); | ||
}); | ||
|
||
ReactDOM.render(<App />, document.getElementById('root')); |