mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:19:45 +00:00
Merge branch 'Team' into refactoring
This commit is contained in:
commit
1a0ff4cf56
33 files changed
+1099
-397
No files matched your search
@@ -1,5 +1,11 @@
|
||||
import { CategoryPage } from "@/widgets/CategoryPage/CategoryPage";
|
||||
import Team from "@/widgets/Team";
|
||||
import PhotoGallery from "@/widgets/PhotoGallery";
|
||||
|
||||
export default function AboutUs() {
|
||||
return <CategoryPage category="aboutus" />;
|
||||
return <>
|
||||
<CategoryPage category="aboutus" />
|
||||
< Team />
|
||||
< PhotoGallery />
|
||||
</>
|
||||
}
|
||||
@@ -65,6 +65,7 @@ body {
|
||||
margin-top: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.block {
|
||||
@@ -127,110 +128,78 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
#news-list {
|
||||
.LabListContainer {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0%;
|
||||
bottom: 5%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 364px;
|
||||
background-image: url("/src/shared/assets/images/backround/bg_news_block.svg");
|
||||
height: 363px;
|
||||
background-image: url('/src/shared/assets/images/backround/bg_news_block.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: left center;
|
||||
background-size: contain;
|
||||
z-index: -1;
|
||||
transform: translateX(-12.6%);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.row .card {
|
||||
width: calc(25% - $news-card-gap); // 4 карточки в ряд
|
||||
aspect-ratio: 1 / 0.8973; // Карточка всегда квадратная
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 100%; // 1 карточка в ряд на мобильных
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.project-list {
|
||||
.GalleryContainer {
|
||||
position: relative;
|
||||
padding: 0 10%;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
left: 0;
|
||||
width: 100%; // Увеличиваем ширину на 10%, чтобы занять отступ
|
||||
height: 465px;
|
||||
background-image: url("/src/shared/assets/images/backround/bg_projects_block.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
background-size: contain; // Или cover, если нужно заполнить область
|
||||
|
||||
z-index: -1;
|
||||
transform: translateX(11.3%); // Смещаем влево, компенсируя padding
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none; // Скрываем картинку на мобильных
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
padding: 0 5%;
|
||||
}
|
||||
}
|
||||
|
||||
.row.lab-list {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
bottom: 5%;
|
||||
left: 0;
|
||||
width: 100%; // Увеличиваем ширину на 10%, чтобы занять отступ
|
||||
width: 100%;
|
||||
height: 436px;
|
||||
background-image: url("/src/shared/assets/images/backround/bg_labs_block.svg");
|
||||
background-image: url('/src/shared/assets/images/backround/bg_labs_block.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: left center;
|
||||
background-size: contain; // Или cover, если нужно заполнить область
|
||||
|
||||
z-index: -1;
|
||||
transform: translateX(-11.6%); // Смещаем влево, компенсируя padding
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none; // Скрываем картинку на мобильных
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#gallery {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 307px;
|
||||
background-image: url("/src/shared/assets/images/backround/bg_gallery_block.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
background-size: contain;
|
||||
|
||||
z-index: -1;
|
||||
transform: translateX(12.5%);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.NumbersContainer {
|
||||
position: relative;
|
||||
padding: 0 10%;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
padding: 0 5%;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 5%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 459px;
|
||||
background-image: url('/src/shared/assets/images/backround/bg_projects_block.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
background-size: contain;
|
||||
z-index: -1;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,11 +5,13 @@ import { RootContext } from "@/app/Layout/Root";
|
||||
import Partners from "@/widgets/Partners";
|
||||
import Gallery from "@/pages/MainPage/ui/components/Gallery";
|
||||
import ContactUs from "@/widgets/ContactUs";
|
||||
|
||||
import {
|
||||
LabsList,
|
||||
NewsList,
|
||||
ProjectsList,
|
||||
} from "@/widgets/CardList/CardList";
|
||||
import Numbers from "@/widgets/Numbers";
|
||||
|
||||
const MainPage = () => {
|
||||
const { setRef } = useContext(RootContext);
|
||||
@@ -43,10 +45,19 @@ const MainPage = () => {
|
||||
</div>
|
||||
<NewsList />
|
||||
<ProjectsList />
|
||||
<LabsList />
|
||||
<div className={styles.LabListContainer}>
|
||||
<LabsList />
|
||||
</div>
|
||||
<div className={styles.NumbersContainer}>
|
||||
<Numbers />
|
||||
</div>
|
||||
<div className={styles.GalleryContainer}>
|
||||
<Gallery />
|
||||
</div>
|
||||
<div className={styles.mainContainer}>
|
||||
<Partners />
|
||||
<Gallery />
|
||||
</div>
|
||||
<div className={styles.mainContainer}>
|
||||
<ContactUs />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,8 +4,6 @@ import "./Gallery.styles.scss";
|
||||
function Gallery() {
|
||||
return (
|
||||
<div id="gallery">
|
||||
<br />
|
||||
<br />
|
||||
<h1>
|
||||
СКБ «КИТ» - реальные технологические
|
||||
<br />
|
||||
|
||||
Reference in new issue
Block a user