import clsx from 'clsx'; import { IconDarkTheme, IconLightTheme, IconPin, IconUnpin } from '@/components/Icons'; import { useAppLayoutStore } from '@/stores/appLayout'; import { usePreferencesStore } from '@/stores/preferences'; import { globals, PARAMETER } from '@/utils/constants'; export function ToggleNavigation() { const darkMode = usePreferencesStore(state => state.darkMode); const toggleDarkMode = usePreferencesStore(state => state.toggleDarkMode); const noNavigation = useAppLayoutStore(state => state.noNavigation); const noNavigationAnimation = useAppLayoutStore(state => state.noNavigationAnimation); const toggleNoNavigation = useAppLayoutStore(state => state.toggleNoNavigation); const iconSize = !noNavigationAnimation ? '0.75rem' : '1rem'; return (