mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-08-28 09:54:03 +00:00
refactor(ui): reorder sidebar with telephone below messages
This commit is contained in:
@@ -225,16 +225,16 @@
|
|||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- nomad network -->
|
<!-- telephone -->
|
||||||
<li>
|
<li>
|
||||||
<SidebarLink :to="{ name: 'nomadnetwork' }" :is-collapsed="isSidebarCollapsed">
|
<SidebarLink :to="{ name: 'call' }" :is-collapsed="isSidebarCollapsed">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<MaterialDesignIcon
|
<MaterialDesignIcon
|
||||||
icon-name="earth"
|
icon-name="phone"
|
||||||
class="w-6 h-6 text-gray-700 dark:text-gray-200"
|
class="w-6 h-6 text-gray-700 dark:text-gray-200"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #text>{{ $t("app.nomad_network") }}</template>
|
<template #text>{{ $t("app.audio_calls") }}</template>
|
||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@@ -251,16 +251,16 @@
|
|||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- banished -->
|
<!-- nomad network -->
|
||||||
<li>
|
<li>
|
||||||
<SidebarLink :to="{ name: 'blocked' }" :is-collapsed="isSidebarCollapsed">
|
<SidebarLink :to="{ name: 'nomadnetwork' }" :is-collapsed="isSidebarCollapsed">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<MaterialDesignIcon
|
<MaterialDesignIcon
|
||||||
icon-name="gavel"
|
icon-name="earth"
|
||||||
class="w-6 h-6 text-gray-700 dark:text-gray-200"
|
class="w-6 h-6 text-gray-700 dark:text-gray-200"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #text>{{ $t("banishment.title") }}</template>
|
<template #text>{{ $t("app.nomad_network") }}</template>
|
||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@@ -290,16 +290,16 @@
|
|||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- telephone -->
|
<!-- tools -->
|
||||||
<li>
|
<li>
|
||||||
<SidebarLink :to="{ name: 'call' }" :is-collapsed="isSidebarCollapsed">
|
<SidebarLink :to="{ name: 'tools' }" :is-collapsed="isSidebarCollapsed">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<MaterialDesignIcon
|
<MaterialDesignIcon
|
||||||
icon-name="phone"
|
icon-name="wrench"
|
||||||
class="w-6 h-6 text-gray-700 dark:text-gray-200"
|
class="size-6 text-gray-700 dark:text-gray-200"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #text>{{ $t("app.audio_calls") }}</template>
|
<template #text>{{ $t("app.tools") }}</template>
|
||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@@ -332,16 +332,16 @@
|
|||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- tools -->
|
<!-- banished -->
|
||||||
<li>
|
<li>
|
||||||
<SidebarLink :to="{ name: 'tools' }" :is-collapsed="isSidebarCollapsed">
|
<SidebarLink :to="{ name: 'blocked' }" :is-collapsed="isSidebarCollapsed">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<MaterialDesignIcon
|
<MaterialDesignIcon
|
||||||
icon-name="wrench"
|
icon-name="gavel"
|
||||||
class="size-6 text-gray-700 dark:text-gray-200"
|
class="w-6 h-6 text-gray-700 dark:text-gray-200"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #text>{{ $t("app.tools") }}</template>
|
<template #text>{{ $t("banishment.title") }}</template>
|
||||||
</SidebarLink>
|
</SidebarLink>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|||||||
@@ -134,6 +134,14 @@ export default {
|
|||||||
type: "navigation",
|
type: "navigation",
|
||||||
route: { name: "messages" },
|
route: { name: "messages" },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "nav-call",
|
||||||
|
title: "nav_call",
|
||||||
|
description: "nav_call_desc",
|
||||||
|
icon: "phone",
|
||||||
|
type: "navigation",
|
||||||
|
route: { name: "call" },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "nav-nomad",
|
id: "nav-nomad",
|
||||||
title: "nav_nomad",
|
title: "nav_nomad",
|
||||||
@@ -158,14 +166,6 @@ export default {
|
|||||||
type: "navigation",
|
type: "navigation",
|
||||||
route: { name: "paper-message" },
|
route: { name: "paper-message" },
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: "nav-call",
|
|
||||||
title: "nav_call",
|
|
||||||
description: "nav_call_desc",
|
|
||||||
icon: "phone",
|
|
||||||
type: "navigation",
|
|
||||||
route: { name: "call" },
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "nav-settings",
|
id: "nav-settings",
|
||||||
title: "nav_settings",
|
title: "nav_settings",
|
||||||
|
|||||||
Reference in New Issue
Block a user