diff --git a/frontend/components/Layout/DefaultLayout.vue b/frontend/components/Layout/DefaultLayout.vue index 1360af25edf8..df7628b664dc 100644 --- a/frontend/components/Layout/DefaultLayout.vue +++ b/frontend/components/Layout/DefaultLayout.vue @@ -6,8 +6,6 @@ v-model="sidebar" absolute :top-link="topLinks" - :secondary-header="cookbookLinks.length ? $tc('sidebar.cookbooks') : undefined" - :secondary-header-link="isOwnGroup && cookbookLinks.length ? `/g/${groupSlug}/cookbooks` : undefined" :secondary-links="cookbookLinks || []" :bottom-links="isAdmin ? bottomLinks : []" > @@ -146,14 +144,6 @@ to: `/g/${groupSlug.value}/r/create/new`, restricted: true, }, - { - insertDivider: true, - icon: $globals.icons.pages, - title: i18n.tc("sidebar.cookbook"), - subtitle: i18n.tc("sidebar.create-cookbook"), - to: `/g/${groupSlug.value}/cookbooks`, - restricted: true, - }, ]); const bottomLinks = computed(() => [ @@ -191,22 +181,35 @@ restricted: true, }, { - icon: $globals.icons.categories, - to: `/g/${groupSlug.value}/recipes/categories`, - title: i18n.tc("sidebar.categories"), + icon: $globals.icons.book, + to: `/g/${groupSlug.value}/cookbooks`, + title: i18n.tc("cookbook.cookbooks"), restricted: true, }, { - icon: $globals.icons.tags, - to: `/g/${groupSlug.value}/recipes/tags`, - title: i18n.tc("sidebar.tags"), - restricted: true, - }, - { - icon: $globals.icons.potSteam, - to: `/g/${groupSlug.value}/recipes/tools`, - title: i18n.tc("tool.tools"), + icon: $globals.icons.organizers, + title: "Organizers", restricted: true, + children: [ + { + icon: $globals.icons.categories, + to: `/g/${groupSlug.value}/recipes/categories`, + title: i18n.tc("sidebar.categories"), + restricted: true, + }, + { + icon: $globals.icons.tags, + to: `/g/${groupSlug.value}/recipes/tags`, + title: i18n.tc("sidebar.tags"), + restricted: true, + }, + { + icon: $globals.icons.potSteam, + to: `/g/${groupSlug.value}/recipes/tools`, + title: i18n.tc("tool.tools"), + restricted: true, + }, + ], }, ]); diff --git a/frontend/components/Layout/LayoutParts/AppSidebar.vue b/frontend/components/Layout/LayoutParts/AppSidebar.vue index 6a4585a2ca30..049b71e4b8f3 100644 --- a/frontend/components/Layout/LayoutParts/AppSidebar.vue +++ b/frontend/components/Layout/LayoutParts/AppSidebar.vue @@ -39,13 +39,12 @@ {{ nav.title }} - + {{ child.icon }} {{ child.title }} - @@ -68,18 +67,8 @@ -