diff --git a/src/app/AppBar.tsx b/src/app/AppBar.tsx index f37d60ee..2f27fc38 100644 --- a/src/app/AppBar.tsx +++ b/src/app/AppBar.tsx @@ -1,15 +1,24 @@ import MenuIcon from '@mui/icons-material/Menu'; -import { Box, IconButton, AppBar as MuiAppBar, Toolbar, Typography } from '@mui/material'; +import { Box, IconButton, AppBar as MuiAppBar, Toolbar } from '@mui/material'; import { FC } from 'react'; import { Link } from 'react-router-dom'; -import { APP_NAME } from '../config/Constants'; +import AppLogo from '../assets/images/app-logo.png'; +import ThemeMode from '../models/ThemeMode'; +import { selectThemeMode } from '../store/theme/theme.selectors'; +import { useAppSelector } from './hooks'; + +// Filter generated using https://codepen.io/sosuke/pen/Pjoqqp +const filterToLightBlueColor = + 'invert(62%) sepia(49%) saturate(295%) hue-rotate(177deg) brightness(84%) contrast(84%)'; interface Props { toggleDrawerMenu: () => void; } const AppBar: FC = ({ toggleDrawerMenu }) => { + const themeMode = useAppSelector(selectThemeMode); + return ( = ({ toggleDrawerMenu }) => { onClick={toggleDrawerMenu}> - - {APP_NAME} - + + App logo + diff --git a/src/assets/images/app-logo.png b/src/assets/images/app-logo.png new file mode 100644 index 00000000..6a3458ff Binary files /dev/null and b/src/assets/images/app-logo.png differ