Try to implement the logo on maintenance page, uncommented and hints

This commit is contained in:
Wolfgang Huß 2021-08-09 11:53:45 +02:00
parent edcde1f08d
commit 0ec33fe3a3
4 changed files with 12 additions and 2 deletions

View File

@ -60,6 +60,11 @@ services:
networks:
- external-net
# the following network from the main YAML gives the warning `WARNING: Some networks were defined but are not used by any service: internal-net` and should be removed
# but removing is not possible yet, it seems: https://github.com/docker/compose/issues/3729#issuecomment-623154878
# networks:
# internal-net:
volumes:
webapp_node_modules:
backend_node_modules:

View File

@ -57,8 +57,10 @@ COPY package.json yarn.lock ./
RUN yarn install --production=false --frozen-lockfile --non-interactive
COPY assets assets
# COPY components/_new/generic/ components/_new/generic
COPY components/LocaleSwitch/ components/LocaleSwitch
COPY components/Dropdown.vue components/Dropdown.vue
# COPY components/Logo/ components/Logo
COPY layouts/blank.vue layouts/blank.vue
COPY locales locales
COPY mixins mixins

View File

@ -71,7 +71,7 @@ export default {
maintenance: {
path: logos.LOGO_MAINTENACE_RESET_PATH,
alt: 'Under Maintenance',
widthDefault: '75%',
widthDefault: '200px',
},
}
return {

View File

@ -11,13 +11,14 @@
<!-- this link works only for external pages -->
<!-- QUESTION: could we have internal page or even all internal pages here as well with PageParamsLink by having the footer underneath? -->
<!-- I tried this out, but only could get the nginx page displayed. I guees the there were nuxt errors, because the nuxt config file 'webapp/maintenance/source/nuxt.config.maintenance.js' would have to be refactored for that as well -->
<!-- BUT: not even the a-tag is working at the moment -->
<!-- BUT: not the logo and not even the a-tag is working at the moment -->
<!-- <a
:href="emails.ORGANIZATION_LINK"
:title="$t('login.moreInfo', metadata)"
target="_blank"
> -->
<img class="image" alt="Under maintenance" src="/img/custom/logo-squared.svg" />
<!-- <logo type="maintenance" /> -->
<!-- </a> -->
</ds-space>
</ds-flex-item>
@ -46,11 +47,13 @@ import emails from '~/constants/emails.js'
// import links from '~/constants/links.js'
import metadata from '~/constants/metadata.js'
import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
// import Logo from '~/components/Logo/Logo'
export default {
layout: 'blank',
components: {
LocaleSwitch,
// Logo,
},
data() {
// return { links, metadata, supportEmail: emails.SUPPORT_EMAIL }