wikijs-fork/client/components/welcome.vue
Tomas McNamer fc6e4ab9c4
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 <github@ngpixel.com>
2022-02-12 18:14:27 -05:00

36 lines
870 B
Vue

<template lang='pug'>
v-app
.onboarding
.onboarding-content
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') }}
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>
export default {
props: {
locale: {
type: String,
default: 'en'
}
},
data() {
return { }
}
}
</script>
<style lang='scss'>
</style>