Use HTMLWebpackPlugin

This commit is contained in:
2019-12-13 14:21:20 +01:00
parent a7f0eabb97
commit 0074f318fd
7 changed files with 376 additions and 23 deletions

View File

@ -1,4 +1,5 @@
import React from 'react';
import logo from '../resources/logo.svg';
export class Navbar extends React.PureComponent {
render() {
@ -7,7 +8,7 @@ export class Navbar extends React.PureComponent {
<div className="container is-fluid">
<div className="navbar-brand">
<a className="navbar-item" href="#/">
<img src="resources/logo.svg" style={{marginRight:'5px',width:'28px',height:'28px'}} />
<img src={logo} style={{marginRight:'5px',width:'28px',height:'28px'}} />
<h1 className="is-size-4">GenGitKan</h1>
</a>
<a role="button" className="navbar-burger" aria-label="menu" aria-expanded="false">