mirror of
https://github.com/openziti/zrok.git
synced 2025-01-31 10:31:48 +01:00
remove hamburger from agentUi, also
This commit is contained in:
parent
76e1f2d62e
commit
96c556f657
@ -58,7 +58,7 @@ const AgentUi = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<NavBar version={version} shareClick={openNewShare} accessClick={openNewAccess} />
|
||||
<NavBar shareClick={openNewShare} accessClick={openNewAccess} />
|
||||
<Overview overview={overview} shareClick={openNewShare} accessClick={openNewAccess} />
|
||||
<NewShareModal isOpen={newShareOpen} close={closeNewShare} />
|
||||
<NewAccessModal isOpen={newAccessOpen} close={closeNewAccess} />
|
||||
|
@ -1,23 +1,18 @@
|
||||
import {AppBar, Box, Button, Grid2, IconButton, Toolbar, Typography} from "@mui/material";
|
||||
import MenuIcon from "@mui/icons-material/Menu";
|
||||
import {AppBar, Box, Button, Grid2, Toolbar, Typography} from "@mui/material";
|
||||
import LanIcon from "@mui/icons-material/Lan";
|
||||
import ShareIcon from "@mui/icons-material/Share";
|
||||
import zroket from "./assets/zrok-1.0.0-rocket-green.svg";
|
||||
|
||||
interface NavBarProps {
|
||||
version: string;
|
||||
shareClick: () => void;
|
||||
accessClick: () => void;
|
||||
}
|
||||
|
||||
const NavBar = ({ version, shareClick, accessClick }: NavBarProps) => {
|
||||
const NavBar = ({ shareClick, accessClick }: NavBarProps) => {
|
||||
return (
|
||||
<Box ssx={{ flexGrow: 1 }}>
|
||||
<AppBar position="static">
|
||||
<Toolbar>
|
||||
<IconButton size="large" edge="start" color="inherit" aria-label="menu" sx={{ mr: 2 }}>
|
||||
<MenuIcon />
|
||||
</IconButton>
|
||||
<Typography variant="h6" sx={{ flexGrow: 1 }}>
|
||||
<Grid2 container sx={{ flexGrow: 1 }}>
|
||||
<Grid2 display="flex" justifyContent="left">
|
||||
|
Loading…
Reference in New Issue
Block a user