jenkins-test
This commit is contained in:
@@ -4,3 +4,10 @@
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.drawer-pages {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
@@ -14,8 +14,18 @@ import {
|
||||
} from "@mui/material";
|
||||
import MenuIcon from "@mui/icons-material/Menu";
|
||||
import { useNavigate, useLocation, To } from "react-router-dom";
|
||||
import { Home } from "@mui/icons-material";
|
||||
|
||||
const pages = [{ name: "Home", path: "/" }];
|
||||
const pages = [
|
||||
{
|
||||
name: (
|
||||
<span className="drawer-pages">
|
||||
<Home /> Home
|
||||
</span>
|
||||
),
|
||||
path: "/",
|
||||
},
|
||||
];
|
||||
|
||||
export default function Header() {
|
||||
const [drawerOpen, setDrawerOpen] = React.useState(false);
|
||||
|
||||
Reference in New Issue
Block a user