mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 01:59:45 +00:00
Merge remote-tracking branch 'origin/fix/numbers-alt'
This commit is contained in:
commit
d1a6b0a91b
2 files changed
+48
-45
No files matched your search
@@ -1,14 +1,10 @@
|
||||
#numbers {
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: 60px;
|
||||
|
||||
img {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.title {
|
||||
// если нужно — добавь стили заголовка
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: 500;
|
||||
font-size: 20px;
|
||||
@@ -19,20 +15,15 @@
|
||||
|
||||
.block-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.columns {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.gap01 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.numbers-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr); // 3 колонки по умолчанию (3x2)
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
@@ -43,6 +34,8 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.visible {
|
||||
@@ -55,7 +48,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
margin-bottom: 24px;
|
||||
.block-content {
|
||||
margin-top: 24px;
|
||||
}
|
||||
.numbers-grid {
|
||||
grid-template-columns: repeat(2, 1fr); // 2 колонки на мобильных (2x3)
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
margin-bottom: 24px;
|
||||
.block-content {
|
||||
margin-top: 24px;
|
||||
}
|
||||
label {
|
||||
font-size: 14px;
|
||||
margin-top: 5px;
|
||||
@@ -67,7 +74,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gap01 {
|
||||
.numbers-grid {
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
@@ -84,4 +91,4 @@
|
||||
line-height: 1;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@@ -9,34 +9,30 @@ const Numbers = () => {
|
||||
<div className="block" id="numbers">
|
||||
<h2 className="title">СКБ «КИТ» в цифрах</h2>
|
||||
<div className="block-content">
|
||||
<div className="columns">
|
||||
<div className="gap01">
|
||||
<div className='blocks'>
|
||||
<p className="namber">{yearsSince2015}</p>
|
||||
<label>лет успешной работы</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">20+</p>
|
||||
<label>сотрудников</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">30+</p>
|
||||
<label>выполненных проектов</label>
|
||||
</div>
|
||||
<div className="numbers-grid">
|
||||
<div className='blocks'>
|
||||
<p className="namber">{yearsSince2015}</p>
|
||||
<label>лет успешной работы</label>
|
||||
</div>
|
||||
<div className="gap01">
|
||||
<div className='blocks'>
|
||||
<p className="namber">{yearsSince2015}</p>
|
||||
<label>лет успешной работы</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">20+</p>
|
||||
<label>сотрудников</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">30+</p>
|
||||
<label>выполненных проектов</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">20+</p>
|
||||
<label>сотрудников</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">30+</p>
|
||||
<label>выполненных проектов</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">{yearsSince2015}</p>
|
||||
<label>лет успешной работы</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">20+</p>
|
||||
<label>сотрудников</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<p className="namber">30+</p>
|
||||
<label>выполненных проектов</label>
|
||||
</div>
|
||||
</div>
|
||||
<img className="visible" src={Illustration} alt="Illustration" />
|
||||
@@ -45,4 +41,4 @@ const Numbers = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default Numbers;
|
||||
export default Numbers;
|
||||
Reference in new issue
Block a user