2023-07-27 05:31:52 +00:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2020-02-06 14:20:59 +00:00
|
|
|
<template>
|
2023-05-19 07:20:53 +00:00
|
|
|
<div>
|
2020-07-04 09:28:31 +00:00
|
|
|
<div class="_fullinfo">
|
2023-06-09 05:00:53 +00:00
|
|
|
<img :src="notFoundImageUrl" class="_ghost"/>
|
2022-07-20 13:24:26 +00:00
|
|
|
<div>{{ i18n.ts.notFoundDescription }}</div>
|
2020-07-04 09:28:31 +00:00
|
|
|
</div>
|
2020-02-06 14:20:59 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2022-01-07 07:48:51 +00:00
|
|
|
<script lang="ts" setup>
|
2023-09-19 07:37:43 +00:00
|
|
|
import { i18n } from '@/i18n.js';
|
|
|
|
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
|
|
|
import { pleaseLogin } from '@/scripts/please-login.js';
|
|
|
|
import { notFoundImageUrl } from '@/instance.js';
|
2020-02-06 14:20:59 +00:00
|
|
|
|
2023-07-07 23:58:35 +00:00
|
|
|
const props = defineProps<{
|
|
|
|
showLoginPopup?: boolean;
|
|
|
|
}>();
|
|
|
|
|
|
|
|
if (props.showLoginPopup) {
|
|
|
|
pleaseLogin('/');
|
|
|
|
}
|
|
|
|
|
2022-06-20 08:38:49 +00:00
|
|
|
const headerActions = $computed(() => []);
|
|
|
|
|
|
|
|
const headerTabs = $computed(() => []);
|
|
|
|
|
|
|
|
definePageMetadata({
|
|
|
|
title: i18n.ts.notFound,
|
2023-09-30 19:53:52 +00:00
|
|
|
icon: 'ph-warning ph-bold ph-lg',
|
2020-02-06 14:20:59 +00:00
|
|
|
});
|
|
|
|
</script>
|