34 lines
1.1 KiB
React
34 lines
1.1 KiB
React
|
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="#/">
|
||
|
<h1 className="is-size-4">GiteaKan</h1>
|
||
|
</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>
|
||
|
);
|
||
|
}
|
||
|
}
|