mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:09:45 +00:00
Раздел проектов
This commit is contained in:
1 parent
72f6ce54b0
commit
8efcd44d59
6 files changed
+71
-212
No files matched your search
@@ -4,16 +4,12 @@ import './News.scss';
|
||||
|
||||
function News() {
|
||||
return (
|
||||
<div className="news">
|
||||
<div className="block news">
|
||||
<div className="heading">
|
||||
<h1>Новости</h1>
|
||||
<a href=''>Все проекты</a>
|
||||
<a href=''>Все новости</a>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
Какая-то новость
|
||||
</div>
|
||||
<div className="el">
|
||||
<div className="pic"></div>
|
||||
Еще одна новость
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
import { Link } from 'react-router-dom';
|
||||
//import { Link } from 'react-router-dom';
|
||||
|
||||
import './Projects.scss';
|
||||
|
||||
function Projects() {
|
||||
return (
|
||||
<div className="news">
|
||||
<div className="block projects">
|
||||
<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>
|
||||
<a className="big el btn" href="">
|
||||
<div className="text">Перейти→</div>
|
||||
</a>
|
||||
<a className="el btn" href="">
|
||||
<div className="text">Перейти→</div>
|
||||
</a>
|
||||
<a className="el btn" href="">
|
||||
<div className="text">Перейти→</div>
|
||||
</a>
|
||||
<a className="el btn" href="">
|
||||
<div className="text">Перейти→</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
function Contact() {
|
||||
return (
|
||||
<>
|
||||
<header className='header'>
|
||||
<h1>Студенческое конструкторское бюро<br />
|
||||
"Компьютерное инновационное творчество"</h1>
|
||||
</header>
|
||||
<div className="content">
|
||||
<div className="contact">
|
||||
<p>Контактное лицо: Кутковой Владимир Сергеевич</p>
|
||||
</div>
|
||||
<form className="form">
|
||||
<label htmlFor="topic-input">Тема</label>
|
||||
<input type="text" name="topic" id="topic-input" />
|
||||
<label htmlFor="email">Почта</label>
|
||||
<input type="text" name="email-input" id="email-input" />
|
||||
<label htmlFor="message">Сообщение</label>
|
||||
<input type="text" name="message-input" id="message-input" />
|
||||
</form>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default Contact;
|
||||
+22
-18
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user