From ef1c9ee91607c0e88c6d72bdde659a222a8ac7ac Mon Sep 17 00:00:00 2001 From: maciejpedzich Date: Wed, 13 Jul 2022 22:44:01 +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..1c5f2df 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(() => [ @@ -15,6 +16,12 @@ const items = computed(() => [ icon: 'pi pi-home', to: '/' }, + { + label: 'Add a playlist', + icon: 'pi pi-plus', + url: 'https://github.com/mackorone/spotify-playlist-archive/blob/main/CONTRIBUTING.md', + target: '_blank' + }, { label: 'About', icon: 'pi pi-info-circle',