import { motion } from "motion/react" import type { ReactNode } from "react" import { SidebarTrigger } from "@/components/ui/sidebar" import { slideUp, transitions } from "@/lib/motion" /** * What you are looking at, floating top-centre over a full-bleed canvas. * * Reference rather than navigation: switching to another flow or dashboard is * what the overviews are for, so this bar carries the name and nothing that * takes you away from it. Shared by the flow editor and the dashboards so the * two shells read as one. */ export function CanvasTitle({ children }: { children: ReactNode }) { return ( {/* The sidebar carries its own collapse control; a phone has no sidebar on screen to carry it. */} {children} ) }