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")
15 p vchess.club {{ $lang }}
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")
26 router-link(v-if="$route.path != '/'" to="/")
28 router-link(:href="getLink('/hall')")
29 | getLink function : suffix ==> /variant + suffix
31 router-link(href="#tabGames")
32 =translations["My games"]
33 router-link(href="#rules")
34 =translations["Rules"]
35 router-link(href="#problems")
36 =translations["Problems"]
37 #userMenu.clickable.right-menu(onClick="doClick('modalUser')")
47 #flagMenu.clickable.right-menu(onClick="doClick('modalLang')")
48 img(src="/images/flags/" + lang + ".svg")
49 #settings.clickable(v-show="display!='index'" onClick="doClick('modalSettings')")
50 i(data-feather="settings")
54 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2.text-center
55 a(href="https://github.com/yagu0/vchess") Source code
56 p.clickable(onClick="doClick('modalContact')")
57 = translations["Contact form"]
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";
81 font-family: "Avenir", Helvetica, Arial, sans-serif
82 -webkit-font-smoothing: antialiased
83 -moz-osx-font-smoothing: grayscale
92 &.router-link-exact-active