Started code review + some fixes (unfinished)
[vchess.git] / client / src / views / About.vue
index 3b1a2cb..711cc0b 100644 (file)
@@ -7,46 +7,25 @@ main
 
 <script>
 import { store } from "@/store";
-
 export default {
-  name: 'my-about',
+  name: "my-about",
   computed: {
     content: function() {
-      return require("raw-loader!@/translations/about/" + store.state.lang + ".pug")
-        // Next two lines fix a weird issue after last update (2019-11)
-        .replace(/\\[n"]/g, " ")
-        .replace('module.exports = "', '').replace(/"$/, "");
-    },
-  },
+      return (
+        require("raw-loader!@/translations/about/" + store.state.lang + ".pug")
+          // Next two lines fix a weird issue after last update (2019-11)
+          .replace(/\\[n"]/g, " ")
+          .replace('module.exports = "', "")
+          .replace(/"$/, "")
+      );
+    }
+  }
 };
 </script>
 
 <style lang="sass">
-.warn
-  padding: 3px
-  color: red
-  background-color: lightgrey
-  font-weight: bold
-
-p.boxed
-  background-color: #FFCC66
-  padding: 5px
-
-.stageDelimiter
-  color: purple
-
-.section-title
-  padding: 0
-
-.section-title > h4
-  padding: 5px
-
-ol, ul:not(.browser-default)
-  padding-left: 20px
-
-ul:not(.browser-default)
-  margin-top: 5px
-
-ul:not(.browser-default) > li
-  list-style-type: disc
+#links
+  margin: var(--universal-margin);
+  & > a
+    display: block
 </style>