login page add menubar

This commit is contained in:
2025-10-20 19:49:24 +08:00
parent 7b8f6c02e9
commit 56f11f62ea
2 changed files with 29 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
import { Box, Container, Grid, Paper } from "@mui/material";
import { Box, Container, Grid, Paper, AppBar, Toolbar, IconButton, Typography, Button } from "@mui/material";
import MenuIcon from "@mui/icons-material/Menu";
import { Outlet, useNavigation } from "react-router-dom";
import { useAppDispatch, useAppSelector } from "../../redux/hooks.ts";
import AutoHeight from "../Common/AutoHeight.tsx";
@@ -40,6 +41,31 @@ const HeadlessFrame = () => {
overflow: "auto",
}}
>
<Box sx={{ flexGrow: 1 }}>
<AppBar position="static">
<Toolbar>
{/* <IconButton
size="large"
edge="start"
color="inherit"
aria-label="menu"
sx={{ mr: 2 }}
>
<MenuIcon />
</IconButton> */}
{/* <Typography variant="h6" component="div" sx={{ flexGrow: 1 }}>
News
</Typography> */}
<Logo
sx={{
maxWidth: "40%",
maxHeight: "40px",
mb: 2,
}}
/>
</Toolbar>
</AppBar>
</Box>
<Container maxWidth={"xs"}>
<Grid
container