- h4.rulesTitle.text-center(v-on:click="displayRules=!displayRules")
- | #{variant} Rules
- my-rules(v-show="displayRules")
- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- my-game
+ label.drawer-toggle(for="drawer-control")
+ input#drawer-control.drawer(type="checkbox")
+ #menuBar
+ label.drawer-close(for="drawer-control")
+ a#homeLink(href="/")
+ i.material-icons home
+ .info-container
+ a(href="#rules" @click="setDisplay('rules')")
+ =translations["Rules"]
+ a(href="#play" @click="setDisplay('play')")
+ =translations["Play"]
+ a(href="#problems" v-if="notDark()" @click="setDisplay('problems')")
+ =translations["Problems"]
+ #flagMenu.clickable(
+ onClick="document.getElementById('modalLang').checked=true")
+ img(src="/images/flags/" + lang + ".svg")
+ #helpMenu.clickable(
+ onClick="document.getElementById('modalHelp').checked=true")
+ .info-container
+ p= translations["Help"]
+ .row
+ my-rules(v-show="display=='rules'")
+ my-game(v-show="display=='play'" v-bind:problem="problem")
+ my-problems(v-if="notDark()" v-show="display=='problems'"
+ v-on:show-problem="showProblem($event)")