- .clickable(onClick="doClick('modalUser')")
- | {{ !st.user.id ? "Login" : "Update" }}
- .clickable(onClick="doClick('modalSettings')")
- | {{ st.tr["Settings"] }}
- .clickable(onClick="doClick('modalLang')")
- img(v-if="!!st.lang"
- :src="require(`@/assets/images/flags/${st.lang}.svg`)")
- .row
- router-view
- .row
- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- footer
- a(href="https://github.com/yagu0/vchess") {{ st.tr["Source code"] }}
- p.clickable(onClick="doClick('modalContact')")
- | {{ st.tr["Contact form"] }}
- //my-game(:game-ref="gameRef" :mode="mode" :settings="settings" @game-over="archiveGame")
- //// TODO: add only the necessary icons to mini-css custom build
- //script(src="//unpkg.com/feather-icons")
+ .clickable(onClick="window.doClick('modalUser')")
+ | {{ st.user.id > 0 ? (st.user.name || "@nonymous") : "Login" }}
+ #divSettings.clickable(onClick="window.doClick('modalSettings')")
+ span {{ st.tr["Settings"] }}
+ img(src="/images/icons/settings.svg")
+ router-view
+ .row
+ .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
+ footer
+ router-link.menuitem(to="/about") {{ st.tr["About"] }}
+ router-link.menuitem(to="/news") {{ st.tr["News"] }}
+ p.clickable(onClick="window.doClick('modalContact')")
+ | {{ st.tr["Contact"] }}