mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:49:45 +00:00
Главная страница
This commit is contained in:
1 parent
2e51118fa5
commit
f9764adef7
8 files changed
+174
-17
No files matched your search
@@ -0,0 +1,34 @@
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
import './News.scss';
|
||||
|
||||
function News() {
|
||||
return (
|
||||
<div className="news">
|
||||
<div className="heading">
|
||||
<h1>Новости</h1>
|
||||
<a href=''>Все проекты</a>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
Какая-то новость
|
||||
</div>
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
Еще одна новость
|
||||
</div>
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
Новость поменьше
|
||||
</div>
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
Новость маленькая совсем жесть а текст какой длинный ого
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default News;
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
import './Projects.scss';
|
||||
|
||||
function Projects() {
|
||||
return (
|
||||
<div className="news">
|
||||
<div className="heading">
|
||||
<h1>Наши проекты</h1>
|
||||
<a href=''>Все проекты</a>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
</div>
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
</div>
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
</div>
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Projects;
|
||||
Whitespace-only changes.
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user