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

v0.10 tag

parent 52675483
No related branches found
Tags v0.10
No related merge requests found
<template>
<aside class="menu shadow position-fixed">
<div class="nav_header pb-3 mb-4">
<div class="nav_header pb-3">
<nuxt-link :to="localePath('/')" class="d-flex">
<img :src="$icon(512)" alt="Accueil" class="logo" />
<div>
<h1 class="h2">Wotwizard</h1>
<h1 class="h3">
Wotwizard <small><span class="small">v0.10</span></small>
</h1>
<small class="text-muted">{{ $t("slogan") }}</small>
</div>
</nuxt-link>
<div
class="d-flex text-info justify-content-between align-items-baseline mt-3 mx-2">
<div class="">v0.09</div>
<div class="text-info small mt-2">API graphQL v{{ version }}</div>
<div class="text-info">
<div class="small" v-if="countMax">
{{ $t("bloc.title") }}<span class="font-weight-bold">{{
countMax.number
......@@ -39,6 +41,7 @@
<script>
import { LAST_BLOCK } from "@/graphql/queries.js"
import { VERSION } from "@/graphql/queries.js"
export default {
props: {
......@@ -51,10 +54,10 @@ export default {
},
apollo: {
countMax: {
query: LAST_BLOCK,
error(err) {
this.error = err.message
}
query: LAST_BLOCK
},
version: {
query: VERSION
}
}
}
......
import gql from "graphql-tag"
export const VERSION = gql`
query Version {
version
}
`
// Pour la sidebar
export const LAST_BLOCK = gql`
query LastBlock {
......
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