fix: page not found component (#990)
This commit is contained in:
24
client/components/not-found.vue
Normal file
24
client/components/not-found.vue
Normal 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>
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user