summaryrefslogtreecommitdiff
path: root/src/client/pages/not-found.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/pages/not-found.vue')
-rw-r--r--src/client/pages/not-found.vue21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/client/pages/not-found.vue b/src/client/pages/not-found.vue
index 5bc4d4589a..a90a6344e4 100644
--- a/src/client/pages/not-found.vue
+++ b/src/client/pages/not-found.vue
@@ -1,8 +1,5 @@
<template>
<div class="ipledcug">
- <portal to="icon"><fa :icon="faExclamationTriangle"/></portal>
- <portal to="title">{{ $t('notFound') }}</portal>
-
<div class="_fullinfo">
<img src="https://xn--931a.moe/assets/not-found.jpg" class="_ghost"/>
<div>{{ $t('notFoundDescription') }}</div>
@@ -11,19 +8,19 @@
</template>
<script lang="ts">
-import Vue from 'vue';
+import { defineComponent } from 'vue';
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
+import * as os from '@/os';
-export default Vue.extend({
- metaInfo() {
- return {
- title: this.$t('notFound') as string
- };
- },
-
+export default defineComponent({
data() {
return {
- faExclamationTriangle
+ INFO: {
+ header: [{
+ title: this.$t('notFound'),
+ icon: faExclamationTriangle
+ }]
+ },
}
},
});