diff --git a/client/components/admin/admin-contribute.vue b/client/components/admin/admin-contribute.vue index 0ee8d968..2d7e1b63 100644 --- a/client/components/admin/admin-contribute.vue +++ b/client/components/admin/admin-contribute.vue @@ -25,6 +25,9 @@ slider-color='#FFF' icons-and-text ) + v-tab + span GitHub + v-icon.my-1(size='24') mdi-github-circle v-tab span Patreon img.my-1(src='/svg/icon-patreon.svg', style='height: 24px;') @@ -40,6 +43,10 @@ v-tab span T-Shirts img.my-1(src='/svg/icon-t-shirt.svg', style='height: 24px;') + v-tab-item(:transition='false', :reverse-transition='false') + .body-2.pa-3 {{ $t('admin:contribute.github') }} + a.ml-3(href='https://github.com/users/NGPixel/sponsorship', :title='$t(`admin:contribute.becomeASponsor`)') + img(src='/img/donate_github.svg', :alt='$t(`admin:contribute.becomeASponsor`)' style='width:200px;') v-tab-item(:transition='false', :reverse-transition='false') .body-2.pa-3 {{ $t('admin:contribute.patreon') }} a.ml-3(href='https://www.patreon.com/bePatron?u=16744039', :title='$t(`admin:contribute.becomeAPatron`)') diff --git a/client/components/common/loader.vue b/client/components/common/loader.vue index 3304ad45..5749e329 100644 --- a/client/components/common/loader.vue +++ b/client/components/common/loader.vue @@ -1,5 +1,5 @@ @@ -226,6 +226,7 @@ export default { searchIsShown: true, searchAdvMenuShown: false, newPageModal: false, + movePageModal: false, deletePageModal: false, locales: siteLangs } @@ -339,11 +340,10 @@ export default { window.location.assign(`/s/${this.locale}/${this.path}`) }, pageMove () { - this.$store.commit('showNotification', { - style: 'indigo', - message: `Coming soon...`, - icon: 'ferry' - }) + this.movePageModal = true + }, + pageMoveRename ({ path, locale }) { + }, pageDelete () { this.deletePageModal = true diff --git a/client/components/common/page-delete.vue b/client/components/common/page-delete.vue index 46d5c057..01ef0582 100644 --- a/client/components/common/page-delete.vue +++ b/client/components/common/page-delete.vue @@ -1,5 +1,11 @@