3 // modal "welcome" will be filled in the selected language
10 .row(v-show="$route.path == '/'")
11 // Header (on index only ?!)
13 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
14 img(src="./assets/images/index/unicorn.svg")
17 img(src="./assets/images/index/wildebeest.svg")
19 // Menu (top of page):
20 // shared: Home + flags, userMenu
21 // variant: hall, problems, rules, my games + settings
23 label.drawer-toggle(for="drawerControl")
24 input#drawerControl.drawer(type="checkbox")
26 label.drawer-close(for="drawerControl")
28 // select options all variants + filter possible (as in problems)
30 router-link(to="/myGames")
31 | {{ st.tr["My games"] }}
32 router-link(to="/rules")
33 // Boxes OK for rules/Atomic/ ...etc
34 | {{ st.tr["Rules"] }}
35 router-link(to="/problems")
36 | {{ st.tr["Problems"] }}
37 #userMenu.clickable.right-menu(onClick="doClick('modalUser')")
40 span {{ !st.user.id ? "Login" : "Update" }}
42 #flagMenu.clickable.right-menu(onClick="doClick('modalLang')")
43 img(src="/images/flags/" + lang + ".svg")
44 #settings.clickable(onClick="doClick('modalSettings')")
46 i(data-feather="settings")
51 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2.text-center
52 a(href="https://github.com/yagu0/vchess") Source code
53 p.clickable(onClick="doClick('modalContact')")
54 | {{ st.tr["Contact form"] }}
55 //my-game(:game-ref="gameRef" :mode="mode" :settings="settings" @game-over="archiveGame")
56 //// TODO: add only the necessary icons to mini-css custom build
57 //script(src="//unpkg.com/feather-icons")
61 // See https://stackoverflow.com/a/35417159
62 import ContactForm from "@/components/ContactForm.vue";
63 import Language from "@/components/Language.vue";
64 import Settings from "@/components/Settings.vue";
65 import UpsertUser from "@/components/UpsertUser.vue";
66 import { store } from "./store.js";
84 font-family: "Avenir", Helvetica, Arial, sans-serif
85 -webkit-font-smoothing: antialiased
86 -moz-osx-font-smoothing: grayscale
95 &.router-link-exact-active