File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -42,3 +42,6 @@ yarn migrate 0.5.1
42
42
43
43
- VITE_APP_SERVER_DOWNTIME_MESSAGE
44
44
- A custom error message displayed when the backend server can't be reached.
45
+
46
+ - VITE_APP_FOOTER_BANNER_TEXT
47
+ - A custom message to show in an information banner on the DANDI homepage. The banner does not render if this isn't set.
Original file line number Diff line number Diff line change 1
1
<template >
2
- <v-banner color =" grey darken-1 text-center" >
2
+ <v-banner color =" grey darken-1 text-center" v-if = " bannerText " >
3
3
<v-icon >
4
4
mdi-information
5
5
</v-icon >
6
6
<span >
7
- This repository is under review by NIH for potential modification
8
- in compliance with U.S. federal Administration directives.
7
+ {{ bannerText }}
9
8
</span >
10
9
</v-banner >
11
10
</template >
11
+
12
+ <script setup lang="ts">
13
+ import { computed } from ' vue' ;
14
+
15
+ const bannerText = computed (() => import .meta .env .VITE_APP_FOOTER_BANNER_TEXT );
16
+ </script >
You can’t perform that action at this time.
0 commit comments