mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:19:45 +00:00
Доработала
This commit is contained in:
1 parent
2849fdb9cb
commit
ee37db0e2c
4 files changed
+6
-9
No files matched your search
@@ -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 }}
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
background: $bg-primary;
|
||||
//background: $bg-primary;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user