Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
Website
Commits
c6cd3aad
Commit
c6cd3aad
authored
11 months ago
by
Remi PLANEL
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev'
parents
3fe60313
14fe3564
No related branches found
No related tags found
No related merge requests found
Pipeline
#133753
passed
10 months ago
Stage: delete-release
Stage: build
Stage: deploy
Changes
3
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
frontend/components/Footer.vue
+15
-0
15 additions, 0 deletions
frontend/components/Footer.vue
frontend/components/Main.vue
+4
-1
4 additions, 1 deletion
frontend/components/Main.vue
frontend/nuxt.config.ts
+2
-1
2 additions, 1 deletion
frontend/nuxt.config.ts
with
21 additions
and
2 deletions
frontend/components/Footer.vue
0 → 100644
+
15
−
0
View file @
c6cd3aad
<
script
setup
lang=
"ts"
>
const
runtimeConfig
=
useRuntimeConfig
();
const
tagUrl
=
computed
(()
=>
{
return
`https://gitlab.pasteur.fr/mdm-lab/website/-/releases/v
${
runtimeConfig
.
public
.
version
}
`
})
</
script
>
<
template
>
<v-footer
absolute=
"true"
text-center
d-flex
flex-column
>
<div
class=
"px-4 text-center w-100"
>
<v-btn
size=
"small"
prepend-icon=
"mdi-tag"
variant=
"plain"
:href=
"tagUrl"
target=
"_blank"
>
v
{{
runtimeConfig
.
public
.
version
}}
</v-btn>
</div>
</v-footer>
</
template
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
frontend/components/Main.vue
+
4
−
1
View file @
c6cd3aad
<
script
lang=
"ts"
setup
>
import
{
useDisplay
}
from
'
vuetify
'
import
{
useRuntimeConfig
}
from
'
nuxt/app
'
;
const
{
smAndDown
,
width
}
=
useDisplay
()
export
interface
Props
{
fluid
?:
boolean
...
...
@@ -16,6 +16,7 @@ const computedMinWidth = computed(() => {
if
(
toValue
(
width
)
-
300
>
toValue
(
minWidth
))
return
toValue
(
minWidth
)
return
undefined
})
const
runtimeConfig
=
useRuntimeConfig
()
const
scrollThreshold
=
ref
(
200
)
...
...
@@ -47,6 +48,8 @@ function onScroll() {
</v-row>
</v-container>
</v-main>
<Footer>
</Footer>
</VApp>
</v-card>
</
template
>
This diff is collapsed.
Click to expand it.
frontend/nuxt.config.ts
+
2
−
1
View file @
c6cd3aad
// https://nuxt.com/docs/api/configuration/nuxt-config
import
{
md3
}
from
'
vuetify/blueprints
'
import
pkg
from
'
./package.json
'
export
default
defineNuxtConfig
({
ssr
:
true
,
...
...
@@ -15,6 +15,7 @@ export default defineNuxtConfig({
public
:
{
wikiUrl
:
'
/wiki
'
,
dfApiPrefix
:
"
/dfapi
"
,
version
:
pkg
.
version
}
},
modules
:
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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