X-Git-Url: https://git.auder.net/pieces/Cwda/n_black_rook.svg?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=67dc225b0194a4f6f4afa358e0e6d5c24d400868;hb=7dd295eca32113398e4dd57eb0398a4f0531864d;hp=c47c6aaf7e8c73fbf9fe06a8ddf41db82b5946da;hpb=9936aac8e5dbf69f774ebb16abd1d17b455a37f3;p=vchess.git
diff --git a/client/src/App.vue b/client/src/App.vue
index c47c6aaf..67dc225b 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -1,6 +1,5 @@
#app
- Language
Settings
ContactForm
UpsertUser
@@ -8,104 +7,114 @@
.row
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
// Menu (top of page):
- // Left: hall, variants, mygames
- // Right: usermenu, settings, flag
+ // Left: hall, variants, problems, mygames
+ // Right: usermenu, settings
nav
label.drawer-toggle(for="drawerControl")
input#drawerControl.drawer(type="checkbox")
- #menuBar(@click="hideDrawer")
+ #menuBar(@click="hideDrawer($event)")
label.drawer-close(for="drawerControl")
#leftMenu
router-link(to="/")
| {{ st.tr["Hall"] }}
- router-link(to="/variants")
- | {{ st.tr["Variants"] }}
router-link(to="/mygames")
| {{ st.tr["My games"] }}
+ router-link(to="/variants")
+ | {{ st.tr["Variants"] }}
+ router-link(to="/problems")
+ | {{ st.tr["Problems"] }}
#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
+ .row
+ .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
+ footer
+ .left-part
router-link.menuitem(to="/about") {{ st.tr["About"] }}
- p.clickable(onClick="doClick('modalContact')")
+ router-link.menuitem(to="/faq") F.A.Q.
+ p.menuitem.clickable(onClick="window.doClick('modalContact')")
| {{ st.tr["Contact"] }}
- a.menuitem(href="https://forum.vchess.club")
- | {{ st.tr["Forum"] }}
+ .right-part
+ a.menuitem(href="https://discord.gg/a9ZFKBe")
+ span Discord
+ img.first(src="/images/icons/discord.svg")
+ a.menuitem(href="https://github.com/yagu0/vchess")
+ span {{ st.tr["Code"] }}
+ img(src="/images/icons/github.svg")
+ //a.menuitem(href="https://www.facebook.com/Variants-Chess-Club-112565840437886")
+ img(src="/images/icons/facebook.svg")
+ //a.menuitem(href="https://twitter.com/VchessC")
+ img(src="/images/icons/twitter.svg")