Skip to content

Commit

Permalink
feat: add link to admin area on welcome page (#4035)
Browse files Browse the repository at this point in the history
* 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 <github@ngpixel.com>
  • Loading branch information
tommcn and NGPixel authored Feb 12, 2022
1 parent 0bc93e9 commit fc6e4ab
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions client/components/welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}

</template>

<script>
Expand Down

0 comments on commit fc6e4ab

Please sign in to comment.