From cede5216b259f8dcb9a0938cb18befef69fb2f29 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Mon, 1 Sep 2025 01:29:22 +0700 Subject: [PATCH] feat: growchief --- .../src/components/layout/top.menu.tsx | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/components/layout/top.menu.tsx b/apps/frontend/src/components/layout/top.menu.tsx index 1f8eb6a9..66c78d98 100644 --- a/apps/frontend/src/components/layout/top.menu.tsx +++ b/apps/frontend/src/components/layout/top.menu.tsx @@ -1,7 +1,6 @@ 'use client'; import { FC, ReactNode } from 'react'; -import { usePathname } from 'next/navigation'; import { useUser } from '@gitroom/frontend/components/layout/user.context'; import { useVariables } from '@gitroom/react/helpers/variable.context'; import { useT } from '@gitroom/react/translation/get.transation.service.client'; @@ -129,6 +128,39 @@ export const useMenuItem = () => { ] satisfies MenuItemInterface[] as MenuItemInterface[]; const secondMenu = [ + { + name: 'GrowChief', + icon: ( + + + + + + ), + path: 'https://growchief.com', + role: ['ADMIN', 'SUPERADMIN', 'USER'], + requireBilling: true, + }, { name: t('affiliate', 'Affiliate'), icon: ( @@ -237,7 +269,7 @@ export const useMenuItem = () => { ), path: '/settings', - role: ['ADMIN', "USER", 'SUPERADMIN'], + role: ['ADMIN', 'USER', 'SUPERADMIN'], }, ] satisfies MenuItemInterface[] as MenuItemInterface[];