X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=5729c380fa597323f54245b42f4a2a7928f6e772;hp=02693a62639f89fe61bcb0fa772363380836a487;hb=ff0150d1eb0ce3778310e67bb4ce87d0666a37d7;hpb=b1fea144e72b3bce1a2d2c630618805eb45424b4 diff --git a/client/src/App.vue b/client/src/App.vue index 02693a62..5729c380 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -33,7 +33,7 @@ .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"] }} - router-link.menuitem#newsMenu(to="/news") {{ st.tr["News"] }} + router-link.menuitem(to="/faq") F.A.Q. a.menuitem(href="https://discord.gg/a9ZFKBe") span Discord img(src="/images/icons/discord.svg") @@ -59,18 +59,6 @@ export default { data: function() { return { st: store.state }; }, - mounted: function() { - ajax( - "/newsts", - "GET", - { - success: (res) => { - if (this.st.user.newsRead < res.timestamp) - document.getElementById("newsMenu").classList.add("somenews"); - } - } - ); - }, computed: { userName: function() { return ( @@ -297,9 +285,4 @@ footer height: 55px display: block padding: 5px 0 - -.menuitem.somenews - color: red - &:link, &:visited, &:hover - color: red