Skip to content

Commit

Permalink
add verison tag
Browse files Browse the repository at this point in the history
  • Loading branch information
F-Node-Karlsruhe committed Dec 6, 2022
1 parent adf47a2 commit 7ecc81c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/layouts/DefaultLayout.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div class="d-flex justify-content-center h-100 m-1">
<router-view />
<div class="versiontag text-light m-1">Version {{this.$store.state.version}}</div>
</div>
</template>
<script>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { createStore } from 'vuex'

export default createStore({
state: {
version: '0.2.4',
credentials: [],
VC_REGISTRY: process.env.VC_REGISTRY || 'https://ssi.eecc.de/api/registry/vcs/',
showQRModal: false
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ body {

html, body {margin: 0; height: 100%; overflow: hidden}

.versiontag {
position: absolute;
bottom: 0;
right: 0;
font-size: 0.5rem;
}

#backbutton {
position: absolute;
Expand Down

0 comments on commit 7ecc81c

Please sign in to comment.