22 lines
590 B
TypeScript
22 lines
590 B
TypeScript
import React from 'react';
|
|
|
|
interface DashboardRailProps {
|
|
children?: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
|
|
/**
|
|
* DashboardRail is the primary sidebar navigation for the "Telemetry Workspace".
|
|
* It provides a high-density, instrument-grade navigation experience.
|
|
* Aligned with "Precision Racing Minimal" theme.
|
|
*/
|
|
export function DashboardRail({ children, className = '' }: DashboardRailProps) {
|
|
return (
|
|
<aside
|
|
className={`hidden lg:flex flex-col w-64 bg-[#141619] border-r border-[#23272B] overflow-y-auto ${className}`}
|
|
>
|
|
{children}
|
|
</aside>
|
|
);
|
|
}
|