860e8bb5d8
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
39 lines
824 B
Vue
39 lines
824 B
Vue
<!--
|
|
SPDX-FileCopyrightText: syuilo and misskey-project
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
|
|
<template>
|
|
<div>
|
|
<div class="_fullinfo">
|
|
<img :src="notFoundImageUrl" class="_ghost"/>
|
|
<div>{{ i18n.ts.notFoundDescription }}</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { computed } from 'vue';
|
|
import { i18n } from '@/i18n.js';
|
|
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
|
import { pleaseLogin } from '@/scripts/please-login.js';
|
|
import { notFoundImageUrl } from '@/instance.js';
|
|
|
|
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',
|
|
}));
|
|
</script>
|