From 0296d410bfedbb3feb86343c7c5163b09355b412 Mon Sep 17 00:00:00 2001 From: xomimishka Date: Tue, 15 Apr 2025 13:08:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=BD=D0=B5=D1=81=D0=B5=D0=BD=D1=8B=20?= =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2?= =?UTF-8?q?=20nambers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/Numbers/Numbers.styles.scss | 48 ++++++++++++++++-- src/widgets/Numbers/Numbers.tsx | 65 +++++++++++++------------ 2 files changed, 76 insertions(+), 37 deletions(-) diff --git a/src/widgets/Numbers/Numbers.styles.scss b/src/widgets/Numbers/Numbers.styles.scss index c07954e..16df559 100644 --- a/src/widgets/Numbers/Numbers.styles.scss +++ b/src/widgets/Numbers/Numbers.styles.scss @@ -1,10 +1,39 @@ #numbers { + margin-bottom: 48px; + img { pointer-events: none; } + + .title { + // если нужно — добавь стили заголовка + } + label { + font-weight: 500; font-size: 20px; margin-top: 10px; + text-align: center; + display: block; + } + + .block-content { + display: flex; + justify-content: space-between; + align-items: center; + margin-top: 24px; + } + + .columns { + display: flex; + justify-content: space-between; + gap: 32px; + } + + .gap01 { + display: flex; + flex-direction: column; + gap: 32px; } .blocks { @@ -16,10 +45,6 @@ align-items: center; } - .gap01 { - gap: 32px; - } - .visible { display: block !important; } @@ -46,4 +71,17 @@ gap: 10px; } } -} \ No newline at end of file +} + +.namber { + font-size: 64px; + font-weight: 600; + font-family: 'Montserrat', sans-serif; + background: linear-gradient(to right, #0867F4, #072AC8); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + display: inline-block; + line-height: 1; + margin: 0; + padding: 0; +} diff --git a/src/widgets/Numbers/Numbers.tsx b/src/widgets/Numbers/Numbers.tsx index e51b1ca..72dc9a4 100644 --- a/src/widgets/Numbers/Numbers.tsx +++ b/src/widgets/Numbers/Numbers.tsx @@ -1,44 +1,45 @@ import "./Numbers.styles.scss"; -import { ten, twenty, thirty, Illustration } from '../../shared/assets/images/numbers'; +import { Illustration } from '../../shared/assets/images/numbers'; const Numbers = () => { - - return ( -
+ return ( +

СКБ «КИТ» в цифрах"

-
-
-
- 10 - +
+
+
+
+

10

+ +
+
+

20+

+ +
+
+

30+

+ +
-
- 20+ - -
-
- 30+ - -
-
-
-
- 10 - -
-
- 20+ - -
-
- 30+ - +
+
+

10

+ +
+
+

20+

+ +
+
+

30+

+ +
Illustration
- ); + ); }; -export default Numbers; \ No newline at end of file +export default Numbers;