From 13aa4b64b44d7fe2a44c3e2722e2edfcecb57449 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 9 Jan 2023 10:07:37 +0900 Subject: [PATCH] tweak client --- .../frontend/src/pages/admin/federation.vue | 123 ++++++++++++++++++ packages/frontend/src/pages/admin/index.vue | 2 +- packages/frontend/src/router.ts | 4 + 3 files changed, 128 insertions(+), 1 deletion(-) create mode 100644 packages/frontend/src/pages/admin/federation.vue diff --git a/packages/frontend/src/pages/admin/federation.vue b/packages/frontend/src/pages/admin/federation.vue new file mode 100644 index 0000000000..96bd087e66 --- /dev/null +++ b/packages/frontend/src/pages/admin/federation.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index c71ebd4e2e..c90a1c1b00 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -104,7 +104,7 @@ const menuDef = $computed(() => [{ }, { icon: 'ti ti-whirl', text: i18n.ts.federation, - to: '/about#federation', + to: '/admin/federation', active: currentPage?.route.name === 'federation', }, { icon: 'ti ti-clock-play', diff --git a/packages/frontend/src/router.ts b/packages/frontend/src/router.ts index bfa4a3ceab..4b9f49f8fd 100644 --- a/packages/frontend/src/router.ts +++ b/packages/frontend/src/router.ts @@ -339,6 +339,10 @@ export const routes = [{ path: '/files', name: 'files', component: page(() => import('./pages/admin/files.vue')), + }, { + path: '/federation', + name: 'federation', + component: page(() => import('./pages/admin/federation.vue')), }, { path: '/announcements', name: 'announcements',