Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

style(sidebar): drop the Support section title, use lifebuoy icon for docs

Paulo Castellanoc1292baa3165
diff --git a/resources/js/components/AppSidebar.vue b/resources/js/components/AppSidebar.vue
index 8f9e1328c..10c0c6f52 100644
--- a/resources/js/components/AppSidebar.vue
+++ b/resources/js/components/AppSidebar.vue
@@ -4,7 +4,6 @@ import {
IconAffiliate,
IconAlertTriangle,
IconBolt,
- IconBook,
IconBrandX,
IconCalendar,
IconChartBar,
@@ -14,6 +13,7 @@ import {
IconFileText,
IconGift,
IconHash,
+ IconLifebuoy,
IconPhoto,
IconPencil,
IconPlus,
@@ -162,7 +162,7 @@ const supportNavItems = computed(() => [
{
title: trans('sidebar.support.docs'),
href: 'https://trypost.it/docs',
- icon: IconBook,
+ icon: IconLifebuoy,
},
]);
@@ -239,7 +239,7 @@ const handleCreateWorkspace = () => {
<NavMain v-if="currentWorkspace" :items="mainNavItems" />
<NavMain v-if="currentWorkspace" :items="postsNavItems" :label="$t('sidebar.groups.posts')" />
<NavMain v-if="currentWorkspace && workspaceNavItems.length" :items="workspaceNavItems" :label="$t('sidebar.groups.workspace')" />
- <NavSupport v-if="currentWorkspace" :items="supportNavItems" :label="$t('sidebar.groups.support')" />
+ <NavSupport v-if="currentWorkspace" :items="supportNavItems" />
</SidebarContent>
<SidebarFooter>
diff --git a/resources/js/components/NavSupport.vue b/resources/js/components/NavSupport.vue
index d3ed0e3d6..fbca549a3 100644
--- a/resources/js/components/NavSupport.vue
+++ b/resources/js/components/NavSupport.vue
@@ -17,7 +17,7 @@ interface SupportNavItem {
interface Props {
items: SupportNavItem[];
- label: string;
+ label?: string;
}
defineProps<Props>();
@@ -25,7 +25,7 @@ defineProps<Props>();
<template>
<SidebarGroup class="px-2 py-0">
- <SidebarGroupLabel>{{ label }}</SidebarGroupLabel>
+ <SidebarGroupLabel v-if="label">{{ label }}</SidebarGroupLabel>
<SidebarMenu>
<SidebarMenuItem v-for="item in items" :key="item.title">
<SidebarMenuButton as-child :tooltip="item.title">