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