2024-12-02 22:55:36 +01:00
|
|
|
<template>
|
2025-03-28 01:16:24 +01:00
|
|
|
<Sidebar collapsible="offcanvas">
|
|
|
|
|
<InstanceHeader />
|
2024-12-02 22:55:36 +01:00
|
|
|
<SidebarContent>
|
|
|
|
|
<SidebarGroup>
|
2025-03-28 01:16:24 +01:00
|
|
|
<SidebarGroupLabel>{{
|
|
|
|
|
m.trite_real_sawfish_drum()
|
|
|
|
|
}}</SidebarGroupLabel>
|
|
|
|
|
<NavItems
|
|
|
|
|
:items="
|
|
|
|
|
sidebarConfig.other.filter((i) =>
|
|
|
|
|
i.requiresLogin ? !!identity : true
|
|
|
|
|
)
|
|
|
|
|
"
|
|
|
|
|
/>
|
2024-12-02 22:55:36 +01:00
|
|
|
</SidebarGroup>
|
2024-12-03 13:44:18 +01:00
|
|
|
<SidebarGroup v-if="identity" class="mt-auto">
|
2025-03-28 01:16:24 +01:00
|
|
|
<SidebarGroupLabel>{{
|
|
|
|
|
m.close_short_kitten_coax()
|
|
|
|
|
}}</SidebarGroupLabel>
|
|
|
|
|
<NavGroup :items="sidebarConfig.navMain" />
|
2024-12-02 22:55:36 +01:00
|
|
|
</SidebarGroup>
|
|
|
|
|
</SidebarContent>
|
2025-03-28 01:16:24 +01:00
|
|
|
<FooterActions />
|
2024-12-02 22:55:36 +01:00
|
|
|
<SidebarRail />
|
|
|
|
|
</Sidebar>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2025-03-28 01:16:24 +01:00
|
|
|
import { sidebarConfig } from "~/components/sidebars/sidebar";
|
2024-12-02 22:55:36 +01:00
|
|
|
import {
|
|
|
|
|
Sidebar,
|
|
|
|
|
SidebarContent,
|
|
|
|
|
SidebarGroup,
|
|
|
|
|
SidebarGroupLabel,
|
|
|
|
|
SidebarRail,
|
|
|
|
|
} from "~/components/ui/sidebar";
|
2024-12-07 20:24:09 +01:00
|
|
|
import * as m from "~/paraglide/messages.js";
|
2025-03-28 01:16:24 +01:00
|
|
|
import FooterActions from "./footer/footer-actions.vue";
|
|
|
|
|
import InstanceHeader from "./instance/instance-header.vue";
|
|
|
|
|
import NavGroup from "./navigation/nav-group.vue";
|
|
|
|
|
import NavItems from "./navigation/nav-items.vue";
|
2025-02-09 19:39:05 +01:00
|
|
|
</script>
|