Use MUI, structure change, fix API
This commit is contained in:
parent
ef9f05e031
commit
8db8781f06
15 changed files with 831 additions and 350 deletions
25
frontend/components/Navbar.js
Normal file
25
frontend/components/Navbar.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import AppBar from '@mui/material/AppBar';
|
||||
import Box from '@mui/material/Box';
|
||||
import Toolbar from '@mui/material/Toolbar';
|
||||
import Typography from '@mui/material/Typography';
|
||||
import Place from '@mui/icons-material/Place';
|
||||
import Container from '@mui/material/Container';
|
||||
|
||||
function Component() {
|
||||
return (
|
||||
<Box sx={{ flexGrow: 1 }}>
|
||||
<AppBar position="static">
|
||||
<Container>
|
||||
<Toolbar>
|
||||
<Place sx={{ marginRight: ".5rem" }} />
|
||||
<Typography variant="h6" component="div" sx={{ flexGrow: 1 }}>
|
||||
Chercher un code postal en Suisse
|
||||
</Typography>
|
||||
</Toolbar>
|
||||
</Container>
|
||||
</AppBar>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default Component;
|
||||
Loading…
Add table
Add a link
Reference in a new issue