Skip to content
Snippets Groups Projects
Commit eedbb1a4 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

move the version number at the bottom of the menu

parent f3927243
No related branches found
No related tags found
No related merge requests found
...@@ -143,10 +143,7 @@ nav.breadcrumb-wrapper { ...@@ -143,10 +143,7 @@ nav.breadcrumb-wrapper {
top: 0; top: 0;
z-index: 1200; z-index: 1200;
height: 100%; height: 100%;
padding: 1.1rem 0.5rem; padding: 1.1rem 0.5rem 0;
overflow-y: scroll;
scrollbar-color: #6969dd #e0e0e0;
scrollbar-width: thin;
transition: left 0.5s ease-in-out; transition: left 0.5s ease-in-out;
left: -400px; left: -400px;
......
<template> <template>
<aside class="menu shadow position-fixed"> <aside class="menu shadow-sm position-fixed d-flex flex-column">
<div class="nav_header pb-3"> <div class="pb-3">
<nuxt-link :to="localePath('/')" class="d-flex"> <nuxt-link :to="localePath('/')" class="d-flex">
<img :src="$icon(512)" alt="Accueil" class="logo" /> <img :src="$icon(512)" alt="Accueil" class="logo" />
<div> <div>
<h1 class="h3"> <h1 class="h3">Wotwizard</h1>
Wotwizard
<small
><span class="small">v{{ $config.clientVersion }}</span></small
>
</h1>
<small class="text-muted">{{ $t("slogan") }}</small> <small class="text-muted">{{ $t("slogan") }}</small>
</div> </div>
</nuxt-link> </nuxt-link>
...@@ -31,13 +26,18 @@ ...@@ -31,13 +26,18 @@
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
</div> </div>
<nav class="pt-4 rounded"> <nav class="pt-4 rounded flex-grow-1">
<NavigationMenuGroup <NavigationMenuGroup
v-for="menu in menus" v-for="menu in menus"
:key="menu.title" :key="menu.title"
:menu="menu" :menu="menu"
@toggleMenu="toggleMenu" /> @toggleMenu="toggleMenu" />
</nav> </nav>
<div class="font-weight-bold text-center" style="font-size: 75%">
<NuxtLink :to="localePath('a-propos')" class="d-block py-3 text-info"
>v{{ $config.clientVersion }} | {{ $t("apropos.title") }}</NuxtLink
>
</div>
</aside> </aside>
</template> </template>
...@@ -67,6 +67,10 @@ export default { ...@@ -67,6 +67,10 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
nav { nav {
overflow-x: hidden;
overflow-y: auto;
scrollbar-color: #6969dd #e0e0e0;
scrollbar-width: thin;
background: var(--background-color-secondary); background: var(--background-color-secondary);
} }
</style> </style>
...@@ -36,8 +36,7 @@ export default { ...@@ -36,8 +36,7 @@ export default {
title: "infos", title: "infos",
items: [ items: [
{ path: "/lexique", title: "lexique" }, { path: "/lexique", title: "lexique" },
{ path: "/parametres", title: "params.title" }, { path: "/parametres", title: "params.title" }
{ path: "/a-propos", title: "apropos.title" }
] ]
} }
] ]
......
{ {
"name": "wotwizard-ui", "name": "wotwizard-ui",
"version": "0.22.0", "version": "0.23.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment