diff --git a/src/components/Main/Labs.jsx b/src/components/Main/Labs.jsx new file mode 100644 index 0000000..90d0658 --- /dev/null +++ b/src/components/Main/Labs.jsx @@ -0,0 +1,59 @@ +import { Link } from 'react-router-dom'; + +import './Labs.scss'; + +function Labs() { + return ( +
+
+

Наши лаборатории

+
+
+ +
+

Лаборатория кибернетики

+

Управление робототехническими системами, создание аппаратных и программных продуктов, а также проектирование программных систем.

+
+
Перейти→
+ + +
+

Лаборатория компьютерного зрения

+

Работа с методами и технологиями сегментации изображений, ИИ и нейронными сетями.

+
+
Перейти→
+ + +
+

Лаборатория SmartTech

+

Проектирование систем в концепции “Интернета вещей” и технологии “Умного дома”.

+
+
Перейти→
+ + +
+

Лаборатория VR и AR

+

Разработка приложений для виртуальной и дополненной реальности, 3D-моделирование.

+
+
Перейти→
+ + +
+

Лаборатория мобильной разработки

+

Разработка приложений для портативных устройств, создание дизайна и проектов мобильных приложений.

+
+
Перейти→
+ + +
+

Лаборатория 3D-печати и прототипирования

+

Проектирование 3D-модели, работа с 3D-принтером и создание качественных трёхмерных макетов.

+
+
Перейти→
+ +
+
+ ); +} + +export default Labs; \ No newline at end of file diff --git a/src/components/Main/Labs.scss b/src/components/Main/Labs.scss new file mode 100644 index 0000000..9d318f8 --- /dev/null +++ b/src/components/Main/Labs.scss @@ -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; + } + } + } +} \ No newline at end of file diff --git a/src/components/Main/News.jsx b/src/components/Main/News.jsx index 2d0e747..54e14be 100755 --- a/src/components/Main/News.jsx +++ b/src/components/Main/News.jsx @@ -10,15 +10,15 @@ function News() { Все новости
-
+
Еще одна новость
-
+
Новость поменьше
-
+
Новость маленькая совсем жесть а текст какой длинный ого
diff --git a/src/components/Main/News.scss b/src/components/Main/News.scss index 858305c..36b46a0 100755 --- a/src/components/Main/News.scss +++ b/src/components/Main/News.scss @@ -4,7 +4,7 @@ justify-content: space-between; gap: 32px; - .el { + .card { width: 350px; margin-bottom: 1em; diff --git a/src/components/Main/Projects.jsx b/src/components/Main/Projects.jsx index 053bdb5..ea7aab4 100755 --- a/src/components/Main/Projects.jsx +++ b/src/components/Main/Projects.jsx @@ -1,4 +1,4 @@ -//import { Link } from 'react-router-dom'; +import { Link } from 'react-router-dom'; import './Projects.scss'; @@ -7,20 +7,20 @@ function Projects() {

Наши проекты

- Все проекты + Все проекты
diff --git a/src/components/Main/Projects.scss b/src/components/Main/Projects.scss index 2ac52cb..12b6597 100755 --- a/src/components/Main/Projects.scss +++ b/src/components/Main/Projects.scss @@ -1,5 +1,4 @@ .projects { - margin-bottom: 1em; .row { display: flex; @@ -7,18 +6,18 @@ justify-content: space-between; row-gap: 32px; - .el:first-of-type { + .card:first-of-type { width: 100%; aspect-ratio: 3; } - .el { + .card { position: relative; width: calc(100%/3 - 64px); aspect-ratio: 3/2; background-color: #D9D9D9; - .text { + .link-label { position: absolute; right: 24px; bottom: 16px; diff --git a/src/routes/Main.jsx b/src/routes/Main.jsx index dc72ad5..3671e52 100755 --- a/src/routes/Main.jsx +++ b/src/routes/Main.jsx @@ -1,5 +1,6 @@ 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() { return ( @@ -13,6 +14,7 @@ function Main() {
+
);