Fill About.vue, clean translations
[vchess.git] / client / src / views / About.vue
index e4b7637..002453d 100644 (file)
@@ -1,10 +1,27 @@
 <template lang="pug">
-.row
-  .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
-    p TODO: give github URL, tell website story...
-    a(href="https://github.com/yagu0/vchess") contribute...
+main
+  .row
+    .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
+      p {{ st.tr["about_intro1"] }}
+      p {{ st.tr["about_intro2"] }}
+      p {{ st.tr["about_sitemap"] }}
+      p(v-html="st.tr['about_contrib']")
+      p(v-html="st.tr['about_thanks']")
 </template>
 
+<script>
+import { store } from "@/store";
+
+export default {
+  name: 'my-about',
+  data: function() {
+    return {
+      st: store.state,
+    };
+  },
+};
+</script>
+
 <style lang="sass">
 .warn
   padding: 3px