diff --git a/apps/dashboard/src/components/edit-workflow-layout.tsx b/apps/dashboard/src/components/edit-workflow-layout.tsx index 63e1ab6bdc6..acebb9226a9 100644 --- a/apps/dashboard/src/components/edit-workflow-layout.tsx +++ b/apps/dashboard/src/components/edit-workflow-layout.tsx @@ -16,7 +16,7 @@ export const EditWorkflowLayout = ({
- +
{children}
diff --git a/apps/dashboard/src/components/header-navigation/header-navigation.tsx b/apps/dashboard/src/components/header-navigation/header-navigation.tsx index 443d1b68ffb..869902079fc 100644 --- a/apps/dashboard/src/components/header-navigation/header-navigation.tsx +++ b/apps/dashboard/src/components/header-navigation/header-navigation.tsx @@ -4,12 +4,18 @@ import { InboxButton } from '@/components/inbox-button'; import { CustomerSupportButton } from './customer-support-button'; import { EditBridgeUrlButton } from './edit-bridge-url-button'; -export const HeaderNavigation = ({ startItems }: { startItems?: ReactNode }) => { +export const HeaderNavigation = ({ + startItems, + hideBridgeUrl = false, +}: { + startItems?: ReactNode; + hideBridgeUrl?: boolean; +}) => { return ( -
+
{startItems}
- + {!hideBridgeUrl ? : null} diff --git a/apps/dashboard/src/components/icons/arrow-right.tsx b/apps/dashboard/src/components/icons/arrow-right.tsx new file mode 100644 index 00000000000..3fc454cfd65 --- /dev/null +++ b/apps/dashboard/src/components/icons/arrow-right.tsx @@ -0,0 +1,12 @@ +import React from 'react'; + +export function ArrowRight(props: React.ComponentPropsWithoutRef<'svg'>) { + return ( + + + + ); +} diff --git a/apps/dashboard/src/components/icons/index.ts b/apps/dashboard/src/components/icons/index.ts index 41a586fb0f5..ba5763a8845 100644 --- a/apps/dashboard/src/components/icons/index.ts +++ b/apps/dashboard/src/components/icons/index.ts @@ -2,3 +2,5 @@ export * from './logo-circle'; export * from './notification-5-fill'; export * from './mail-3-fill'; export * from './sms'; +export * from './route-fill'; +export * from './arrow-right'; diff --git a/apps/dashboard/src/components/icons/route-fill.tsx b/apps/dashboard/src/components/icons/route-fill.tsx new file mode 100644 index 00000000000..dc43508ffa2 --- /dev/null +++ b/apps/dashboard/src/components/icons/route-fill.tsx @@ -0,0 +1,12 @@ +import React from 'react'; + +export function RouteFill(props: React.ComponentPropsWithoutRef<'svg'>) { + return ( + + + + ); +} diff --git a/apps/dashboard/src/components/primitives/breadcrumb.tsx b/apps/dashboard/src/components/primitives/breadcrumb.tsx new file mode 100644 index 00000000000..810dfd70714 --- /dev/null +++ b/apps/dashboard/src/components/primitives/breadcrumb.tsx @@ -0,0 +1,96 @@ +import { cn } from '@/utils/ui'; +import { Slot } from '@radix-ui/react-slot'; +import { MoreHorizontal } from 'lucide-react'; +import * as React from 'react'; +import { Link, LinkProps } from 'react-router-dom'; + +const Breadcrumb = React.forwardRef< + HTMLElement, + React.ComponentPropsWithoutRef<'nav'> & { + separator?: React.ReactNode; + } +>(({ ...props }, ref) =>