rudeshark.net/src/client/pages/not-found.vue

55 lines
953 B
Vue
Raw Normal View History

2020-02-06 15:20:59 +01:00
<template>
2020-02-08 10:35:42 +01:00
<div class="ipledcug">
2020-02-06 15:20:59 +01:00
<portal to="icon"><fa :icon="faExclamationTriangle"/></portal>
<portal to="title">{{ $t('notFound') }}</portal>
<section class="_card">
2020-02-08 10:35:42 +01:00
<div class="_content">
2020-02-11 22:43:22 +01:00
<img src="https://xn--931a.moe/assets/not-found.png" alt=""/>
2020-02-08 10:35:42 +01:00
<div>{{ $t('notFoundDescription') }}</div>
</div>
2020-02-06 15:20:59 +01:00
</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>
2020-02-08 10:35:42 +01:00
.ipledcug {
> ._card {
> ._content {
text-align: center;
> img {
vertical-align: bottom;
height: 150px;
margin-bottom: 16px;
border-radius: 16px;
2020-02-09 14:25:36 +01:00
pointer-events: none;
user-select: none;
2020-02-08 10:35:42 +01:00
}
}
}
}
2020-02-06 15:20:59 +01:00
</style>