From dd9fc2514d38ff9ea7bc57fa047a58e290c76389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Thu, 22 Jul 2021 11:43:58 +0500 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BE=D1=80=D1=82=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B0=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=BE=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D1=82=20=D0=B8=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/{pages => components}/LayoutPortal.jsx | 2 +- src/{pages/Header.jsx => components/PageHeader.jsx} | 8 +++++--- src/pages/Main.jsx | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) rename src/{pages => components}/LayoutPortal.jsx (89%) rename src/{pages/Header.jsx => components/PageHeader.jsx} (79%) 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}