|
|
|
@ -4,8 +4,11 @@ require("./layout.css");
|
|
|
|
|
|
|
|
|
|
export default class Layout { |
|
|
|
|
private menuActive = false; |
|
|
|
|
private drawCount = 0; |
|
|
|
|
|
|
|
|
|
view(vnode: m.Vnode) { |
|
|
|
|
this.drawCount = this.drawCount + 1; |
|
|
|
|
|
|
|
|
|
return [ |
|
|
|
|
<nav class="navbar" role="navigation" aria-label="main navigation"> |
|
|
|
|
<div class="navbar-brand"> |
|
|
|
@ -16,6 +19,8 @@ export default class Layout {
|
|
|
|
|
<span aria-hidden="true"></span> |
|
|
|
|
<span aria-hidden="true"></span> |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<span>{this.drawCount}</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div id="mainMenu" class={'navbar-menu ' + (this.menuActive ? 'is-active' : '')}> |
|
|
|
|