From 7e3863978d62de8d9e9c7d67d82c3bb2414b5ca6 Mon Sep 17 00:00:00 2001 From: maciejpedzich Date: Wed, 13 Jul 2022 22:41:18 +0200 Subject: [PATCH] Place a link with steps for adding a playlist --- components/ui/NavBar.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/components/ui/NavBar.vue b/components/ui/NavBar.vue index 9cd6dae..1062087 100644 --- a/components/ui/NavBar.vue +++ b/components/ui/NavBar.vue @@ -3,10 +3,11 @@ import Menubar from 'primevue/menubar'; interface MenuItem { label: string; - icon: string; + icon?: string; to?: string; visible?: boolean; command?(): unknown; + items?: MenuItem[]; } const items = computed(() => [ @@ -19,6 +20,12 @@ const items = computed(() => [ label: 'About', icon: 'pi pi-info-circle', to: '/about' + }, + { + label: 'Add a playlist', + icon: 'pi pi-plus', + url: 'https://github.com/mackorone/spotify-playlist-archive/blob/main/CONTRIBUTING.md', + target: '_blank' } ]);