4 link(rel="stylesheet", href="/stylesheets/index.css")
9 #header.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
11 img(src="/images/index/unicorn.svg")
14 img(src="/images/index/wildebeest.svg")
15 // TODO: flags, translations
16 #flagMenu(onClick="document.getElementById('modalLang').checked=true")
17 img(src="/images/flags/" + lang + ".svg")
18 #helpMenu(onClick="document.getElementById('modalHelp').checked=true")
22 my-variant-summary(v-for="(v,idx) in sortedCounts"
23 v-bind:vobj="v" v-bind:index="idx" v-bind:key="v.name")
25 input#modalHelp.modal(type="checkbox")
28 label.modal-close(for="modalHelp")
30 p.emphasis.bigfont First: watch #[a(href="/demo.webm") demo video] !
31 p Then click on a variant... Reminder:
33 li All games start with a random assymetric position.
34 li Games are untimed, and played anonymously.
35 li No chat while playing, to focus on the moves.
39 | Please send an email to
40 a(href="mailto:contact@vchess.club?subject=[vchess.club] bug report")
43 input#modalLang.modal(type="checkbox")
46 label.modal-close(for="modalLang")
54 label(for="langSelect") Preferred language?
55 select#langSelect(@change="setLanguage")
56 each langCode in languages
57 option(value=langCode selected=(lang==langCode))
63 a(href="https://github.com/yagu0/vchess/tree/master/views")
65 | : welcome/en.pug and all files rules/*/en.pug
66 | should be translated. When it's done, send me the files:
67 a(href="mailto:contact@vchess.club?subject=[vchess.club] translation")
70 input#modalB4welcome.modal(type="checkbox")
72 #b4welcome.card.text-center
74 p#readThis(@click="showWelcomeMsg") >>> Please read this <<<
77 include welcome/en.pug
79 include welcome/fr.pug
83 const variantArray = !{JSON.stringify(variantArray)};
84 script(src="/javascripts/utils/misc.js")
85 script(src="/javascripts/utils/socket_url.js")
86 script(src="/javascripts/components/variantSummary.js")
87 script(src="/javascripts/index.js")