Commit 05eb5b98 authored by ns17's avatar ns17 Committed by Odair M.

Responsiveness Home

parent b5a5aba9
Pipeline #22542 failed with stages
in 46 seconds
......@@ -282,21 +282,27 @@ export function Header(props) {
<div className={classes.root}>
<AppBar position="static" className={classes.header}>
<Toolbar className={classes.header}>
<Grid container>
<IconButton onClick={handleDrawerOpen} edge="start" className={classes.menuButton} color="inherit" aria-label="menu">
<Grid container item xs={1}>
<IconButton onClick={handleDrawerOpen} edge="end" className={classes.menuButton} color="inherit" aria-label="menu">
<MenuIcon />
</IconButton>
</Grid>
<Grid container>
<Button component={Link} to="/" color="inherit" className={classes.headerButton} >Home</Button>
{/*
<Button color="inherit" className={classes.headerButton} >Resultado</Button>
<Button color="inherit" className={classes.headerButton} >Indicadores</Button>
<Button color="inherit" className={classes.headerButton} >Universidade</Button>*/}
<Button color="inherit" href="http://www.campusmap.ufpr.br/" className={classes.headerButton} >Mapas</Button>
{ isAuthenticated() &&
<Button color="inherit" onClick={()=>setW(!w)} className={classes.headerButton} >{(!w)? "Ajuda" : "fechar ajuda"}</Button>
}
<Grid container justify="flex-end">
{/* <Grid container item xs={4} justify="center"> */}
<Button component={Link} to="/" color="inherit" className={classes.headerButton} >Home</Button>
{/*
<Button color="inherit" className={classes.headerButton} >Resultado</Button>
<Button color="inherit" className={classes.headerButton} >Indicadores</Button>
<Button color="inherit" className={classes.headerButton} >Universidade</Button>*/}
{/* </Grid> */}
{/* <Grid container item xs={4} justify="center"> */}
<Button color="inherit" href="http://www.campusmap.ufpr.br/" className={classes.headerButton} >Mapas</Button>
{/* </Grid> */}
{/* <Grid container item xs={4} justify="center"> */}
{ isAuthenticated() &&
<Button color="inherit" onClick={()=>setW(!w)} className= {classes.headerButton} >{(!w)? "Ajuda" : "fechar ajuda"}</Button>
}
{/* </Grid> */}
</Grid>
</Toolbar>
</AppBar>
......
......@@ -28,7 +28,7 @@ const DEPARTAMENTO = 3
const SALA = 4
const useStyles = makeStyles(theme => ({
divPage: {
height: "865px"
height: "600px"
},
logoImage: {
maxWidth: "200px",
......@@ -356,21 +356,20 @@ export function PaginaInicial(props) {
direction="column"
alignItems="center"
justify="center"
alignContent="center"
style={{ minHeight: '50vh', maxHeigth: '70vh' }}
>
<Grid item xs={3}>
<img className={classes.logoImage} src={logo} alt={"logo"} />
</Grid>
<img className={classes.logoImage} src={logo} alt={"logo"} />
</Grid>
<form onSubmit={handleSubmit}>
<Grid
container
spacing={0}
spacing={2}
direction="row"
justify="center"
>
<Grid item sm={1}>
<Grid item md={2} sm={3} >
<TextField
select
label="Buscar Por"
......@@ -400,7 +399,7 @@ export function PaginaInicial(props) {
InputProps={{
endAdornment: (
<InputAdornment position="start">
<IconButton type="submit">
<IconButton type="submit">
<ChevronRightIcon />
</IconButton>
</InputAdornment>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment