import { Outlet, Routes, Route } from 'react-router-dom'; import { Sidebar, SidebarContent, useSidebar } from '../sidebar'; import classNames from 'classnames'; import { Routes as AppRoutes } from '../../pages/client-router'; import { MarketHeader } from '../market-header'; import { LiquidityHeader } from '../liquidity-header'; export const LayoutWithSidebar = () => { const sidebarView = useSidebar((store) => store.view); const sidebarOpen = sidebarView !== null; const gridClasses = classNames( 'h-full relative z-0 grid', 'grid-rows-[min-content_1fr]', 'grid-cols-[1fr_45px]', 'lg:grid-cols-[1fr_350px_45px]' ); return (