Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Commit

Permalink
Футер и хэдер
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy committed May 17, 2020
1 parent 98a4bde commit 8a31595
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Footer/Footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.footer {
background-color: #2b2b2b;
min-height: 65px;
color: white;
}


.footer__text {
padding: 22px 20px 20px 50px;
font-size: 14px;
}
21 changes: 21 additions & 0 deletions src/Footer/Footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';
import './Footer.css';

export class Footer extends React.Component {
constructor() {
super();
}

render() {

return (
<div className="footer">
<div className="footer__text">
2020 Все права защищены
</div>
</div>
);
}


}
22 changes: 22 additions & 0 deletions src/Header/Header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.header {
background-color: #567ba7;
color: #fff;
max-height: 75px;
display: flex;
justify-content: space-between;
}

.header__logo-wrapper {
padding: 10px 10px 10px 50px;
}

.header__logo {
width: 55px;
height: 55px;
}

.header__exit-button {
margin: 25px 50px 25px 25px;
font-size: 18px;
cursor: pointer;
}
25 changes: 25 additions & 0 deletions src/Header/Header.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from 'react';
import './Header.css';

export class Header extends React.Component {
constructor() {
super();
}

render() {

return (
<div className="header">
<div className="header__logo-wrapper">
<img src="https://meter4.me/images/logo.svg" className="header__logo"/>
</div>

<div className="header__exit-button">
Выйти
</div>
</div>
);
}


}

0 comments on commit 8a31595

Please sign in to comment.