mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 08:13:10 +02:00
c2370a1be6
* chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
35 lines
760 B
Vue
35 lines
760 B
Vue
<!--
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
|
|
<template>
|
|
<div v-if="meta">
|
|
<XSetup v-if="meta.requireSetup"/>
|
|
<XEntrance v-else/>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { computed } from 'vue';
|
|
import XSetup from './welcome.setup.vue';
|
|
import XEntrance from './welcome.entrance.a.vue';
|
|
import { instanceName } from '@/config';
|
|
import * as os from '@/os';
|
|
import { definePageMetadata } from '@/scripts/page-metadata';
|
|
|
|
let meta = $ref(null);
|
|
|
|
os.api('meta', { detail: true }).then(res => {
|
|
meta = res;
|
|
});
|
|
|
|
const headerActions = $computed(() => []);
|
|
|
|
const headerTabs = $computed(() => []);
|
|
|
|
definePageMetadata(computed(() => ({
|
|
title: instanceName,
|
|
icon: null,
|
|
})));
|
|
</script>
|