2023-07-27 07:31:52 +02:00
|
|
|
<!--
|
2024-02-13 16:59:27 +01:00
|
|
|
SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-27 07:31:52 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2020-02-06 15:20:59 +01:00
|
|
|
<template>
|
2023-05-19 09:20:53 +02:00
|
|
|
<div>
|
2020-07-04 11:28:31 +02:00
|
|
|
<div class="_fullinfo">
|
2023-06-09 07:00:53 +02:00
|
|
|
<img :src="notFoundImageUrl" class="_ghost"/>
|
2022-07-20 15:24:26 +02:00
|
|
|
<div>{{ i18n.ts.notFoundDescription }}</div>
|
2020-07-04 11:28:31 +02:00
|
|
|
</div>
|
2020-02-06 15:20:59 +01:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2022-01-07 08:48:51 +01:00
|
|
|
<script lang="ts" setup>
|
2023-12-07 06:42:09 +01:00
|
|
|
import { computed } from 'vue';
|
2023-09-19 09:37:43 +02: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 15:20:59 +01:00
|
|
|
|
2023-07-08 01:58:35 +02:00
|
|
|
const props = defineProps<{
|
|
|
|
showLoginPopup?: boolean;
|
|
|
|
}>();
|
|
|
|
|
|
|
|
if (props.showLoginPopup) {
|
|
|
|
pleaseLogin('/');
|
|
|
|
}
|
|
|
|
|
2023-12-07 06:42:09 +01:00
|
|
|
const headerActions = computed(() => []);
|
2022-06-20 10:38:49 +02:00
|
|
|
|
2023-12-07 06:42:09 +01:00
|
|
|
const headerTabs = computed(() => []);
|
2022-06-20 10:38:49 +02:00
|
|
|
|
2024-02-16 08:17:09 +01:00
|
|
|
definePageMetadata(() => ({
|
2022-06-20 10:38:49 +02:00
|
|
|
title: i18n.ts.notFound,
|
2024-06-21 16:31:32 +02:00
|
|
|
icon: 'ti ti-alert-triangle',
|
2024-02-16 08:17:09 +01:00
|
|
|
}));
|
2020-02-06 15:20:59 +01:00
|
|
|
</script>
|