mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:59:45 +00:00
Labs component for Main page + style renames
This commit is contained in:
1 parent
8efcd44d59
commit
233d047484
7 files changed
+127
-19
No files matched your search
@@ -0,0 +1,59 @@
|
|||||||
|
import { Link } from 'react-router-dom';
|
||||||
|
|
||||||
|
import './Labs.scss';
|
||||||
|
|
||||||
|
function Labs() {
|
||||||
|
return (
|
||||||
|
<div className="block labs">
|
||||||
|
<div className="heading">
|
||||||
|
<h1>Наши лаборатории</h1>
|
||||||
|
</div>
|
||||||
|
<div className="row">
|
||||||
|
<Link className="card">
|
||||||
|
<div className="text">
|
||||||
|
<h2>Лаборатория кибернетики</h2>
|
||||||
|
<p>Управление робототехническими системами, создание аппаратных и программных продуктов, а также проектирование программных систем.</p>
|
||||||
|
</div>
|
||||||
|
<div className="link-label">Перейти→</div>
|
||||||
|
</Link>
|
||||||
|
<Link to={`/labs`} className="card">
|
||||||
|
<div className="text">
|
||||||
|
<h2>Лаборатория компьютерного зрения</h2>
|
||||||
|
<p>Работа с методами и технологиями сегментации изображений, ИИ и нейронными сетями.</p>
|
||||||
|
</div>
|
||||||
|
<div className="link-label">Перейти→</div>
|
||||||
|
</Link>
|
||||||
|
<Link to={`/labs`} className="card">
|
||||||
|
<div className="text">
|
||||||
|
<h2>Лаборатория SmartTech</h2>
|
||||||
|
<p>Проектирование систем в концепции “Интернета вещей” и технологии “Умного дома”.</p>
|
||||||
|
</div>
|
||||||
|
<div className="link-label">Перейти→</div>
|
||||||
|
</Link>
|
||||||
|
<Link to={`/labs`} className="card">
|
||||||
|
<div className="text">
|
||||||
|
<h2>Лаборатория VR и AR</h2>
|
||||||
|
<p>Разработка приложений для виртуальной и дополненной реальности, 3D-моделирование.</p>
|
||||||
|
</div>
|
||||||
|
<div className="link-label">Перейти→</div>
|
||||||
|
</Link>
|
||||||
|
<Link to={`/labs`} className="card">
|
||||||
|
<div className="text">
|
||||||
|
<h2>Лаборатория мобильной разработки</h2>
|
||||||
|
<p>Разработка приложений для портативных устройств, создание дизайна и проектов мобильных приложений.</p>
|
||||||
|
</div>
|
||||||
|
<div className="link-label">Перейти→</div>
|
||||||
|
</Link>
|
||||||
|
<Link to={`/labs`} className="card">
|
||||||
|
<div className="text">
|
||||||
|
<h2>Лаборатория 3D-печати и прототипирования</h2>
|
||||||
|
<p>Проектирование 3D-модели, работа с 3D-принтером и создание качественных трёхмерных макетов.</p>
|
||||||
|
</div>
|
||||||
|
<div className="link-label">Перейти→</div>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Labs;
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
.labs {
|
||||||
|
.row {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
row-gap: 32px;
|
||||||
|
|
||||||
|
.card {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
width: calc(100%/3 - 5em);
|
||||||
|
min-height: max-content;
|
||||||
|
padding: 16px 24px;
|
||||||
|
|
||||||
|
border-radius: 8px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #D9D9D9;
|
||||||
|
|
||||||
|
color: black;
|
||||||
|
|
||||||
|
.text {
|
||||||
|
h2 {
|
||||||
|
margin-top: 0;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 29px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.link-label {
|
||||||
|
text-align: right;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 24px;
|
||||||
|
color: #767676;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -10,15 +10,15 @@ function News() {
|
|||||||
<a href=''>Все новости</a>
|
<a href=''>Все новости</a>
|
||||||
</div>
|
</div>
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="el">
|
<div className="card">
|
||||||
<div className="pic"></div>
|
<div className="pic"></div>
|
||||||
Еще одна новость
|
Еще одна новость
|
||||||
</div>
|
</div>
|
||||||
<div className="el">
|
<div className="card">
|
||||||
<div className="pic"></div>
|
<div className="pic"></div>
|
||||||
Новость поменьше
|
Новость поменьше
|
||||||
</div>
|
</div>
|
||||||
<div className="el">
|
<div className="card">
|
||||||
<div className="pic"></div>
|
<div className="pic"></div>
|
||||||
Новость маленькая совсем жесть а текст какой длинный ого
|
Новость маленькая совсем жесть а текст какой длинный ого
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
|
|
||||||
.el {
|
.card {
|
||||||
width: 350px;
|
width: 350px;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
|
|
||||||
import './Projects.scss';
|
import './Projects.scss';
|
||||||
|
|
||||||
@@ -7,20 +7,20 @@ function Projects() {
|
|||||||
<div className="block projects">
|
<div className="block projects">
|
||||||
<div className="heading">
|
<div className="heading">
|
||||||
<h1>Наши проекты</h1>
|
<h1>Наши проекты</h1>
|
||||||
<a href=''>Все проекты</a>
|
<Link to={`/projects`}>Все проекты</Link>
|
||||||
</div>
|
</div>
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<a className="big el btn" href="">
|
<a className="big card btn" href="">
|
||||||
<div className="text">Перейти→</div>
|
<div className="link-label">Перейти→</div>
|
||||||
</a>
|
</a>
|
||||||
<a className="el btn" href="">
|
<a className="card btn" href="">
|
||||||
<div className="text">Перейти→</div>
|
<div className="link-label">Перейти→</div>
|
||||||
</a>
|
</a>
|
||||||
<a className="el btn" href="">
|
<a className="card btn" href="">
|
||||||
<div className="text">Перейти→</div>
|
<div className="link-label">Перейти→</div>
|
||||||
</a>
|
</a>
|
||||||
<a className="el btn" href="">
|
<a className="card btn" href="">
|
||||||
<div className="text">Перейти→</div>
|
<div className="link-label">Перейти→</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
.projects {
|
.projects {
|
||||||
margin-bottom: 1em;
|
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -7,18 +6,18 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
row-gap: 32px;
|
row-gap: 32px;
|
||||||
|
|
||||||
.el:first-of-type {
|
.card:first-of-type {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 3;
|
aspect-ratio: 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el {
|
.card {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: calc(100%/3 - 64px);
|
width: calc(100%/3 - 64px);
|
||||||
aspect-ratio: 3/2;
|
aspect-ratio: 3/2;
|
||||||
background-color: #D9D9D9;
|
background-color: #D9D9D9;
|
||||||
|
|
||||||
.text {
|
.link-label {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 24px;
|
right: 24px;
|
||||||
bottom: 16px;
|
bottom: 16px;
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,6 @@
|
|||||||
import News from '../components/Main/News';
|
import News from '../components/Main/News';
|
||||||
import Projects from '../components/Main/Projects'
|
import Projects from '../components/Main/Projects';
|
||||||
|
import Labs from '../components/Main/Labs';
|
||||||
|
|
||||||
function Main() {
|
function Main() {
|
||||||
return (
|
return (
|
||||||
@@ -13,6 +14,7 @@ function Main() {
|
|||||||
<div className="content">
|
<div className="content">
|
||||||
<News />
|
<News />
|
||||||
<Projects />
|
<Projects />
|
||||||
|
<Labs />
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user