diff --git a/src/components/Main/Efficiency.tsx b/src/components/Main/Efficiency.tsx index 01a6368..931a98a 100644 --- a/src/components/Main/Efficiency.tsx +++ b/src/components/Main/Efficiency.tsx @@ -21,6 +21,7 @@ export function Effeciency() { />
@@ -48,15 +49,33 @@ export function Effeciency() { ); } -function Figure({ title, percents }: { percents: number; title: string }) { +function Figure({ + title, + percents, + type = 'left', +}: { + percents: number; + title: string; + type?: 'left' | 'right'; +}) { return (
diff --git a/src/components/Main/ProductTabs/ForTeachingTab.tsx b/src/components/Main/ProductTabs/ForTeachingTab.tsx index cabdc09..02238e3 100644 --- a/src/components/Main/ProductTabs/ForTeachingTab.tsx +++ b/src/components/Main/ProductTabs/ForTeachingTab.tsx @@ -1,6 +1,6 @@ export function ForTeachingTab() { return ( -
+

Интерактивные тренажеры для учебных заведений diff --git a/src/components/Main/ProductTabs/SimulatorsTab.tsx b/src/components/Main/ProductTabs/SimulatorsTab.tsx index c59f359..4a32eea 100644 --- a/src/components/Main/ProductTabs/SimulatorsTab.tsx +++ b/src/components/Main/ProductTabs/SimulatorsTab.tsx @@ -5,7 +5,7 @@ import { useSwipeable } from 'react-swipeable'; export function SimulatorsTab() { const width = useWindowWidth(); const [slide, setSlide] = useState(0); - const [sliderOffset, setSliderOffset] = useState(-width + 80); + const [sliderOffset, setSliderOffset] = useState(0); const [order, dispatch] = useReducer( (state: string[], action: string) => { @@ -30,7 +30,7 @@ export function SimulatorsTab() { ); useEffect(() => { - setSliderOffset(-width + 80); + setSliderOffset(-0); }, [order, slide, width]); const handlers = useSwipeable({ @@ -48,26 +48,28 @@ export function SimulatorsTab() { }); return ( -
-
-
-

- Интерактивные симуляторы управления техникой -

-
    - - - - - - -
-
+
+
+
+
+

+ Интерактивные симуляторы управления техникой +

+
    + + + + + + +
+
+

В основу симуляторов заложена математическая модель, полностью соответствующая работе настоящего оборудования

-

+

модель позволяет производить расчеты характеристик работы, отслеживать безопасность работы устройств и симулировать внештатные ситуации. @@ -77,12 +79,12 @@ export function SimulatorsTab() {

{width < 640 ? ( order.map((src, index) => ( - +
+ +
)) ) : ( <> @@ -141,7 +152,7 @@ export function SimulatorsTab() { function SimulatorsItem({ text }: { text: string }) { return ( -
  • +
  • {text}
  • ); diff --git a/src/components/Main/ProductTabs/TrainingsTab.tsx b/src/components/Main/ProductTabs/TrainingsTab.tsx index 1f129a5..4d8f795 100644 --- a/src/components/Main/ProductTabs/TrainingsTab.tsx +++ b/src/components/Main/ProductTabs/TrainingsTab.tsx @@ -1,9 +1,9 @@ export function TrainingsTab() { return ( -
    -
    +
    +
    -
    +

    Промышленные тренажеры виртуальной реальности

    diff --git a/src/components/Main/Teaching.tsx b/src/components/Main/Teaching.tsx index 8f8175a..01be0f3 100644 --- a/src/components/Main/Teaching.tsx +++ b/src/components/Main/Teaching.tsx @@ -15,7 +15,9 @@ export function Teaching() { > Тренинг модуль -  помогает осуществлять координацию между всеми участниками процесса +
    +  помогает осуществлять + координацию между всеми участниками процесса <span