瀏覽代碼

rtk_logo_build

Gennadysht 1 年之前
父節點
當前提交
27d6b4d38a
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/Components/MainAppBar.js
  2. 二進制
      src/images/logo.jpg

+ 3 - 1
src/Components/MainAppBar.js

@@ -17,7 +17,8 @@ import LoginIcon from '@mui/icons-material/Login';
 import CategoryIcon from '@mui/icons-material/Category';
 import SupervisedUserCircleIcon from '@mui/icons-material/SupervisedUserCircle';
 import WorkHistoryIcon from '@mui/icons-material/WorkHistory';
-import { Badge, Tooltip } from '@mui/material';
+import { Badge, Paper, Tooltip } from '@mui/material';
+import logo from '../images/logo.jpg';
 
 const MainAppBar = ({ token, openSidebar }) => {
     const theme = useTheme();
@@ -29,6 +30,7 @@ const MainAppBar = ({ token, openSidebar }) => {
         <Box sx={{ flexGrow: 1 }}>
             <AppBar position="static">
                 <Toolbar>
+                <Box component="img" src={logo} sx={{width: "40px",  borderStyle:"double", borderWidth:"3px", borderColor:"white",  marginRight:"10px" }} />
                     <IconButton
                         size="large"
                         edge="start"

二進制
src/images/logo.jpg