fix: page not found component (#990)

This commit is contained in:
Nick
2019-08-30 21:23:04 -04:00
parent a41ca694be
commit 7b2c35d2dc
4 changed files with 27 additions and 10 deletions

View File

@@ -0,0 +1,24 @@
<template lang='pug'>
v-app
.notfound
.notfound-content
img.animated.fadeIn(src='/svg/icon-delete-file.svg', alt='Not Found')
.headline {{$t('notfound.title')}}
.subheading.mt-3 {{$t('notfound.subtitle')}}
v-btn.mt-5(color='red lighten-4', href='/', large, outlined)
v-icon(left) mdi-home
span {{$t('notfound.gohome')}}
</template>
<script>
export default {
data() {
return { }
}
}
</script>
<style lang='scss'>
</style>

View File

@@ -73,7 +73,7 @@
persistent-hint,
hint='Help Wiki.js developers improve this app with anonymized telemetry.'
)
v-alert(:value='error', type='error', icon='warning') {{ errorMessage }}
v-alert(:value='error', type='error', icon='mdi-alert') {{ errorMessage }}
v-divider.mt-3(v-if='!error')
v-card-actions
v-btn(color='primary', @click='install', :disabled='loading', x-large, flat, block)