fix #3 create the header, style the site-logo to have a max-width
This commit is contained in:
parent
401de982c8
commit
c17e153fd3
BIN
src/assets/images/byline.ar.png
Executable file
BIN
src/assets/images/byline.ar.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
@ -1,13 +1,15 @@
|
|||
import React from 'react';
|
||||
import logo from '../logo.png';
|
||||
import '../styleSheets/style.css'
|
||||
|
||||
import '../stylesheets/style.css'
|
||||
|
||||
class Header extends React.Component {
|
||||
render() {
|
||||
const Logo = () => {
|
||||
return (
|
||||
<nav>
|
||||
<img className="site-logo" src={logo} alt="logo 858 "/>
|
||||
<img className="site-logo" src={require('../assets/images/logo.png')} alt="logo 858 "/>
|
||||
<br/>
|
||||
<img className="site-logo" src={require('../assets/images/byline.ar.png')} alt="logo 858 "/>
|
||||
</nav>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.site-logo{
|
||||
max-width: 300px;
|
||||
padding-top: 2em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user