Gennadysht 1 gadu atpakaļ
vecāks
revīzija
27d6b4d38a
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      src/Components/MainAppBar.js
  2. BIN
      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"

BIN
src/images/logo.jpg