X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fviews%2FVariants.vue;h=4374fd049ac9e1d12a885d5ab3ea11c950836007;hb=eaa5ad3e93b761fefb16b32071be0b439761f843;hp=da6478b43f33053a904cf2862ddeeedda73407d3;hpb=b0116a67818668f55cd2a3b3a323b2c91b5bc332;p=vchess.git diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue index da6478b4..4374fd04 100644 --- a/client/src/views/Variants.vue +++ b/client/src/views/Variants.vue @@ -4,27 +4,57 @@ 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/Chess") Chess + | {{ st.tr["chess_v"] }} + div(v-for="g of sortedGroups") + h3 {{ st.tr["vt" + g] }} + p {{ st.tr["vg" + g] }} + ul + li(v-for="v of variantGroup.get(g)") + a(:href="getLink(v)") {{ v.display }} + |  –  + | {{ v.description }}