Доработала

This commit is contained in:
mimi committed 2025-03-11 17:29:43 +03:00
1 parent 2849fdb9cb
commit ee37db0e2c
4 files changed
+6 -9

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ function Slider({ autoPlay = false, autoPlayTime = 3000, images = false }) {
modules={[Navigation, Pagination]}
spaceBetween={20}
slidesPerView={itemsPerSlide} // Количество картинок в видимой зоне
slidesPerGroup={itemsPerSlide} // Перелистывать сразу по 2
slidesPerGroup={1} // Перелистывать сразу по 2
loop={true} // Зацикленный слайдер
navigation // Стрелки
pagination={{ clickable: true }}
+2 -5
View File
@@ -8,16 +8,13 @@
display: flex;
justify-content: center;
align-items: center;
height: 60vh;
@media (max-width: 768px) {
height: 35vh;
}
height: 50vh;
}
.slide-image {
width: 100%;
height: auto;
max-height: 100%;
height: 350px;
object-fit: cover;
object-position: center center;
border-radius: 8px;
@@ -4,10 +4,10 @@ import './Gallery.styles.scss';
function Gallery() {
return (
<div id="gallery"><br />
<div id="gallery"><br /><br />
<h1>СКБ «КИТ» - реальные технологические<br />
проекты под руководством наставников<br />
из университета и бизнеса.</h1><br />
из университета и бизнеса.</h1>
<Slider />
</div>
);
+1 -1
View File
@@ -61,7 +61,7 @@
}
.content {
background: $bg-primary;
//background: $bg-primary;
display: flex;
flex-direction: column;
}