Add section titles and offer tiles to the "O Nas" page

- Introduced a new section title style with a decorative line above.
- Added a "Kompleksowa oferta" section with detailed product offerings and images.
- Implemented an "Oferta" tile layout for various materials (PVC, Drewno, Aluminium, etc.) with corresponding images and descriptions.
- Created a "Pełna opieka" section highlighting customer support and services.
- Added a "Technologie" section detailing advanced manufacturing technologies and processes.
- Included a "Partnerzy i dostawcy" section listing key suppliers and partners.
- Updated CSS styles to accommodate new sections and improve layout.
This commit is contained in:
Roman Pyrih
2025-04-10 16:01:13 +02:00
parent f31297f1b6
commit 79c95922fe
4 changed files with 565 additions and 26 deletions

View File

@@ -23,6 +23,37 @@ p {
margin: 24px 0;
}
.section-title {
position: relative;
margin-bottom: 0;
&::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 1px;
background: #878787;
transform: translateY(-50%);
}
span {
position: relative;
display: inline-block;
color: $cTxtBlack;
font-size: 32px;
font-family: $font3;
font-weight: 500;
letter-spacing: 2px;
margin-bottom: 0;
text-transform: uppercase;
padding-right: 30px;
padding-top: 3px;
background: $cWhite;
}
}
.box-1 {
display: flex;
flex-direction: column;
@@ -273,36 +304,345 @@ p {
}
.box-4 {
margin-bottom: 160px;
._row {
&-1 {
._col {
&-1 {
position: relative;
}
}
}
}
}
&::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 1px;
background: #878787;
transform: translateY(-50%);
}
.box-5 {
padding-bottom: 75px;
margin-bottom: 100px;
border-bottom: 1px solid #878787;
h2 {
position: relative;
display: inline-block;
color: $cTxtBlack;
font-size: 32px;
._row {
&-1 {
margin-bottom: 70px;
}
&-2 {
width: 100%;
max-width: 1070px;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px;
._col {
&-1 {
p {
color: #1d1d1e;
font-size: 20px;
font-family: $font3;
font-weight: 500;
letter-spacing: 2px;
margin-bottom: 0;
text-transform: uppercase;
padding-right: 30px;
padding-top: 3px;
background: $cWhite;
font-weight: 300;
strong {
font-weight: 600;
}
}
}
}
}
&-3 {
._col {
&-1 {
.offer-tiles {
display: flex;
flex-direction: row;
column-gap: 30px;
.offer-tile {
width: calc(100% / 5 - (30px - (30px / 5)));
img {
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px;
}
h3 {
color: #181c1d;
font-size: 25px;
font-family: $font3;
font-weight: 400;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
margin-bottom: 20px;
}
ul {
list-style: none;
padding: 0;
margin: 0 18px;
li {
color: #878787;
font-size: 18px;
font-family: $font3;
font-weight: 400;
letter-spacing: 2px;
line-height: 1.5;
}
}
.offer-color-line {
position: relative;
display: block;
height: 11px;
width: 100%;
max-width: 228px;
margin-left: auto;
margin-right: auto;
margin-bottom: 35px;
&-1 {
background: #e2e2e2;
}
&-2 {
background: #d5c1a9;
}
&-3 {
background: linear-gradient(90deg, #d5c1a9 70%, #9ba9b7 70%);
}
&-4 {
background: #9ba9b7;
}
&-5 {
background: linear-gradient(90deg, #e2e2e2 70%, #9ba9b7 70%);
}
}
}
}
}
}
}
}
}
.box-6 {
position: relative;
margin-bottom: 120px;
&::before {
content: '';
position: absolute;
top: 60px;
bottom: 60px;
left: 0;
right: 0;
background: #f4f4f4;
}
&::after {
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%);
}
._row {
position: relative;
z-index: 1;
&-1 {
display: flex;
flex-direction: row;
column-gap: 30px;
align-items: center;
._col {
width: 50%;
&-1 {
h3 {
color: #181c1d;
font-size: 25px;
font-family: $font3;
letter-spacing: 2px;
font-weight: 300;
text-transform: uppercase;
margin-bottom: 40px;
strong {
font-weight: 800;
display: block;
}
}
p {
color: #181c1d;
font-size: 20px;
font-family: $font3;
font-weight: 300;
max-width: 370px;
}
}
&-2 {
ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-direction: column;
row-gap: 11px;
li {
padding: 19px 40px 14px;
background: #2e2d2c;
border-radius: 5px;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
color: $cWhite;
font-size: 18px;
font-weight: 400;
font-family: $font3;
line-height: 26px;
text-transform: uppercase;
strong {
display: block;
font-size: 25px;
font-weight: 700;
}
&:first-child {
color: $cTxtBlack;
background: #ffed00;
}
}
}
}
}
}
}
}
.box-7 {
margin-bottom: 145px;
._row {
&-1 {
margin-bottom: 70px;
}
&-2 {
width: 100%;
max-width: 1070px;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px;
._col {
&-1 {
p {
color: #1d1d1e;
font-size: 20px;
font-family: $font3;
font-weight: 300;
strong {
font-weight: 600;
}
}
}
}
}
&-3 {
width: 100%;
max-width: 1220px;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: row;
gap: 26px;
._col {
&-1 {
}
ul.img-tiles {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 26px;
li.img-tile {
position: relative;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
p {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: $cWhite;
font-size: 25px;
font-family: $font3;
font-weight: 400;
letter-spacing: 2px;
text-align: center;
text-transform: uppercase;
strong {
display: block;
font-size: 35px;
font-weight: 700;
}
}
}
}
}
}
}
}
.box-8 {
padding-bottom: 75px;
margin-bottom: 100px;
._row {
&-1 {
margin-bottom: 70px;
}
&-2 {
width: 100%;
max-width: 1070px;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px;
._col {
&-1 {
p {
color: #1d1d1e;
font-size: 20px;
font-family: $font3;
font-weight: 300;
strong {
font-weight: 600;
}
}
}
}