gengitkan/client/src/components/Navbar.jsx

35 lines
1.2 KiB
React
Raw Normal View History

2019-12-01 22:12:13 +01:00
import React from 'react';
export class Navbar extends React.Component {
render() {
return (
<nav className="navbar" role="navigation" aria-label="main navigation">
<div className="container is-fluid">
<div className="navbar-brand">
<a className="navbar-item" href="#/">
2019-12-05 16:15:33 +01:00
<img src="resources/logo.svg" style={{marginRight:'5px'}} />
<h1 className="is-size-4">GenGitKan</h1>
2019-12-01 22:12:13 +01:00
</a>
<a role="button" className="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div className="navbar-menu">
<div className="navbar-end">
<div className="navbar-item">
<a className="button is-small" href="#/logout">
<span className="icon">
<i className="fas fa-sign-out-alt"></i>
</span>
<span>Se déconnecter</span>
</a>
</div>
</div>
</div>
</div>
</nav>
);
}
}