diff --git a/components/Footer.vue b/components/Footer.vue index d50be4a5929a17cf856418e4a930092928af3e2e..3d9105e8a9e4eb139b5cc0d2244cb426260397b2 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -1,10 +1,13 @@ <script setup lang="ts"> const runtimeConfig = useRuntimeConfig(); +const commitUrl = computed(() => { + return `https://gitlab.pasteur.fr/mdm-lab/wiki/-/tree/${runtimeConfig.public.shortSha}` +}) </script> <template> <v-footer absolute="true" text-center d-flex flex-column> <div class="px-4 text-center w-100"> - <v-btn prepend-icon="mdi-source-commit" variant="plain"> + <v-btn size="small" prepend-icon="mdi-source-commit" variant="plain" :href="commitUrl" target="_blank"> {{ runtimeConfig.public.shortSha }} </v-btn>