import clsx from 'clsx'; import { IconLibrary2, IconManuals, IconNewItem2 } from '@/components/Icons'; import { useWindowSize } from '@/hooks/useWindowSize'; import { useAppLayoutStore } from '@/stores/appLayout'; import { PARAMETER } from '@/utils/constants'; import { urls } from '../urls'; import { Logo } from './Logo'; import { NavigationButton } from './NavigationButton'; import { useConceptNavigation } from './NavigationContext'; import { ToggleNavigation } from './ToggleNavigation'; import { UserMenu } from './UserMenu'; export function Navigation() { const router = useConceptNavigation(); const size = useWindowSize(); const noNavigationAnimation = useAppLayoutStore(state => state.noNavigationAnimation); const navigateHome = (event: React.MouseEvent) => router.push(urls.home, event.ctrlKey || event.metaKey); const navigateLibrary = (event: React.MouseEvent) => router.push(urls.library, event.ctrlKey || event.metaKey); const navigateHelp = (event: React.MouseEvent) => router.push(urls.manuals, event.ctrlKey || event.metaKey); const navigateCreateNew = (event: React.MouseEvent) => router.push(urls.create_schema, event.ctrlKey || event.metaKey); return ( ); }