|
|
@@ -27,7 +27,7 @@ import { |
|
|
|
// ListItemButton, |
|
|
|
// ListItemText, |
|
|
|
IconButton, |
|
|
|
Drawer, |
|
|
|
Drawer, Grid, |
|
|
|
// useMediaQuery |
|
|
|
} from '@mui/material'; |
|
|
|
import MenuIcon from '@mui/icons-material/Menu'; |
|
|
@@ -51,6 +51,7 @@ import * as UrlUtils from "utils/ApiPathConst" |
|
|
|
// import { AppBar } from '../../../../node_modules/@mui/material/index'; |
|
|
|
import { Link } from "react-router-dom"; |
|
|
|
import LocaleSelector from "./HeaderContent/LocaleSelector"; |
|
|
|
import {FormattedMessage} from "react-intl"; |
|
|
|
|
|
|
|
const drawerWidth = 240; |
|
|
|
|
|
|
@@ -165,7 +166,9 @@ function Header(props) { |
|
|
|
: |
|
|
|
<div id="individualUserContent"> |
|
|
|
<li> |
|
|
|
<Link className="dashboard" to='/dashboard'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}>主頁</Typography></Link> |
|
|
|
<Link className="dashboard" to='/dashboard'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="mainPage"/> |
|
|
|
</Typography></Link> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<Link className="myDocumet" to='/publicNotice'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}>我的公共啟事</Typography></Link> |
|
|
@@ -329,7 +332,13 @@ function Header(props) { |
|
|
|
<ul id="navbar" width="100%" > |
|
|
|
{loginContent} |
|
|
|
</ul> |
|
|
|
<Profile /> |
|
|
|
|
|
|
|
<Grid item> |
|
|
|
<Grid container direction="row" > |
|
|
|
<LocaleSelector /> |
|
|
|
<Profile /> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Stack> |
|
|
|
</Box> |
|
|
|
</Toolbar> |
|
|
|