diff --git a/frontend/src/lib/components/Navbar.svelte b/frontend/src/lib/components/Navbar.svelte index f69cb27..f57793b 100644 --- a/frontend/src/lib/components/Navbar.svelte +++ b/frontend/src/lib/components/Navbar.svelte @@ -8,6 +8,11 @@ import Calendar from '~icons/mdi/calendar'; import AboutModal from './AboutModal.svelte'; import AccountMultiple from '~icons/mdi/account-multiple'; + import MapMarker from '~icons/mdi/map-marker'; + import FormatListBulletedSquare from '~icons/mdi/format-list-bulleted-square'; + import Earth from '~icons/mdi/earth'; + import Magnify from '~icons/mdi/magnify'; + import Map from '~icons/mdi/map'; import Avatar from './Avatar.svelte'; import { page } from '$app/stores'; import { t, locale, locales } from 'svelte-i18n'; @@ -18,7 +23,10 @@ // Event listener for focusing input function handleKeydown(event: KeyboardEvent) { // Ignore any keypresses in an input/textarea field, so we don't interfere with typing. - if (event.key === '/' && !["INPUT", "TEXTAREA"].includes((event.target as HTMLElement)?.tagName)) { + if ( + event.key === '/' && + !['INPUT', 'TEXTAREA'].includes((event.target as HTMLElement)?.tagName) + ) { event.preventDefault(); // Prevent browser's search shortcut if (inputElement) { inputElement.focus(); @@ -111,6 +119,7 @@ > {#if data.user}