Files
pulse/components/dashboard/DashboardShell.tsx
Usman Baig db5cd4cbcb feat: replace sidebar with 21st.dev hover-to-expand component
Use framer-motion animated sidebar from 21st.dev — collapses to icons,
expands on hover. Phosphor icons instead of lucide. Remove old manual
collapse/expand and sidebar-context. Top bar has Pulse logo + user
actions, sidebar below with site picker and nav groups.
2026-03-18 16:20:32 +01:00

25 lines
519 B
TypeScript

'use client'
import PulseSidebar from './Sidebar'
import UtilityBar from './UtilityBar'
export default function DashboardShell({
siteId,
children,
}: {
siteId: string
children: React.ReactNode
}) {
return (
<div className="flex flex-col h-screen overflow-hidden">
<UtilityBar />
<div className="flex flex-1 overflow-hidden">
<PulseSidebar siteId={siteId} />
<main className="flex-1 min-w-0 overflow-y-auto">
{children}
</main>
</div>
</div>
)
}