X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=d8e395f24778474c79673bd475fe921bfe18d0fe;hb=b0a0468aa6f436f2ad4962492561ef430a3bc15c;hp=3839976c4ca0ade076f3d0fd2d9880a5f695d693;hpb=afde76668963c4d0d96002fcae2ebabb9acf81e4;p=vchess.git diff --git a/client/src/App.vue b/client/src/App.vue index 3839976c..d8e395f2 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -34,6 +34,9 @@ .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 footer router-link.menuitem(to="/about") {{ st.tr["About"] }} + a.menuitem(href="https://github.com/yagu0/vchess") + span {{ st.tr["Code"] }} + img(src="/images/icons/github.svg") router-link.menuitem(to="/news") {{ st.tr["News"] }} p.clickable(onClick="window.doClick('modalContact')") | {{ st.tr["Contact"] }} @@ -43,8 +46,7 @@ import ContactForm from "@/components/ContactForm.vue"; import Settings from "@/components/Settings.vue"; import UpsertUser from "@/components/UpsertUser.vue"; -import { store } from "./store.js"; -import { processModalClick } from "./utils/modalClick.js"; +import { store } from "@/store.js"; export default { components: { ContactForm, @@ -56,12 +58,6 @@ export default { st: store.state }; }, - mounted: function() { - let dialogs = document.querySelectorAll("div[role='dialog']"); - dialogs.forEach(d => { - d.addEventListener("click", processModalClick); - }); - }, methods: { hideDrawer: function(e) { e.preventDefault(); //TODO: why is this needed? @@ -74,8 +70,8 @@ export default {