Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
a29fff3b
Commit
a29fff3b
authored
11 months ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
components/Footer.vue
+7
-2
7 additions, 2 deletions
components/Footer.vue
components/LayoutWrapper.vue
+4
-3
4 additions, 3 deletions
components/LayoutWrapper.vue
with
13 additions
and
6 deletions
Dockerfile
+
2
−
1
View file @
a29fff3b
...
...
@@ -67,10 +67,11 @@ ARG BASE_URL=/
ARG
MEILI_HOST=http://localhost:7700
ARG
MEILI_API_KEY
ARG
HOST_URL
ARG
SHORT_SHA
ENV
NODE_OPTIONS=--max_old_space_size=12288
ENV
NUXT_APP_BASE_URL=${BASE_URL}
ENV
NUXT_PUBLIC_SHORT_SHA=${SHORT_SHA}
# nuxt module
ENV
NUXT_PUBLIC_MEILISEARCH_CLIENT_HOST_URL=${MEILI_HOST}
ENV
NUXT_PUBLIC_MEILISEARCH_CLIENT_SEARCH_API_KEY=${MEILI_API_KEY}
...
...
This diff is collapsed.
Click to expand it.
components/Footer.vue
+
7
−
2
View file @
a29fff3b
<
script
setup
lang=
"ts"
>
const
runtimeConfig
=
useRuntimeConfig
();
</
script
>
<
template
>
<v-footer
app
text-center
d-flex
flex-column
>
test
<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"
:aspect-ratio=
"288 / 129"
></v-img></a>
</span>
<span>
{{
runtimeConfig
.
public
.
shortSha
}}
</span>
</div>
</v-footer>
</
template
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
components/LayoutWrapper.vue
+
4
−
3
View file @
a29fff3b
...
...
@@ -21,7 +21,6 @@ const props = withDefaults(defineProps<Props>(), {
density
:
undefined
});
const
drawer
=
ref
(
true
);
const
{
page
}
=
useContent
();
const
scrollThreshold
=
ref
(
200
)
const
density
=
ref
<
'
compact
'
|
'
prominent
'
>
(
"
prominent
"
)
...
...
@@ -54,7 +53,8 @@ function onScroll() {
<v-container
v-scroll=
"onScroll"
:fluid=
"fluid"
>
<v-row
justify=
"center"
>
<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"
>
<slot
/>
</v-card-text>
...
...
@@ -64,7 +64,8 @@ function onScroll() {
</v-col>
</v-row>
</v-container>
<!--
<Footer></Footer>
-->
<Footer>
</Footer>
<!--
<div
class=
"i-ph-anchor-simple-thin d-none"
/>
<div
class=
"i-tabler:database d-none"
/>
<div
class=
"i-mdi:book-education-outline d-none"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment