diff --git a/src/pages/LayoutPortal.jsx b/src/components/LayoutPortal.jsx similarity index 89% rename from src/pages/LayoutPortal.jsx rename to src/components/LayoutPortal.jsx index b1ff72e..ce89995 100644 --- a/src/pages/LayoutPortal.jsx +++ b/src/components/LayoutPortal.jsx @@ -1,5 +1,5 @@ import {Layout} from 'antd' -import PageHeader from './Header' +import PageHeader from './PageHeader' const {Content} = Layout diff --git a/src/pages/Header.jsx b/src/components/PageHeader.jsx similarity index 79% rename from src/pages/Header.jsx rename to src/components/PageHeader.jsx index ab1de4a..f8b82cc 100644 --- a/src/pages/Header.jsx +++ b/src/components/PageHeader.jsx @@ -2,7 +2,7 @@ import { Layout, Button } from 'antd' import { UserOutlined } from '@ant-design/icons' import logo from '../images/logo_32.png' import { Link } from "react-router-dom" -import WellTreeSelector from '../components/WellTreeSelector' +import WellTreeSelector from './WellTreeSelector' const { Header } = Layout @@ -17,9 +17,11 @@ export default function PageHeader({title='Мониторинг', wellsList}){ return(
- АСБ + + АСБ + -

{title}

+

{title}