import { ChevronDown, cn, Home, Library } from '@sim/emcn' import { Calendar, Database, File, HelpCircle, Integration, MoreHorizontal, PanelLeft, Plus, Search, Settings, Table, } from '@sim/emcn/icons' import Image from 'next/image' import { SIDEBAR_CHATS, SIDEBAR_WORKFLOWS, } from '@/app/(landing)/enterprise/components/enterprise-platform-loop/stage-data' const WORKSPACE_NAV = [ { label: 'Tables', icon: Table }, { label: 'Files', icon: File }, { label: 'Knowledge base', icon: Database }, { label: 'Scheduled tasks', icon: Calendar }, { label: 'Logs', icon: Library }, ] as const interface IconRowProps { icon: React.ComponentType<{ className?: string }> label: string active?: boolean } /** A sidebar nav row with a leading icon, like the real workspace sidebar. */ function IconRow({ icon: Icon, label, active = false }: IconRowProps) { return (
{label}
) } /** A bare text row - the real sidebar's chat and workflow entries. */ function TextRow({ label }: { label: string }) { return (
{label}
) } /** Muted section heading (Chats / Workspace / Workflows). */ function SectionLabel({ label, actions }: { label: string; actions?: boolean }) { return (
{label} {actions && ( )}
) } /** * The Brightwave workspace sidebar, rendered live (the homepage loop keeps its * baked-screenshot sidebar; the enterprise loop draws its own so the content * can read like a large tenured deployment): the workspace header, New chat / * Search / Integrations, a filled-out Chats history, the Workspace nav, a full * Workflows section, and the Help / Settings footer. Purely decorative - * hover/click behavior is owned by the parent's `pointer-events-none` frame. */ export function EnterpriseSidebar() { return (
{/* Workspace header, matching the real product's WorkspaceHeader chip (borderless `chipVariants()` geometry: h-[30px] rounded-lg px-2 with mx-0.5, 16px logo, text-sm name, 6x10 chevron) and therefore the homepage's baked sidebar pixels - logo + name + chevron as a bare row, panel toggle right-aligned outside it. */}
{/* The exact Brightwave mark the homepage capture seeds (`readme-tour-capture` sets `logoUrl: '/landing/rivian-logo.svg'`), so both platform previews show the same company logo. */} Brightwave
{SIDEBAR_CHATS.map((chat) => ( ))}
{WORKSPACE_NAV.map((item) => ( ))}
{SIDEBAR_WORKFLOWS.map((workflow) => ( ))}
) }