Refactor code structure for improved readability and maintainability

This commit is contained in:
Roman Pyrih
2025-04-14 12:10:19 +02:00
parent a975cb277a
commit d042a7bcd4
5 changed files with 7056 additions and 74 deletions

View File

@@ -669,6 +669,7 @@ strong {
a {
color: $cWhite;
background: #2e2d2c;
border-color: #2e2d2c;
}
}
@@ -682,7 +683,7 @@ strong {
text-transform: uppercase;
text-align: center;
padding: 13px 24px;
border: 1px solid #181c1d;
border: 1px solid #d3d3d3;
border-radius: 3px;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
height: 100%;
@@ -826,6 +827,52 @@ strong {
line-height: 1.5;
}
}
.inst-client {
position: relative;
padding: 15px;
margin: 15px;
background: #e3e3e3;
border-radius: 5px;
transition: all 250ms ease-in-out;
h4 {
color: #181c1d;
font-size: 16px;
font-family: $font3;
font-weight: 400;
line-height: 1.5;
text-transform: uppercase;
strong {
font-weight: 700;
}
}
p {
color: #181c1d;
font-size: 16px;
font-family: $font3;
font-weight: 400;
line-height: 1.5;
&:last-child {
margin-bottom: 0;
}
strong {
font-weight: 600;
}
}
a {
display: block;
color: #181c1d;
font-size: 16px;
font-family: $font3;
font-weight: 600;
line-height: 1.5;
}
}
}
}
@@ -1055,3 +1102,187 @@ strong {
}
}
}
.box-4 {
padding-top: 150px;
padding-bottom: 150px;
._row {
&-1 {
._col {
&-1 {
h2 {
color: #1d1d1e;
font-family: $font3;
font-weight: 300;
font-size: 34px;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
margin-bottom: 35px;
}
p {
color: #1d1d1e;
font-family: $font3;
font-weight: 300;
font-size: 20px;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
margin-bottom: 35px;
}
ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 14px;
flex-wrap: wrap;
li {
&:nth-child(1) {
a {
color: #ffffff;
background: #1d1d1e;
}
}
&:nth-child(2) {
a {
color: #1d1d1e;
background: #fff246;
}
}
a {
font-family: $font3;
font-weight: 700;
font-size: 14px;
letter-spacing: 1px;
padding: 16px 36px;
border-radius: 5px;
line-height: 1;
text-transform: uppercase;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 10px;
}
}
}
}
}
}
}
}
.box-5 {
padding-bottom: 50px;
._row {
&-1 {
position: relative;
display: flex;
flex-direction: row;
column-gap: 100px;
align-items: center;
&::before {
content: '';
position: absolute;
top: 50%;
left: 70px;
background-image: url('/upload/filemanager/icon/Group.svg');
background-position: center;
background-size: contain;
background-repeat: no-repeat;
width: 440px;
height: 420px;
transform: translate(-50%, -50%);
opacity: 0.7;
}
@include respond-below(md) {
column-gap: 50px;
}
@include respond-below(sm) {
flex-direction: column;
row-gap: 50px;
&::before {
display: none;
}
}
._col {
position: relative;
z-index: 1;
&-1 {
img {
width: 100%;
max-width: 712px;
@include respond-below(sm) {
margin: 0 auto;
}
}
}
&-2 {
@include respond-below(sm) {
text-align: center;
}
h3 {
color: #1d1d1e;
font-size: 20px;
font-family: $font3;
font-weight: 600;
letter-spacing: 2px;
margin-bottom: 15px;
text-transform: uppercase;
}
h2 {
color: #fff;
font-size: 32px;
font-family: $font3;
font-weight: 700;
line-height: 1;
letter-spacing: 2px;
text-transform: uppercase;
display: inline-flex;
flex-direction: row;
align-items: center;
gap: 20px;
padding: 18px 24px 14px;
margin-bottom: 50px;
margin-left: -24px;
background: #2e2d2c;
border-radius: 100px;
@include respond-below(md) {
font-size: 26px;
}
}
p {
margin-bottom: 0px;
color: #000000;
font-family: $fLeagueSpartan;
font-size: 18px;
font-weight: 400;
letter-spacing: 1px;
width: 100%;
max-width: 356px;
}
}
}
}
}
}