X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=6a08a80fb3c3fc419a19d3b70c0563e2fe32a169;hb=a0224b03c91dd83a6e133378b85591a1a64e427b;hp=f4f0cf7c6ae5aabb59c15545b1a31d4cd8712488;hpb=9ddaf8da8743c50b9019888a82d84392913c60c9;p=vchess.git
diff --git a/client/src/App.vue b/client/src/App.vue
index f4f0cf7c..6a08a80f 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -1,116 +1,118 @@
#app
- Language
Settings
ContactForm
UpsertUser
- Welcome
.container
.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")
+ img.first(src="/images/icons/discord.svg")
+ a.menuitem(href="https://github.com/yagu0/vchess")
+ 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")