Not found page
This commit is contained in:
parent
15a41e31b0
commit
c2a8e29ef9
3 changed files with 39 additions and 1 deletions
36
src/client/pages/not-found.vue
Normal file
36
src/client/pages/not-found.vue
Normal file
|
@ -0,0 +1,36 @@
|
|||
<template>
|
||||
<div class="">
|
||||
<portal to="icon"><fa :icon="faExclamationTriangle"/></portal>
|
||||
<portal to="title">{{ $t('notFound') }}</portal>
|
||||
|
||||
<section class="_card">
|
||||
<div class="_title"><fa :icon="faExclamationTriangle"/> {{ $t('notFound') }}</div>
|
||||
<div class="_content">{{ $t('notFoundDescription') }}</div>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
||||
import i18n from '../i18n';
|
||||
|
||||
export default Vue.extend({
|
||||
i18n,
|
||||
|
||||
metaInfo() {
|
||||
return {
|
||||
title: this.$t('notFound') as string
|
||||
};
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
faExclamationTriangle
|
||||
}
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue