website refactor
This commit is contained in:
21
apps/website/ui/DashboardRail.tsx
Normal file
21
apps/website/ui/DashboardRail.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user