1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-23 02:58:18 +09:00
MisskeyIO/packages/frontend/src/pages/not-found.vue

33 lines
674 B
Vue
Raw Normal View History

2020-02-06 23:20:59 +09:00
<template>
2023-05-19 16:20:53 +09:00
<div>
2020-07-04 18:28:31 +09:00
<div class="_fullinfo">
<img :src="notFoundImageUrl" class="_ghost"/>
2022-07-20 22:24:26 +09:00
<div>{{ i18n.ts.notFoundDescription }}</div>
2020-07-04 18:28:31 +09:00
</div>
2020-02-06 23:20:59 +09:00
</div>
</template>
2022-01-07 16:48:51 +09:00
<script lang="ts" setup>
import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
import { pleaseLogin } from '@/scripts/please-login';
import { notFoundImageUrl } from '@/instance';
2020-02-06 23:20:59 +09:00
const props = defineProps<{
showLoginPopup?: boolean;
}>();
if (props.showLoginPopup) {
pleaseLogin('/');
}
const headerActions = $computed(() => []);
const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.notFound,
icon: 'ti ti-alert-triangle',
2020-02-06 23:20:59 +09:00
});
</script>