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 {
top: 0;
z-index: 1200;
height: 100%;
padding: 1.1rem 0.5rem;
overflow-y: scroll;
scrollbar-color: #6969dd #e0e0e0;
scrollbar-width: thin;
padding: 1.1rem 0.5rem 0;
transition: left 0.5s ease-in-out;
left: -400px;
......
<template>
<aside class="menu shadow position-fixed">
<div class="nav_header pb-3">
<aside class="menu shadow-sm position-fixed d-flex flex-column">
<div class="pb-3">
<nuxt-link :to="localePath('/')" class="d-flex">
<img :src="$icon(512)" alt="Accueil" class="logo" />
<div>
<h1 class="h3">
Wotwizard
<small
><span class="small">v{{ $config.clientVersion }}</span></small
>
</h1>
<h1 class="h3">Wotwizard</h1>
<small class="text-muted">{{ $t("slogan") }}</small>
</div>
</nuxt-link>
......@@ -31,13 +26,18 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
<nav class="pt-4 rounded">
<nav class="pt-4 rounded flex-grow-1">
<NavigationMenuGroup
v-for="menu in menus"
:key="menu.title"
:menu="menu"
@toggleMenu="toggleMenu" />
</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>
</template>
......@@ -67,6 +67,10 @@ export default {
<style lang="scss" scoped>
nav {
overflow-x: hidden;
overflow-y: auto;
scrollbar-color: #6969dd #e0e0e0;
scrollbar-width: thin;
background: var(--background-color-secondary);
}
</style>
......@@ -36,8 +36,7 @@ export default {
title: "infos",
items: [
{ path: "/lexique", title: "lexique" },
{ path: "/parametres", title: "params.title" },
{ path: "/a-propos", title: "apropos.title" }
{ path: "/parametres", title: "params.title" }
]
}
]
......
{
"name": "wotwizard-ui",
"version": "0.22.0",
"version": "0.23.0",
"private": true,
"scripts": {
"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