Fix live games
[vchess.git] / client / src / views / About.vue
CommitLineData
92a523d1 1<template lang="pug">
7aa548e7
BA
2main
3 .row
4 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
72ccbd67 5 div(v-html="content")
92a523d1
BA
6</template>
7
7dec8d87
BA
8<script>
9import { store } from "@/store";
ea73fba2 10import afterRawLoad from "@/utils/afterRawLoad";
7dec8d87 11export default {
6808d7a1 12 name: "my-about",
fcbc92c2
BA
13 computed: {
14 content: function() {
6808d7a1 15 return (
ea73fba2
BA
16 afterRawLoad(
17 require(
18 "raw-loader!@/translations/about/" + store.state.lang + ".pug"
19 ).default
20 )
6808d7a1
BA
21 );
22 }
23 }
7dec8d87
BA
24};
25</script>
bbce9c10 26
26d8a01a 27<!-- Not scoped, because code is injected -->
bbce9c10
BA
28<style lang="sass">
29#links
30 margin: var(--universal-margin);
31 & > a
32 display: block
33</style>