Not found page

This commit is contained in:
syuilo 2020-02-06 23:20:59 +09:00
parent 15a41e31b0
commit c2a8e29ef9
3 changed files with 39 additions and 1 deletions

View 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>