import { Layout, Menu, Button, } from 'antd' import { UserOutlined, MenuOutlined, FundViewOutlined, FolderOutlined } from '@ant-design/icons' import logo from '../images/logo_32.png' import { useState } from 'react' import { Switch, Route, Redirect, Link} from "react-router-dom" import Wells from './Wells' import TelemetryView from './TelemetryView' import Files from './Files' const { Header, Content, Sider } = Layout export default function Main(){ const [sidebarVisible, setSidebarVisible] = useState(true) const login = localStorage['login'] let handleLogout = () => { localStorage.removeItem('login') localStorage.removeItem('token') } return(
{sidebarVisible && }> Мониторинг }> Архив }> Сообщения }> Рапорт }> Анализ }> Файлы }
); }