Доработала

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