2023-07-27 14:31:52 +09:00
|
|
|
<!--
|
2024-02-13 15:59:27 +00:00
|
|
|
SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-27 14:31:52 +09:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
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">
|
2025-03-16 13:59:08 +09:00
|
|
|
<img :src="notFoundImageUrl" draggable="false"/>
|
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>
|
2023-12-07 14:42:09 +09:00
|
|
|
import { computed } from 'vue';
|
2023-09-19 16:37:43 +09:00
|
|
|
import { i18n } from '@/i18n.js';
|
2025-03-10 13:47:38 +09:00
|
|
|
import { definePage } from '@/page.js';
|
2025-03-09 14:28:01 +09:00
|
|
|
import { pleaseLogin } from '@/utility/please-login.js';
|
2023-09-19 16:37:43 +09:00
|
|
|
import { notFoundImageUrl } from '@/instance.js';
|
2020-02-06 23:20:59 +09:00
|
|
|
|
2023-07-08 08:58:35 +09:00
|
|
|
const props = defineProps<{
|
|
|
|
showLoginPopup?: boolean;
|
|
|
|
}>();
|
|
|
|
|
|
|
|
if (props.showLoginPopup) {
|
2024-10-21 12:49:29 +09:00
|
|
|
pleaseLogin({ path: '/' });
|
2023-07-08 08:58:35 +09:00
|
|
|
}
|
|
|
|
|
2023-12-07 14:42:09 +09:00
|
|
|
const headerActions = computed(() => []);
|
2022-06-20 17:38:49 +09:00
|
|
|
|
2023-12-07 14:42:09 +09:00
|
|
|
const headerTabs = computed(() => []);
|
2022-06-20 17:38:49 +09:00
|
|
|
|
2025-03-10 13:47:38 +09:00
|
|
|
definePage(() => ({
|
2022-06-20 17:38:49 +09:00
|
|
|
title: i18n.ts.notFound,
|
2022-12-19 19:01:30 +09:00
|
|
|
icon: 'ti ti-alert-triangle',
|
2024-02-16 16:17:09 +09:00
|
|
|
}));
|
2020-02-06 23:20:59 +09:00
|
|
|
</script>
|