'update'
[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";
7dec8d87
BA
10export default {
11 name: 'my-about',
fcbc92c2
BA
12 computed: {
13 content: function() {
14 return require("raw-loader!@/translations/about/" + store.state.lang + ".pug")
15 // Next two lines fix a weird issue after last update (2019-11)
16 .replace(/\\[n"]/g, " ")
17 .replace('module.exports = "', '').replace(/"$/, "");
18 },
72ccbd67 19 },
7dec8d87
BA
20};
21</script>
bbce9c10
BA
22
23<style lang="sass">
24#links
25 margin: var(--universal-margin);
26 & > a
27 display: block
28</style>