X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FVariants.vue;h=8de335e6af5d7f23201067eed8feda8787322caa;hb=4313762da3237b04f204e121a20cab3ba7bb5dd2;hp=da6478b43f33053a904cf2862ddeeedda73407d3;hpb=70c9745d34b705eb8a4dc72b6e4655739d31347c;p=vchess.git diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue index da6478b4..8de335e6 100644 --- a/client/src/views/Variants.vue +++ b/client/src/views/Variants.vue @@ -4,37 +4,70 @@ main .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 a#mainLink(href="/#/variants/list") | {{ st.tr["View alphabetical variants list"] }} - div(v-html="content") + p.text-center + a.leftLink(href="https://www.chessvariants.com/what.html") + | {{ st.tr["What is a chess variant?"] }} + a(href="https://www.chessvariants.com/why.html") + | {{ st.tr["Why play chess variants?"] }} + p + a(href="/#/variants/Chess960") Chess960 + | {{ st.tr["chess960_v"] }} + div(v-for="g of sortedGroups") + h3 {{ st.tr["vt" + g] }} + p {{ st.tr["vg" + g] }} + ul + li(v-for="v of sortVariants(variantGroup.get(g))") + a(:href="getLink(v)") {{ v.display }} + |  –  + | {{ st.tr[v.description] }}