reinit + header

This commit is contained in:
ifraimka1 committed 2024-02-12 12:56:54 +03:00
1 parent e163bc4fc5
commit 1006549592
16 files changed
+4384 -106

No files matched your search

+35
View File
@@ -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;
+30
View File
@@ -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;
}
}
}