X-Git-Url: https://git.auder.net/variants/Checkered/complete_rules.html?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=67dc225b0194a4f6f4afa358e0e6d5c24d400868;hb=85ba3fe59c2e3033873512c7d04dc87857065928;hp=0aad59be9f8ba9695da57fd3ab6ad9a157174f01;hpb=cf2343cee5729c011770ace6d5b4f79d1ac3a2b6;p=vchess.git
diff --git a/client/src/App.vue b/client/src/App.vue
index 0aad59be..67dc225b 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -1,6 +1,5 @@
#app
- Language
Settings
ContactForm
UpsertUser
@@ -8,79 +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, problems
- // Right: usermenu, settings, flag
+ // Left: hall, variants, problems, mygames
+ // Right: usermenu, settings
nav
label.drawer-toggle(for="drawerControl")
input#drawerControl.drawer(type="checkbox")
- #menuBar
+ #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 ? "Login" : "Update" }}
- .clickable(onClick="doClick('modalSettings')")
- | {{ st.tr["Settings"] }}
- .clickable#flagContainer(onClick="doClick('modalLang')")
- img(v-if="!!st.lang"
- :src="require(`@/assets/images/flags/${st.lang}.svg`)")
+ .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
- a(href="https://github.com/yagu0/vchess") {{ st.tr["Source code"] }}
- p.clickable(onClick="doClick('modalContact')")
- | {{ st.tr["Contact form"] }}
- //my-game(:game-ref="gameRef" :mode="mode" :settings="settings" @game-over="archiveGame")
- //// TODO: add only the necessary icons to mini-css custom build
- //script(src="//unpkg.com/feather-icons")
+ .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"] }}
+ router-link.menuitem(to="/faq") F.A.Q.
+ p.menuitem.clickable(onClick="window.doClick('modalContact')")
+ | {{ st.tr["Contact"] }}
+ .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")