import clsx from 'clsx'; import { useConceptNavigation } from '@/app/Navigation/NavigationContext'; import { IconLibrary2, IconManuals, IconNewItem2 } from '@/components/Icons'; import { CProps } from '@/components/props'; 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 ToggleNavigation from './ToggleNavigation'; import UserMenu from './UserMenu'; function Navigation() { const router = useConceptNavigation(); const size = useWindowSize(); const noNavigationAnimation = useAppLayoutStore(state => state.noNavigationAnimation); const navigateHome = (event: CProps.EventMouse) => router.push(urls.home, event.ctrlKey || event.metaKey); const navigateLibrary = (event: CProps.EventMouse) => router.push(urls.library, event.ctrlKey || event.metaKey); const navigateHelp = (event: CProps.EventMouse) => router.push(urls.manuals, event.ctrlKey || event.metaKey); const navigateCreateNew = (event: CProps.EventMouse) => router.push(urls.create_schema, event.ctrlKey || event.metaKey); return ( ); } export default Navigation;