projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace news by FAQ
[vchess.git]
/
client
/
src
/
App.vue
diff --git
a/client/src/App.vue
b/client/src/App.vue
index
02693a6
..
5729c38
100644
(file)
--- 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"] }}
.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")
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 };
},
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 (
computed: {
userName: function() {
return (
@@
-297,9
+285,4
@@
footer
height: 55px
display: block
padding: 5px 0
height: 55px
display: block
padding: 5px 0
-
-.menuitem.somenews
- color: red
- &:link, &:visited, &:hover
- color: red
</style>
</style>