remove hamburger from agentUi, also

This commit is contained in:
Michael Quigley 2025-01-14 13:49:47 -05:00
parent 76e1f2d62e
commit 96c556f657
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 3 additions and 8 deletions

View File

@ -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} />

View File

@ -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">