@@ -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,
}
diff --git a/setup b/setup
index 2fd090a..7e8b15c 100644
--- a/setup
+++ b/setup
@@ -8,6 +8,7 @@ docker-compose build --no-cache --pull
docker-compose up -d
docker-compose run --rm -u "$(id -u):$(id -g)" php composer install
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan key:generate
+docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan storage:link
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan migrate --seed
docker-compose run --rm -u "$(id -u):$(id -g)" node npm install
docker-compose run --rm -u "$(id -u):$(id -g)" node npm run dev
diff --git a/storage/app/.gitignore b/storage/app/.gitignore
index 8f4803c..e857769 100644
--- a/storage/app/.gitignore
+++ b/storage/app/.gitignore
@@ -1,3 +1,4 @@
*
!public/
+!avatars/
!.gitignore
diff --git a/storage/app/avatars/.gitignore b/storage/app/avatars/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/app/avatars/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore