Routing, contact-page

This commit is contained in:
ifraimka1 committed 2024-02-13 15:31:02 +03:00
1 parent da7b415c1a
commit 4a00dbefc4
10 files changed
+121 -18

No files matched your search

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