mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:19: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
@@ -1,10 +1,11 @@
|
||||
import './header.scss';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
import logo from '../../assets/scb.svg'
|
||||
import './Navbar.scss';
|
||||
|
||||
function Header() {
|
||||
|
||||
function Navbar() {
|
||||
return (
|
||||
<div className="header">
|
||||
<div className="navbar">
|
||||
<div className="logo-container">
|
||||
<img src={logo} className="logo" alt="SCB logo"/>
|
||||
</div>
|
||||
@@ -21,9 +22,9 @@ function Header() {
|
||||
<a href="">
|
||||
ПРОЕКТЫ
|
||||
</a>
|
||||
<a href="">
|
||||
<Link to={`/contact`}>
|
||||
КОНТАКТЫ
|
||||
</a>
|
||||
</Link>
|
||||
<a href="https://ictis.sfedu.ru">
|
||||
ИКТИБ
|
||||
</a>
|
||||
@@ -32,4 +33,4 @@ function Header() {
|
||||
);
|
||||
}
|
||||
|
||||
export default Header;
|
||||
export default Navbar;
|
||||
@@ -1,10 +1,11 @@
|
||||
$primary-bg-color: #343434;
|
||||
$primary-text-color: white;
|
||||
|
||||
.header {
|
||||
.navbar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 80%;
|
||||
max-height: 60px;
|
||||
padding: 1em 10%;
|
||||
background: $primary-bg-color;
|
||||
|
||||
@@ -14,11 +15,11 @@ $primary-text-color: white;
|
||||
align-items: center;
|
||||
|
||||
.logo-container {
|
||||
width: 25%;
|
||||
}
|
||||
height: 100%;
|
||||
|
||||
.logo {
|
||||
width: 100%;
|
||||
.logo {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.bar {
|
||||
Reference in new issue
Block a user