From fc6e4ab9c498c52752ec431178b2c589b78a730b Mon Sep 17 00:00:00 2001 From: Tomas McNamer Date: Sat, 12 Feb 2022 18:14:27 -0500 Subject: [PATCH] feat: add link to admin area on welcome page (#4035) * feat: Add link to admin area on welcome page See: #1259 * fix: remove trailing slash from welcome admin button * fix: welcome page admin button link Co-authored-by: Nicolas Giard --- client/components/welcome.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/client/components/welcome.vue b/client/components/welcome.vue index 815aa4bf..3e4f4af3 100644 --- a/client/components/welcome.vue +++ b/client/components/welcome.vue @@ -5,9 +5,14 @@ img.animated.fadeIn(src='/_assets/svg/logo-wikijs.svg', alt='Wiki.js') .headline.animated.fadeInUp {{ $t('welcome.title') }} .subtitle-1.mt-3.animated.fadeInUp.wait-p1s {{ $t('welcome.subtitle') }} - v-btn.mt-5.animated.fadeInUp.wait-p2s(color='primary', :href='`/e/` + locale + `/home`', x-large) - v-icon(left) mdi-plus - span {{ $t('welcome.createhome') }} + div + v-btn.mt-5.mx-3.animated.fadeInUp.wait-p2s(color='primary', :href='`/e/` + locale + `/home`', x-large) + v-icon(left) mdi-plus + span {{ $t('welcome.createhome') }} + v-btn.mt-5.mx-3.animated.fadeInUp.wait-p3s(color='primary', href='/a', x-large) + v-icon(left) mdi-view-dashboard + span {{ $t('welcome.goadmin') }} +