X-Git-Url: https://git.auder.net/pieces/Checkered/cn.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FVariants.vue;h=8de335e6af5d7f23201067eed8feda8787322caa;hb=c55f90a29815f68dc24a912370db8f6ff9360f8e;hp=d638b0759c949fa6d499aec29c687c3b67d16605;hpb=737a5dafb39740ebe304b8d0a82df85070def571;p=vchess.git
diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue
index d638b075..8de335e6 100644
--- a/client/src/views/Variants.vue
+++ b/client/src/views/Variants.vue
@@ -4,38 +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] }}