X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=a961d7fcf3401918f72e66cbb891854772fa7f5a;hb=e90bafa8fb5fb7641728231bf2398590d96c672a;hp=91675724ff6fe42401e6fc7f41d607cec392dda0;hpb=c6913dbc4435b7975a7eed3a3c5880150fc1cc16;p=vchess.git
diff --git a/client/src/App.vue b/client/src/App.vue
index 91675724..a961d7fc 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -1,6 +1,5 @@
#app
- Language
Settings
ContactForm
UpsertUser
@@ -9,7 +8,7 @@
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
// Menu (top of page):
// Left: hall, variants, problems, mygames
- // Right: usermenu, settings, flag
+ // Right: usermenu, settings
nav
label.drawer-toggle(for="drawerControl")
input#drawerControl.drawer(type="checkbox")
@@ -18,75 +17,83 @@
#leftMenu
router-link(to="/")
| {{ st.tr["Hall"] }}
+ router-link(to="/mygames")
+ | {{ st.tr["My games"] }}
router-link(to="/variants")
| {{ st.tr["Variants"] }}
router-link(to="/problems")
| {{ st.tr["Problems"] }}
- router-link(to="/mygames")
- | {{ st.tr["My games"] }}
#rightMenu
- .clickable(onClick="doClick('modalUser')")
- | {{ st.user.id > 0 ? (st.user.name || "@nonymous") : "Login" }}
- .clickable(onClick="doClick('modalSettings')")
- | {{ st.tr["Settings"] }}
- .clickable#flagContainer(onClick="doClick('modalLang')")
- img(v-if="!!st.lang" :src="flagImage")
+ .clickable(onClick="window.doClick('modalUser')") {{ userName }}
+ #divSettings.clickable(onClick="window.doClick('modalSettings')")
+ span {{ st.tr["Settings"] }}
+ img(src="/images/icons/settings.svg")
router-view
.row
.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(to="/news") {{ st.tr["News"] }}
- p.clickable(onClick="doClick('modalContact')")
+ router-link.menuitem#newsMenu(to="/news") {{ st.tr["News"] }}
+ a.menuitem(href="https://discord.gg/a9ZFKBe")
+ span Discord
+ img(src="/images/icons/discord.svg")
+ a.menuitem(href="https://github.com/yagu0/vchess")
+ span {{ st.tr["Code"] }}
+ img(src="/images/icons/github.svg")
+ p.clickable(onClick="window.doClick('modalContact')")
| {{ st.tr["Contact"] }}