This commit is contained in:
Ilia Mashkov
2025-11-23 13:15:45 +03:00
parent e892e69277
commit eace670c50
3 changed files with 43 additions and 5 deletions

View File

@@ -32,10 +32,16 @@
pointer-events: none; pointer-events: none;
} }
:global(.swiper) {
@media (width <=768px) {
padding: 0 20px;
}
}
:global(.swiper-slide-next) { :global(.swiper-slide-next) {
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
@media (width <=576px) { @media (width <=768px) {
opacity: 0.4; opacity: 0.4;
} }
} }
@@ -43,7 +49,7 @@
:global(.swiper-slide-prev) { :global(.swiper-slide-prev) {
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
@media (width <=576px) { @media (width <=768px) {
opacity: 0.4; opacity: 0.4;
} }
} }

View File

@@ -21,6 +21,13 @@ export const EVENT_CAROUSEL_CONFIG: SwiperOptions = {
slidesPerView: 2, slidesPerView: 2,
}, },
768: { 768: {
slidesPerView: 2,
navigation: {
enabled: true,
},
spaceBetween: 25,
},
1024: {
slidesPerView: 3, slidesPerView: 3,
navigation: { navigation: {
enabled: true, enabled: true,

View File

@@ -23,6 +23,10 @@
overflow: hidden; overflow: hidden;
@media (width <=1024px) {
padding-top: 100px;
}
@media (width <=768px) { @media (width <=768px) {
padding: 60px 20px 20px; padding: 60px 20px 20px;
@@ -47,6 +51,11 @@
border-image: var(--gradient-primary) 1; border-image: var(--gradient-primary) 1;
@media (width <=1024px) {
top: 80px;
font-size: 40px;
}
@media (width <=768px) { @media (width <=768px) {
position: relative; position: relative;
inset: unset; inset: unset;
@@ -101,6 +110,11 @@
transform-origin: left; transform-origin: left;
@media (width <=1024px) {
left: 100px;
bottom: 40px;
}
@media (width <=768px) { @media (width <=768px) {
left: 20px; left: 20px;
bottom: 13px; bottom: 13px;
@@ -199,6 +213,12 @@
pointer-events: none; pointer-events: none;
@media (width <=1024px) {
font-size: 140px;
line-height: 120px;
gap: 40px;
}
@media (width <=768px) { @media (width <=768px) {
position: static; position: static;
@@ -229,16 +249,21 @@
display: block; display: block;
margin-bottom: 20px; padding-bottom: 20px;
color: var(--color-text); color: var(--color-text);
font-weight: 700; font-weight: 700;
font-size: 16px; font-size: 16px;
text-align: left; text-align: left;
border-bottom: 1px solid #C7CDD9;
} }
} }
.circleContainer { .circleContainer {
width: 100%;
height: 100%;
@media (width <=768px) { @media (width <=768px) {
display: none; display: none;
} }
@@ -248,8 +273,8 @@
padding: 55px 80px 105px; padding: 55px 80px 105px;
@media (width <=768px) { @media (width <=768px) {
margin: 0 -20px;
width: calc(100% + 40px);
padding: 0; padding: 0;
border-top: 1px solid #C7CDD9;
} }
} }