mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:09:46 +00:00
скб в цифрах сделала и адаптировала для мобильной версии
This commit is contained in:
1 parent
2494ca9faa
commit
47b9d3f691
8 files changed
+125
No files matched your search
Executable
Whitespace-only changes.
@@ -0,0 +1,45 @@
|
||||
import BlockHeading from '../BlockHeading';
|
||||
|
||||
import './Numbers.styles.scss';
|
||||
import { ten, twenty, thirty, Illustration } from '../../../../assets/images/numbers';
|
||||
|
||||
function Numbers() {
|
||||
return (
|
||||
<div className="block" id="numbers" style={{ marginBottom: "48px" }}>
|
||||
<BlockHeading heading="СКБ «КИТ» в цифрах" />
|
||||
<div style={{ display: "flex", justifyContent: "space-between", alignItems: "center", marginTop: "24px" }}>
|
||||
<div className="gap01" style={{ display: "flex", flexDirection: "column" }}>
|
||||
<div className='blocks'>
|
||||
<img src={ten} alt="10" />
|
||||
<label>лет успешной работы</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<img src={twenty} alt="20+" />
|
||||
<label>сотрудников</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<img src={thirty} alt="30+" />
|
||||
<label>выполненных проектов</label>
|
||||
</div>
|
||||
</div>
|
||||
<div className="gap01" style={{ display: "flex", flexDirection: "column" }}>
|
||||
<div className='blocks'>
|
||||
<img src={ten} alt="10" />
|
||||
<label>лет успешной работы</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<img src={twenty} alt="20+" />
|
||||
<label>сотрудников</label>
|
||||
</div>
|
||||
<div className='blocks'>
|
||||
<img src={thirty} alt="30+" />
|
||||
<label>выполненных проектов</label>
|
||||
</div>
|
||||
</div>
|
||||
<img className="visible" src={Illustration} alt="Illustration" />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Numbers;
|
||||
@@ -0,0 +1,49 @@
|
||||
@import "../../../../assets/styles/theme.scss";
|
||||
|
||||
#numbers {
|
||||
|
||||
label {
|
||||
font-size: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.blocks {
|
||||
padding: 24px;
|
||||
background-color: #f7f5f5;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.gap01 {
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.visible {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.visible {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
label {
|
||||
font-size: 14px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.blocks {
|
||||
padding: 10px;
|
||||
background-color: transparent;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gap01 {
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user