9 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
10 // Menu (top of page):
11 // Left: hall, variants, mygames, forum (ext. link)
12 // Right: usermenu, settings, flag
14 label.drawer-toggle(for="drawerControl")
15 input#drawerControl.drawer(type="checkbox")
17 label.drawer-close(for="drawerControl")
21 router-link(to="/variants")
22 | {{ st.tr["Variants"] }}
23 router-link(to="/mygames")
24 | {{ st.tr["My games"] }}
25 // TODO: parametric URL, "forumURL"
26 a(href="https://forum.vchess.club")
27 | {{ st.tr["Forum"] }}
29 .clickable(onClick="doClick('modalUser')")
30 | {{ st.user.id > 0 ? "Update" : "Login" }}
31 .clickable(onClick="doClick('modalSettings')")
32 | {{ st.tr["Settings"] }}
33 .clickable#flagContainer(onClick="doClick('modalLang')")
34 img(v-if="!!st.lang" :src="flagImage")
37 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
39 router-link.menuitem(to="/about") {{ st.tr["About"] }}
40 p.clickable(onClick="doClick('modalContact')")
41 | {{ st.tr["Contact"] }}
42 // TODO: add only the necessary icons to mini-css custom build
43 //script(src="//unpkg.com/feather-icons")
47 // See https://stackoverflow.com/a/35417159
48 import ContactForm from "@/components/ContactForm.vue";
49 import Language from "@/components/Language.vue";
50 import Settings from "@/components/Settings.vue";
51 import UpsertUser from "@/components/UpsertUser.vue";
52 import { store } from "./store.js";
66 flagImage: function() {
67 return `/images/flags/${this.st.lang}.svg`;
75 font-family: "Avenir", Helvetica, Arial, sans-serif
76 -webkit-font-smoothing: antialiased
77 -moz-osx-font-smoothing: grayscale
80 @media screen and (max-width: 767px)
93 justify-content: center
114 justify-content: flex-start
116 display: inline-block
118 &.router-link-exact-active
125 justify-content: flex-end
127 display: inline-block
135 // TODO: drawer, until 600px wide OK (seemingly)
136 // After, zone where left and right just go on top of another
137 // Then, on narrow screen put everything on one line
138 [type="checkbox"].drawer+*
142 //background-color: #000033
149 justify-content: center
151 display: inline-block
156 text-decoration: none
158 display: inline-block