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