mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
federation page proper in admin
This commit is contained in:
parent
9fa91c6b1f
commit
4cbf98e482
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "calckey",
|
||||
"version": "12.119.0-calc.10",
|
||||
"version": "12.119.0-calc.10.1",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
26
packages/client/src/pages/admin/federation.vue
Normal file
26
packages/client/src/pages/admin/federation.vue
Normal file
@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<div>
|
||||
<MkStickyContainer>
|
||||
<template #header><MkPageHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs"/></template>
|
||||
<MkSpacer :content-max="900">
|
||||
<XFederation/>
|
||||
</MkSpacer>
|
||||
</MkStickyContainer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from 'vue';
|
||||
import { definePageMetadata } from '@/scripts/page-metadata';
|
||||
import { i18n } from '@/i18n';
|
||||
import XFederation from '@/pages/about.federation.vue';
|
||||
|
||||
const headerActions = $computed(() => []);
|
||||
|
||||
const headerTabs = $computed(() => []);
|
||||
|
||||
definePageMetadata(computed(() => ({
|
||||
title: i18n.ts.federation,
|
||||
icon: 'ph-planet-bold ph-lg',
|
||||
})));
|
||||
</script>
|
@ -118,7 +118,7 @@ const menuDef = $computed(() => [{
|
||||
}, {
|
||||
icon: 'ph-planet-bold ph-lg',
|
||||
text: i18n.ts.federation,
|
||||
to: '/about#federation',
|
||||
to: '/admin/federation',
|
||||
active: currentPage?.route.name === 'federation',
|
||||
}, {
|
||||
icon: 'ph-clipboard-text-bold ph-lg',
|
||||
|
@ -339,6 +339,10 @@ export const routes = [{
|
||||
path: '/emojis',
|
||||
name: 'emojis',
|
||||
component: page(() => import('./pages/admin/emojis.vue')),
|
||||
}, {
|
||||
path: '/federation',
|
||||
name: 'federation',
|
||||
component: page(() => import('./pages/admin/federation.vue')),
|
||||
}, {
|
||||
path: '/queue',
|
||||
name: 'queue',
|
||||
|
Loading…
Reference in New Issue
Block a user