mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:39:45 +00:00
Routing, contact-page
This commit is contained in:
1 parent
da7b415c1a
commit
4a00dbefc4
10 files changed
+121
-18
No files matched your search
@@ -0,0 +1,36 @@
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
import logo from '../../assets/scb.svg'
|
||||
import './Navbar.scss';
|
||||
|
||||
function Navbar() {
|
||||
return (
|
||||
<div className="navbar">
|
||||
<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>
|
||||
<Link to={`/contact`}>
|
||||
КОНТАКТЫ
|
||||
</Link>
|
||||
<a href="https://ictis.sfedu.ru">
|
||||
ИКТИБ
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Navbar;
|
||||
@@ -0,0 +1,35 @@
|
||||
$primary-bg-color: #343434;
|
||||
$primary-text-color: white;
|
||||
|
||||
.navbar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 80%;
|
||||
max-height: 60px;
|
||||
padding: 1em 10%;
|
||||
background: $primary-bg-color;
|
||||
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.logo-container {
|
||||
height: 100%;
|
||||
|
||||
.logo {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.bar {
|
||||
display: flex;
|
||||
|
||||
a {
|
||||
padding: .25em;
|
||||
margin-left: 2em;
|
||||
color: $primary-text-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user