mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 08:25:14 +00:00
Add logo to navbar
This commit is contained in:
parent
84cb4e8978
commit
c83c086cdd
@ -13,3 +13,9 @@
|
|||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
border-left: 1px solid #282c34;
|
border-left: 1px solid #282c34;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-logo {
|
||||||
|
height: 50px;
|
||||||
|
margin: -15px 5px -15px -5px;
|
||||||
|
|
||||||
|
}
|
@ -1,6 +1,7 @@
|
|||||||
import { React, Component } from 'react';
|
import { React, Component } from 'react';
|
||||||
import { Navbar, NavbarBrand } from 'reactstrap';
|
import { Navbar, NavbarBrand } from 'reactstrap';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
|
import logo from '../logo.png';
|
||||||
import './Navigation.css';
|
import './Navigation.css';
|
||||||
|
|
||||||
const menuItems = [
|
const menuItems = [
|
||||||
@ -43,10 +44,13 @@ class Navigation extends Component {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Navbar color="dark" dark fixed="top">
|
<Navbar color="dark" dark fixed="top">
|
||||||
<NavbarBrand href="/" className="mr-auto">GoScrobble</NavbarBrand>
|
<NavbarBrand href="/" className="mr-auto"><img src={logo} className="nav-logo" alt="logo" /> GoScrobble</NavbarBrand>
|
||||||
{menuItems.map(menuItem =>
|
{menuItems.map(menuItem =>
|
||||||
<Link
|
<Link
|
||||||
key={menuItem}
|
key={menuItem}
|
||||||
|
Loading…
Reference in New Issue
Block a user