diff --git a/web/src/components/AppBar.jsx b/web/src/components/AppBar.jsx index f668a7498..0238e3f95 100644 --- a/web/src/components/AppBar.jsx +++ b/web/src/components/AppBar.jsx @@ -1,9 +1,12 @@ import { h } from 'preact'; import Button from './Button'; import LinkedLogo from './LinkedLogo'; -import Menu, { MenuItem } from './Menu'; +import Menu, { MenuItem, MenuSeparator } from './Menu'; import MenuIcon from '../icons/Menu'; import MoreIcon from '../icons/More'; +import AutoAwesomeIcon from '../icons/AutoAwesome'; +import LightModeIcon from '../icons/LightMode'; +import DarkModeIcon from '../icons/DarkMode'; import { useDarkMode, useSidebar } from '../context'; import { useLayoutEffect, useCallback, useRef, useState } from 'preact/hooks'; @@ -87,9 +90,10 @@ export default function AppBar({ title }) { {showMoreMenu ? (
) : null} diff --git a/web/src/components/Menu.jsx b/web/src/components/Menu.jsx index d7c678c38..831b6c920 100644 --- a/web/src/components/Menu.jsx +++ b/web/src/components/Menu.jsx @@ -31,14 +31,22 @@ export function MenuItem({ focus, icon: Icon, label, onSelect, value }) { return (