diff --git a/site/src/component/AppHeader/AppHeader.scss b/site/src/component/AppHeader/AppHeader.scss index 44a09687..2caee222 100644 --- a/site/src/component/AppHeader/AppHeader.scss +++ b/site/src/component/AppHeader/AppHeader.scss @@ -18,6 +18,11 @@ } } +.school-term { + margin-bottom: 0; + margin-right: 0.75em; +} + .navbar { position: sticky; z-index: 300; @@ -51,12 +56,8 @@ display: flex; justify-content: center; align-items: center; - cursor: pointer; - - .navbar-menu-icon { - width: 3vh; - height: 3vh; - } + border: none; + background: none; } .desktop-toggle { diff --git a/site/src/component/AppHeader/AppHeader.tsx b/site/src/component/AppHeader/AppHeader.tsx index 782221b3..c9a42f1b 100644 --- a/site/src/component/AppHeader/AppHeader.tsx +++ b/site/src/component/AppHeader/AppHeader.tsx @@ -11,6 +11,8 @@ import './AppHeader.scss'; import { useAppDispatch, useAppSelector } from '../../store/hooks'; import { setSidebarStatus } from '../../store/slices/uiSlice'; +import Profile from './Profile'; +import { isDesktop, isMobile } from 'react-device-detect'; const AppHeader: FC = () => { const dispatch = useAppDispatch(); @@ -43,9 +45,11 @@ const AppHeader: FC = () => {
{week}
+ {isDesktop &&