import { IconLibrary2, IconManuals, IconNewItem2 } from '@/components/icons'; import { useWindowSize } from '@/hooks/use-window-size'; import { useAppLayoutStore } from '@/stores/app-layout'; import { urls } from '../urls'; import { Logo } from './logo'; import { NavigationButton } from './navigation-button'; import { useConceptNavigation } from './navigation-context'; import { ToggleNavigation } from './toggle-navigation'; import { UserMenu } from './user-menu'; export function Navigation() { const router = useConceptNavigation(); const size = useWindowSize(); const noNavigationAnimation = useAppLayoutStore(state => state.noNavigationAnimation); const navigateHome = (event: React.MouseEvent) => router.push({ path: urls.home, newTab: event.ctrlKey || event.metaKey }); const navigateLibrary = (event: React.MouseEvent) => router.push({ path: urls.library, newTab: event.ctrlKey || event.metaKey }); const navigateHelp = (event: React.MouseEvent) => router.push({ path: urls.manuals, newTab: event.ctrlKey || event.metaKey }); const navigateCreateNew = (event: React.MouseEvent) => router.push({ path: urls.create_schema, newTab: event.ctrlKey || event.metaKey }); return ( ); }