diff --git a/apps/engine/src/components/banners/faq-banner/faq-banner.tsx b/apps/engine/src/components/banners/faq-banner/faq-banner.tsx index 73dce70..bb3e2ce 100644 --- a/apps/engine/src/components/banners/faq-banner/faq-banner.tsx +++ b/apps/engine/src/components/banners/faq-banner/faq-banner.tsx @@ -85,7 +85,7 @@ const items = [ export function FaqBanner() { return ( -
+

Frequently asked questions

diff --git a/apps/engine/src/modules/app-layout/app-sidebar.tsx b/apps/engine/src/modules/app-layout/app-sidebar.tsx index a93080d..b78d81d 100644 --- a/apps/engine/src/modules/app-layout/app-sidebar.tsx +++ b/apps/engine/src/modules/app-layout/app-sidebar.tsx @@ -2,7 +2,18 @@ import * as React from 'react'; -import { Icons, LucideIcons } from '@ds-project/components'; +import { + cn, + Collapsible, + CollapsibleContent, + CollapsibleTrigger, + Icons, + LucideIcons, + PenpotLogo, + SidebarMenuSub, + SidebarMenuSubButton, + SidebarMenuSubItem, +} from '@ds-project/components'; import { Sidebar, @@ -34,6 +45,41 @@ const navigationItems = [ }, ]; +const groupItems = [ + { + title: 'Sources', + icon: LucideIcons.Target, + items: [ + { + title: 'Figma', + url: '/app/sources', + icon: LucideIcons.Figma, + }, + { + title: 'Penpot', + icon: PenpotLogo, + disabled: true, + }, + ], + }, + { + title: 'Destinations', + icon: LucideIcons.Code2, + items: [ + { + title: 'GitHub', + url: '/app/destinations', + icon: LucideIcons.Github, + }, + { + title: 'GitLab', + icon: LucideIcons.Gitlab, + disabled: true, + }, + ], + }, +]; + export function AppSidebar({ email }: { email: string }) { return ( @@ -51,15 +97,48 @@ export function AppSidebar({ email }: { email: string }) { Connections - {navigationItems.map((item) => ( - - - - - {item.title} - - - + {groupItems.map((groupItem) => ( + + + + + + {groupItem.title} + + + + + + {groupItem.items.map((subItem) => ( + + {subItem.disabled ? ( + + + {subItem.title} + + ) : ( + + + + {subItem.title} + + + )} + + ))} + + + + ))} @@ -68,6 +147,14 @@ export function AppSidebar({ email }: { email: string }) { Shortcuts + + + + + FAQs + + + diff --git a/apps/engine/src/modules/app-layout/breadcrumb-nav.tsx b/apps/engine/src/modules/app-layout/breadcrumb-nav.tsx index 89ddb1d..b347de7 100644 --- a/apps/engine/src/modules/app-layout/breadcrumb-nav.tsx +++ b/apps/engine/src/modules/app-layout/breadcrumb-nav.tsx @@ -25,7 +25,7 @@ export function BreadcrumbNav() { - Connections + {connectionGroup}