mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 06:19:45 +00:00
6 files changed
+21
-12
No files matched your search
@@ -1,7 +1,7 @@
|
||||
.mainContainer {
|
||||
margin: 30px 10% 0 10%;
|
||||
margin: 0 10% 0 10%;
|
||||
@include mediaMax($mobile-xs-width) {
|
||||
margin: 30px 5% 0 5%;
|
||||
margin: 0 5% 0 5%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,3 +203,10 @@ body {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mainpage-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 40px;
|
||||
gap: 40px;
|
||||
}
|
||||
@@ -43,17 +43,18 @@ const MainPage = () => {
|
||||
</HashLink>
|
||||
</section>
|
||||
</div>
|
||||
<NewsList />
|
||||
<div className={styles.mainpageContainer}>
|
||||
<ProjectsList />
|
||||
<div className={styles.LabListContainer}>
|
||||
<LabsList />
|
||||
</div>
|
||||
<div className={styles.NumbersContainer}>
|
||||
<Numbers />
|
||||
</div>
|
||||
<NewsList />
|
||||
<div className={styles.GalleryContainer}>
|
||||
<Gallery />
|
||||
</div>
|
||||
<div className={styles.LabListContainer}>
|
||||
<LabsList />
|
||||
</div>
|
||||
<div className={styles.mainContainer}>
|
||||
<Partners />
|
||||
</div>
|
||||
@@ -61,6 +62,7 @@ const MainPage = () => {
|
||||
<ContactUs />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ const LabsList = ({
|
||||
items={transformPostsToCardData(labs)}
|
||||
variant="lab"
|
||||
gridConfig={gridConfig}
|
||||
title="Лаборатории"
|
||||
title="Наши лаборатории"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
@@ -82,7 +82,7 @@ const ProjectsList = ({
|
||||
if (isLoading)
|
||||
return (
|
||||
<div className="mainContainer">
|
||||
<h2 className={styles.title}>Проекты</h2>
|
||||
<h2 className={styles.title}>Наши проекты</h2>
|
||||
<span className="loader"></span>
|
||||
</div>
|
||||
);
|
||||
@@ -96,7 +96,7 @@ const ProjectsList = ({
|
||||
items={transformPostsToCardData(projects)}
|
||||
variant="project"
|
||||
gridConfig={gridConfig}
|
||||
title="Проекты"
|
||||
title="Наши проекты"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 32px;
|
||||
//margin-bottom: 32px;
|
||||
&__lab {
|
||||
grid-template-columns: repeat(var(--desktop-columns, 3), 1fr);
|
||||
@include mediaMax($desktop-small-width) {
|
||||
|
||||
@@ -8,7 +8,7 @@ export const CardListTemplate = ({
|
||||
items,
|
||||
variant = "lab", // Значение по умолчанию
|
||||
gridConfig = { desktop: 3, tablet: 2, mobile: 1 },
|
||||
title = "Лаборатории",
|
||||
title = "Наши лаборатории",
|
||||
}: CardListProps) => {
|
||||
const itemsArray = Object.values(items);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#numbers {
|
||||
margin-bottom: 48px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
img {
|
||||
pointer-events: none;
|
||||
|
||||
Reference in new issue
Block a user