Skip to content
Snippets Groups Projects
Commit a29fff3b authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add sha to footer

parent ca2df455
No related branches found
No related tags found
No related merge requests found
Pipeline #127566 waiting for manual action with stages
in 8 minutes and 24 seconds
...@@ -67,10 +67,11 @@ ARG BASE_URL=/ ...@@ -67,10 +67,11 @@ ARG BASE_URL=/
ARG MEILI_HOST=http://localhost:7700 ARG MEILI_HOST=http://localhost:7700
ARG MEILI_API_KEY ARG MEILI_API_KEY
ARG HOST_URL ARG HOST_URL
ARG SHORT_SHA
ENV NODE_OPTIONS=--max_old_space_size=12288 ENV NODE_OPTIONS=--max_old_space_size=12288
ENV NUXT_APP_BASE_URL=${BASE_URL} ENV NUXT_APP_BASE_URL=${BASE_URL}
ENV NUXT_PUBLIC_SHORT_SHA=${SHORT_SHA}
# nuxt module # nuxt module
ENV NUXT_PUBLIC_MEILISEARCH_CLIENT_HOST_URL=${MEILI_HOST} ENV NUXT_PUBLIC_MEILISEARCH_CLIENT_HOST_URL=${MEILI_HOST}
ENV NUXT_PUBLIC_MEILISEARCH_CLIENT_SEARCH_API_KEY=${MEILI_API_KEY} ENV NUXT_PUBLIC_MEILISEARCH_CLIENT_SEARCH_API_KEY=${MEILI_API_KEY}
......
<script setup lang="ts">
const runtimeConfig = useRuntimeConfig();
</script>
<template> <template>
<v-footer app text-center d-flex flex-column> <v-footer app text-center d-flex flex-column>
test
<div class="px-4 text-center w-100"> <div class="px-4 text-center w-100">
<span><a href="https://mdmlab.fr/" target="_blank"><v-img src="/cropped-logoblue-288x129.png" inline :width="70" <span> {{ runtimeConfig.public.shortSha }}
:aspect-ratio="288 / 129"></v-img></a></span> </span>
</div> </div>
</v-footer> </v-footer>
</template> </template>
\ No newline at end of file
...@@ -21,7 +21,6 @@ const props = withDefaults(defineProps<Props>(), { ...@@ -21,7 +21,6 @@ const props = withDefaults(defineProps<Props>(), {
density: undefined density: undefined
}); });
const drawer = ref(true); const drawer = ref(true);
const { page } = useContent(); const { page } = useContent();
const scrollThreshold = ref(200) const scrollThreshold = ref(200)
const density = ref<'compact' | 'prominent'>("prominent") const density = ref<'compact' | 'prominent'>("prominent")
...@@ -54,7 +53,8 @@ function onScroll() { ...@@ -54,7 +53,8 @@ function onScroll() {
<v-container v-scroll="onScroll" :fluid="fluid"> <v-container v-scroll="onScroll" :fluid="fluid">
<v-row justify="center"> <v-row justify="center">
<v-col cols="auto" class="pa-0"> <v-col cols="auto" class="pa-0">
<v-card flat color="transparent" :min-width="mobile ? undefined : 900" :max-width="fluid ? undefined : 1280"> <v-card flat color="transparent" :min-width="mobile ? undefined : 900"
:max-width="fluid ? undefined : 1280">
<v-card-text class="pa-0"> <v-card-text class="pa-0">
<slot /> <slot />
</v-card-text> </v-card-text>
...@@ -64,7 +64,8 @@ function onScroll() { ...@@ -64,7 +64,8 @@ function onScroll() {
</v-col> </v-col>
</v-row> </v-row>
</v-container> </v-container>
<!-- <Footer></Footer> --> <Footer>
</Footer>
<!-- <div class="i-ph-anchor-simple-thin d-none" /> <!-- <div class="i-ph-anchor-simple-thin d-none" />
<div class="i-tabler:database d-none" /> <div class="i-tabler:database d-none" />
<div class="i-mdi:book-education-outline d-none" /> <div class="i-mdi:book-education-outline d-none" />
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment