diff --git a/src/components/Main/News.jsx b/src/components/Main/News.jsx
new file mode 100644
index 0000000..fbbb95b
--- /dev/null
+++ b/src/components/Main/News.jsx
@@ -0,0 +1,34 @@
+import { Link } from 'react-router-dom';
+
+import './News.scss';
+
+function News() {
+ return (
+
+
+
+
+
+
+
+
+ Новость маленькая совсем жесть а текст какой длинный ого
+
+
+
+ );
+}
+
+export default News;
\ No newline at end of file
diff --git a/src/components/Main/News.scss b/src/components/Main/News.scss
new file mode 100644
index 0000000..858305c
--- /dev/null
+++ b/src/components/Main/News.scss
@@ -0,0 +1,20 @@
+.news {
+ .row {
+ display: flex;
+ justify-content: space-between;
+ gap: 32px;
+
+ .el {
+ width: 350px;
+ margin-bottom: 1em;
+
+ .pic {
+ width: 100%;
+ aspect-ratio: 1;
+ border-radius: 8px;
+ margin-bottom: .5em;
+ background-color: #D9D9D9;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/components/Main/Projects.jsx b/src/components/Main/Projects.jsx
new file mode 100644
index 0000000..4e13eb1
--- /dev/null
+++ b/src/components/Main/Projects.jsx
@@ -0,0 +1,30 @@
+import { Link } from 'react-router-dom';
+
+import './Projects.scss';
+
+function Projects() {
+ return (
+
+ );
+}
+
+export default Projects;
\ No newline at end of file
diff --git a/src/components/Main/Projects.scss b/src/components/Main/Projects.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/components/Navbar/Navbar.scss b/src/components/Navbar/Navbar.scss
index 255a83b..9c8b703 100644
--- a/src/components/Navbar/Navbar.scss
+++ b/src/components/Navbar/Navbar.scss
@@ -5,7 +5,8 @@ $primary-text-color: white;
position: absolute;
top: 0;
width: 80%;
- max-height: 60px;
+ height: 80px;
+ max-height: 80px;
padding: 1em 10%;
background: $primary-bg-color;
@@ -19,6 +20,7 @@ $primary-text-color: white;
.logo {
width: 100%;
+ height: 100%;
}
}
@@ -26,8 +28,12 @@ $primary-text-color: white;
display: flex;
a {
+ font-size: 16px;
+ font-weight: 500;
+ line-height: 20px;
+ letter-spacing: 0em;
padding: .25em;
- margin-left: 2em;
+ margin-left: 40px;
color: $primary-text-color;
text-decoration: none;
}
diff --git a/src/index.scss b/src/index.scss
index 101fc69..dd28531 100644
--- a/src/index.scss
+++ b/src/index.scss
@@ -14,4 +14,8 @@ body {
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
+}
+
+a {
+ text-decoration: none;
}
\ No newline at end of file
diff --git a/src/routes/Main.jsx b/src/routes/Main.jsx
index 67d46a2..dc72ad5 100644
--- a/src/routes/Main.jsx
+++ b/src/routes/Main.jsx
@@ -1,11 +1,18 @@
+import News from '../components/Main/News';
+import Projects from '../components/Main/Projects'
+
function Main() {
return (
<>
- Main page
+ Думай иначе, будь креативным!
+ Студенческое конструкторское бюро
+ "Компьютерное инновационное творчество"
+ Связаться с нами
>
);
diff --git a/src/routes/Root.scss b/src/routes/Root.scss
index 36d2b57..8466c92 100644
--- a/src/routes/Root.scss
+++ b/src/routes/Root.scss
@@ -1,23 +1,79 @@
-$primary-bg-color: #343434;
-$secondary-bg-color: white;
-$primary-text-color: white;
+$primary-bg: #343434;
+$secondary-bg: white;
+$primary-text: white;
+$btn-dark: #585858;
#page {
margin-top: calc(60px + 2em);
.header {
- height: 25vh;
-
- text-align: center;
+ height: calc(100vh - (60px + 2em));
+ padding: 0 10%;
+
display: flex;
- justify-content: center;
- align-items: center;
-
- color: $primary-text-color;
- background: $primary-bg-color;
+ flex-direction: column;
+
+ color: $primary-text;
+ background-image: url(../assets/car.jpeg);
+ background-color: rgba(0, 0, 0, .75);
+ background-blend-mode: multiply;
+ background-position: center;
+ background-size: cover;
+
+ h1 {
+ font-size: 60px;
+ font-weight: 600;
+ line-height: 63px;
+
+ margin-top: 40vh;
+ margin-bottom: 0;
+ }
+
+ h2 {
+ font-size: 24px;
+ font-weight: 400;
+ line-height: 36px;
+ }
}
-
+
.content {
- background: $secondary-bg-color;
+ width: 80%;
+ margin: 0 auto;
+ background: $secondary-bg;
+
+ .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;
+ letter-spacing: 0em;
+ text-align: right;
+ color: black;
+ }
+ }
}
}
+
+.btn {
+ display: block;
+ width: fit-content;
+ padding: 16px 24px;
+ border-radius: 8px;
+
+ font-size: 20px;
+ font-weight: 600;
+ line-height: 24px;
+ color: white;
+ background-color: $btn-dark;
+}
\ No newline at end of file