From 8efcd44d59eed9c365d93c3de29318029509a335 Mon Sep 17 00:00:00 2001 From: ifraimka1 Date: Wed, 14 Feb 2024 12:16:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D0=B7=D0=B4=D0=B5=D0=BB=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 149 ------------------------------ src/components/Main/News.jsx | 8 +- src/components/Main/Projects.jsx | 28 +++--- src/components/Main/Projects.scss | 33 +++++++ src/routes/Contact copy.jsx | 25 ----- src/routes/Root.scss | 40 ++++---- 6 files changed, 71 insertions(+), 212 deletions(-) delete mode 100755 src/routes/Contact copy.jsx diff --git a/public/index.html b/public/index.html index 4d6e51a..6ea9a78 100755 --- a/public/index.html +++ b/public/index.html @@ -6,157 +6,8 @@ main — skb-site - - - - - - - -main — skb-site - - - - - - - - - - - - - - - - - - - - -
- - -
-
- -
- -
- - - - - diff --git a/src/components/Main/News.jsx b/src/components/Main/News.jsx index fbbb95b..2d0e747 100755 --- a/src/components/Main/News.jsx +++ b/src/components/Main/News.jsx @@ -4,16 +4,12 @@ import './News.scss'; function News() { return ( -
+

Новости

- Все проекты + Все новости
-
-
- Какая-то новость -
Еще одна новость diff --git a/src/components/Main/Projects.jsx b/src/components/Main/Projects.jsx index 4e13eb1..053bdb5 100755 --- a/src/components/Main/Projects.jsx +++ b/src/components/Main/Projects.jsx @@ -1,27 +1,27 @@ -import { Link } from 'react-router-dom'; +//import { Link } from 'react-router-dom'; import './Projects.scss'; function Projects() { return ( -
+ ); diff --git a/src/components/Main/Projects.scss b/src/components/Main/Projects.scss index e69de29..2ac52cb 100755 --- a/src/components/Main/Projects.scss +++ b/src/components/Main/Projects.scss @@ -0,0 +1,33 @@ +.projects { + margin-bottom: 1em; + + .row { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + row-gap: 32px; + + .el:first-of-type { + width: 100%; + aspect-ratio: 3; + } + + .el { + position: relative; + width: calc(100%/3 - 64px); + aspect-ratio: 3/2; + background-color: #D9D9D9; + + .text { + position: absolute; + right: 24px; + bottom: 16px; + + font-size: 20px; + font-weight: 500; + line-height: 24px; + color: #767676; + } + } + } +} \ No newline at end of file diff --git a/src/routes/Contact copy.jsx b/src/routes/Contact copy.jsx deleted file mode 100755 index 4ad36c7..0000000 --- a/src/routes/Contact copy.jsx +++ /dev/null @@ -1,25 +0,0 @@ -function Contact() { - return ( - <> -
-

Студенческое конструкторское бюро
- "Компьютерное инновационное творчество"

-
-
-
-

Контактное лицо: Кутковой Владимир Сергеевич

-
-
- - - - - - -
-
- - ); -} - -export default Contact; \ No newline at end of file diff --git a/src/routes/Root.scss b/src/routes/Root.scss index 8466c92..aead35d 100755 --- a/src/routes/Root.scss +++ b/src/routes/Root.scss @@ -41,25 +41,28 @@ $btn-dark: #585858; margin: 0 auto; background: $secondary-bg; - .heading { - display: flex; - justify-content: space-between; - align-items: center; + .block { + margin-bottom: 32px; - h1 { - font-family: Montserrat; - font-size: 36px; - font-weight: 600; - line-height: 44px; - } - - a { - font-size: 24px; - font-weight: 400; - line-height: 29px; - letter-spacing: 0em; - text-align: right; - color: black; + .heading { + display: flex; + justify-content: space-between; + align-items: center; + + h1 { + font-family: Montserrat; + font-size: 36px; + font-weight: 600; + line-height: 44px; + } + + a { + font-size: 24px; + font-weight: 400; + line-height: 29px; + text-align: right; + color: black; + } } } } @@ -74,6 +77,7 @@ $btn-dark: #585858; font-size: 20px; font-weight: 600; line-height: 24px; + color: white; background-color: $btn-dark; } \ No newline at end of file