From 616badbc7b044d7045140b3cbb20152993d2aeab Mon Sep 17 00:00:00 2001 From: Lanskikh Date: Mon, 8 Jul 2024 19:55:37 +0500 Subject: [PATCH] fixed by edits, todo fixed wide products tabs content --- src/assets/cube.svg | 8 +- src/assets/mask_group_big.svg | 9 +++ src/components/Main/Availables.tsx | 6 +- src/components/Main/Contacts.tsx | 8 +- src/components/Main/Decreasing.tsx | 6 +- src/components/Main/Distance.tsx | 4 +- src/components/Main/Efficiency.tsx | 8 +- src/components/Main/Events.tsx | 8 +- src/components/Main/Products.tsx | 125 +++++++++++++++-------------- src/components/Main/Projects.tsx | 30 ++++--- src/components/Main/Teaching.tsx | 31 ++++--- src/components/Main/Trainings.tsx | 2 +- src/index.css | 10 +-- src/ui/MiniTitle.tsx | 2 +- 14 files changed, 137 insertions(+), 120 deletions(-) create mode 100644 src/assets/mask_group_big.svg diff --git a/src/assets/cube.svg b/src/assets/cube.svg index f179c6c..711f08b 100644 --- a/src/assets/cube.svg +++ b/src/assets/cube.svg @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/src/assets/mask_group_big.svg b/src/assets/mask_group_big.svg new file mode 100644 index 0000000..ec1c4cf --- /dev/null +++ b/src/assets/mask_group_big.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/components/Main/Availables.tsx b/src/components/Main/Availables.tsx index 47cf2ad..b6a851e 100644 --- a/src/components/Main/Availables.tsx +++ b/src/components/Main/Availables.tsx @@ -18,7 +18,7 @@ export function Availables() {
режим обучения -
+
@@ -35,7 +35,7 @@ export function Availables() { text="координация действий между несколькими сотрудниками" />
-

+

В одном цифровом пространстве{' '} могут работать сотрудники, находящиеся в разных помещениях, @@ -50,7 +50,7 @@ export function Availables() { function MultiUserFeature({ text, img }: { text: string; img: string }) { return ( -
+

{text}

diff --git a/src/components/Main/Contacts.tsx b/src/components/Main/Contacts.tsx index 717e42e..0bf2478 100644 --- a/src/components/Main/Contacts.tsx +++ b/src/components/Main/Contacts.tsx @@ -2,7 +2,7 @@ import { Title } from '../../ui/Title'; export function Contacts() { return ( -
+
Хотите использовать интерактивные тренажеры в обучении? @@ -18,12 +18,12 @@ export function Contacts() { Давайте обсудим детали. </span> -
-
-
+
+

Свяжитесь с нами

diff --git a/src/components/Main/Efficiency.tsx b/src/components/Main/Efficiency.tsx index 2b94341..7ade69e 100644 --- a/src/components/Main/Efficiency.tsx +++ b/src/components/Main/Efficiency.tsx @@ -4,9 +4,9 @@ export function Effeciency() { return (
- +
-
+
-

+

В тренажере человек принимает решения так же, как в реальном мире,{' '} активируя те же нейронные цепочки в мозгу. Это позволяет добиться @@ -55,7 +55,7 @@ function Figure({ }} >
-
{title}
+
{title}

{percents} diff --git a/src/components/Main/Events.tsx b/src/components/Main/Events.tsx index 1a0b215..02bef5f 100644 --- a/src/components/Main/Events.tsx +++ b/src/components/Main/Events.tsx @@ -5,10 +5,10 @@ import { PropsWithChildren } from 'react'; export function Events() { return (
-
+
-
-
+
+
Макет кабины машиниста «Иволга» на выставке ВДНХ @@ -57,7 +57,7 @@ function LinkButton({ href }: { href: string }) { return ( как это было diff --git a/src/components/Main/Products.tsx b/src/components/Main/Products.tsx index 97b2d34..c14ef00 100644 --- a/src/components/Main/Products.tsx +++ b/src/components/Main/Products.tsx @@ -11,7 +11,7 @@ export function Products() { return (
- + <Title className="mb-14 desktop:block mobile:hidden"> Процесс обучения сотрудников станет безопасней и эффективней с <span className="bg-text-gradient bg-gradient-to-r from-[#798FFF] to-[#D375FF]" @@ -27,7 +27,7 @@ export function Products() {
+
@@ -138,8 +138,8 @@ function TrainingsTab() { для балланса. Ну если не будет, то как-нибудь переживем

@@ -208,10 +208,13 @@ function SimulatorsTab() { dispatch('prev'); setSlide(prev => (prev === 0 ? order.length - 3 : prev - 1)); }, + trackMouse: true, + preventScrollOnSwipe: true, + touchEventOptions: { passive: true }, }); return ( -
+

@@ -238,56 +241,58 @@ function SimulatorsTab() {

-
- {width < 640 ? ( - order.map((src, index) => ( - - )) - ) : ( - <> - - - - - - - )} +
+
+ {width < 640 ? ( + order.map((src, index) => ( + + )) + ) : ( + <> + + + + + + + )} +

модель позволяет производить расчеты характеристик работы, @@ -322,7 +327,7 @@ function ForTeachingTab() { />

-
+
-

+

cоздание обучающих VR систем

@@ -358,7 +363,7 @@ function ForTeachingTab() { className="desktop:hidden" alt="" /> -

+

cоздание VR лабораторий

@@ -369,7 +374,7 @@ function ForTeachingTab() {
-

+

Оснащение учебных классов и центров всем необходимым для современного обучения под «ключ»

diff --git a/src/components/Main/Projects.tsx b/src/components/Main/Projects.tsx index f95366c..228c65b 100644 --- a/src/components/Main/Projects.tsx +++ b/src/components/Main/Projects.tsx @@ -54,7 +54,7 @@ function Project({ tags: string[]; }) { return ( -
+
(prev === 0 ? order.length - 3 : prev - 1)); dispatch('prev'); }, + trackMouse: true, + preventScrollOnSwipe: true, + touchEventOptions: { passive: false }, }); useEffect(() => { @@ -122,19 +125,20 @@ function Slider({ return (
-
- {order.map((project, index) => ( - - ))} +
+
+ {order.map((project, index) => ( + + ))} +
-
+