Commit 53c9d882 authored by Deni Rinaldi's avatar Deni Rinaldi

ganti logo home~

parent ed753a6d
This diff is collapsed.
...@@ -91,7 +91,8 @@ const useStyles = makeStyles((theme) => ({ ...@@ -91,7 +91,8 @@ const useStyles = makeStyles((theme) => ({
[theme.breakpoints.up('sm')]: { [theme.breakpoints.up('sm')]: {
width: theme.spacing(7) + 1, width: theme.spacing(7) + 1,
}, },
paddingLeft: 15, padding: 20,
display: 'flex',
backgroundColor: '#273b80' backgroundColor: '#273b80'
}, },
drawerOpen: { drawerOpen: {
...@@ -401,7 +402,7 @@ export default function MiniDrawer() { ...@@ -401,7 +402,7 @@ export default function MiniDrawer() {
setSelectSub("") setSelectSub("")
setSelectedIndex(e) setSelectedIndex(e)
// if (open == false) { // if (open == false) {
// setOpen(true) // setOpen(true)
// } // }
} }
...@@ -476,7 +477,11 @@ export default function MiniDrawer() { ...@@ -476,7 +477,11 @@ export default function MiniDrawer() {
[classes.hide]: open, [classes.hide]: open,
})} })}
> >
<img src={Images.triputraLogo} alt="React Logo" style={{ height: 30, width: 30, alignSelf: 'center', marginTop: 10 }} />
<a data-tip={"Main Menu"} data-for={"main-menu"}>
<MenuIcon style={{ fill: 'white', alignSelf: 'center' }} />
</a>
<ReactTooltip border={true} id={"main-menu"} place="bottom" type="light" effect="solid" />
</IconButton>} </IconButton>}
{open && {open &&
<div style={{ width: '100%', marginTop: 15, marginBottom: 60 }}> <div style={{ width: '100%', marginTop: 15, marginBottom: 60 }}>
...@@ -647,7 +652,7 @@ export default function MiniDrawer() { ...@@ -647,7 +652,7 @@ export default function MiniDrawer() {
key={index} key={index}
path={route.path} path={route.path}
// exact={route.exact} // exact={route.exact}
children={<route.main height={height} width={width} open={open}/>} children={<route.main height={height} width={width} open={open} />}
/> />
))} ))}
</Switch> </Switch>
......
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