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