From b7276fd6e30e232cca9e1855270550d7511620d1 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Fri, 12 Mar 2021 17:51:14 +0700 Subject: [PATCH] #23 fixed lab frames with header --- src/components/lab/LabHead/index.tsx | 32 ++++++++++++++++++++++++++ src/components/main/Header/index.tsx | 14 +++++------ src/containers/lab/LabLayout/index.tsx | 29 ++++++++++++++++++++--- 3 files changed, 65 insertions(+), 10 deletions(-) create mode 100644 src/components/lab/LabHead/index.tsx diff --git a/src/components/lab/LabHead/index.tsx b/src/components/lab/LabHead/index.tsx new file mode 100644 index 00000000..25fb6cfd --- /dev/null +++ b/src/components/lab/LabHead/index.tsx @@ -0,0 +1,32 @@ +import React, { FC } from 'react'; +import { Group } from '~/components/containers/Group'; +import { Card } from '~/components/containers/Card'; +import { Placeholder } from '~/components/placeholders/Placeholder'; +import { Filler } from '~/components/containers/Filler'; + +interface IProps {} + +const LabHead: FC = () => ( + + + + + + + + + + + + + + + + + + + + +); + +export { LabHead }; diff --git a/src/components/main/Header/index.tsx b/src/components/main/Header/index.tsx index 69d0dee4..8f1db775 100644 --- a/src/components/main/Header/index.tsx +++ b/src/components/main/Header/index.tsx @@ -82,6 +82,13 @@ const HeaderUnconnected: FC = memo(
+ + ФЛОУ + + {is_user && ( = memo( )} - - ФЛОУ - - = () => {
-
+ + -
+ +
@@ -35,8 +39,13 @@ const LabLayout: FC = () => { - + + + + + +
@@ -52,6 +61,7 @@ const LabLayout: FC = () => {
+
@@ -75,6 +85,19 @@ const LabLayout: FC = () => {
+
+ + + + + + +
+ + + + +