mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:29:45 +00:00
отредактировала галлерею
This commit is contained in:
1 parent
d24fecd5e4
commit
ddbd2a7e80
4 files changed
+16
-9
No files matched your search
@@ -51,12 +51,12 @@ const MainPage = () => {
|
|||||||
<div className={styles.NumbersContainer}>
|
<div className={styles.NumbersContainer}>
|
||||||
<Numbers />
|
<Numbers />
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.mainContainer}>
|
|
||||||
<Partners />
|
|
||||||
</div>
|
|
||||||
<div className={styles.GalleryContainer}>
|
<div className={styles.GalleryContainer}>
|
||||||
<Gallery />
|
<Gallery />
|
||||||
</div>
|
</div>
|
||||||
|
<div className={styles.mainContainer}>
|
||||||
|
<Partners />
|
||||||
|
</div>
|
||||||
<div className={styles.mainContainer}>
|
<div className={styles.mainContainer}>
|
||||||
<ContactUs />
|
<ContactUs />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ import "./Gallery.styles.scss";
|
|||||||
function Gallery() {
|
function Gallery() {
|
||||||
return (
|
return (
|
||||||
<div id="gallery">
|
<div id="gallery">
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
<h1>
|
<h1>
|
||||||
СКБ «КИТ» - реальные технологические
|
СКБ «КИТ» - реальные технологические
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
@@ -4,12 +4,17 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
|
|
||||||
|
&.has-pagination {
|
||||||
|
.swiper {
|
||||||
|
padding-bottom: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.swiper-slide {
|
.swiper-slide {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 48vh;
|
|
||||||
bottom: 10px;
|
|
||||||
|
|
||||||
.slide-image {
|
.slide-image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -71,6 +76,7 @@
|
|||||||
|
|
||||||
.custom-prev {
|
.custom-prev {
|
||||||
margin-left: -70px;
|
margin-left: -70px;
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
}
|
}
|
||||||
@@ -78,6 +84,7 @@
|
|||||||
|
|
||||||
.custom-next {
|
.custom-next {
|
||||||
margin-right: -70px;
|
margin-right: -70px;
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
@@ -97,6 +104,7 @@
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: none;
|
transition: none;
|
||||||
height: 48vh;
|
height: 48vh;
|
||||||
|
|
||||||
.slide-image {
|
.slide-image {
|
||||||
height: 350px;
|
height: 350px;
|
||||||
}
|
}
|
||||||
@@ -114,14 +122,15 @@
|
|||||||
.swiper-wrapper:has(.swiper-slide.single) {
|
.swiper-wrapper:has(.swiper-slide.single) {
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swiper-slide-prev,
|
.swiper-slide-prev,
|
||||||
.swiper-slide-next {
|
.swiper-slide-next {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
transform: scale(0.9);
|
transform: scale(0.9);
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ function Slider({
|
|||||||
if (isError) return <div>Ошибка при загрузке медиа</div>;
|
if (isError) return <div>Ошибка при загрузке медиа</div>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="slider">
|
<div className={`slider ${enableButtons ? "has-pagination" : ""}`}>
|
||||||
{/* Кастомные стрелки */}
|
{/* Кастомные стрелки */}
|
||||||
{enableButtons && (
|
{enableButtons && (
|
||||||
<div className="custom-navigation">
|
<div className="custom-navigation">
|
||||||
|
|||||||
Reference in new issue
Block a user