@@ -305,12 +274,9 @@ import {
} from '@headlessui/vue'
import {
BellIcon,
- CogIcon,
HomeIcon,
CollectionIcon,
MenuAlt1Icon,
- QuestionMarkCircleIcon,
- ShieldCheckIcon,
UserGroupIcon,
XIcon,
SunIcon,
@@ -362,29 +328,23 @@ export default {
const years = computed(() => usePage().props.value.years)
const navigation = [
- {name: 'Strona główna', href: '/', icon: HomeIcon, current: true},
- {name: 'Wnioski urlopowe', href: '/vacation-requests', icon: CollectionIcon, current: false},
- {name: 'Kalendarz urlopów', href: '/vacation-calendar', icon: CalendarIcon, current: false},
- {name: 'Dni wolne', href: '/holidays', icon: StarIcon, current: false},
- {name: 'Limity urlopów', href: '/vacation-limits', icon: SunIcon, current: false},
- {name: 'Użytkownicy', href: '/users', icon: UserGroupIcon, current: false},
+ {name: 'Wnioski urlopowe', href: '/vacation-requests', icon: CollectionIcon},
+ {name: 'Kalendarz urlopów', href: '/vacation-calendar', icon: CalendarIcon},
+ {name: 'Dni wolne', href: '/holidays', icon: StarIcon},
+ {name: 'Limity urlopów', href: '/vacation-limits', icon: SunIcon},
+ {name: 'Użytkownicy', href: '/users', icon: UserGroupIcon},
]
+
const userNavigation = [
{name: 'Your Profile', href: '#'},
{name: 'Settings', href: '#'},
{name: 'Wyloguj się', href: '/logout', method: 'post', as: 'button'},
]
- const secondaryNavigation = [
- {name: 'Settings', href: '#', icon: CogIcon},
- {name: 'Help', href: '#', icon: QuestionMarkCircleIcon},
- {name: 'Privacy', href: '#', icon: ShieldCheckIcon},
- ]
return {
user,
years,
navigation,
- secondaryNavigation,
userNavigation,
sidebarOpen,
}