mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:09:45 +00:00
reinit + header
This commit is contained in:
1 parent
e163bc4fc5
commit
1006549592
16 files changed
+4384
-106
No files matched your search
@@ -0,0 +1,35 @@
|
||||
import './header.scss';
|
||||
import logo from '../../assets/scb.svg'
|
||||
|
||||
function Header() {
|
||||
|
||||
return (
|
||||
<div className="header">
|
||||
<div className="logo-container">
|
||||
<img src={logo} className="logo" alt="SCB logo"/>
|
||||
</div>
|
||||
<div className="bar">
|
||||
<a href="">
|
||||
ГЛАВНАЯ
|
||||
</a>
|
||||
<a href="">
|
||||
О НАС
|
||||
</a>
|
||||
<a href="">
|
||||
ЛАБОРАТОРИИ
|
||||
</a>
|
||||
<a href="">
|
||||
ПРОЕКТЫ
|
||||
</a>
|
||||
<a href="">
|
||||
КОНТАКТЫ
|
||||
</a>
|
||||
<a href="https://ictis.sfedu.ru">
|
||||
ИКТИБ
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Header;
|
||||
@@ -0,0 +1,30 @@
|
||||
.header {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 80%;
|
||||
padding: 0 10%;
|
||||
background: #343434;
|
||||
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.logo-container {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bar {
|
||||
display: flex;
|
||||
|
||||
a {
|
||||
padding: .25em;
|
||||
margin-left: 2em;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user