mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Try to implement the logo on maintenance page, uncommented and hints
This commit is contained in:
parent
edcde1f08d
commit
0ec33fe3a3
@ -60,6 +60,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- external-net
|
- 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:
|
volumes:
|
||||||
webapp_node_modules:
|
webapp_node_modules:
|
||||||
backend_node_modules:
|
backend_node_modules:
|
||||||
|
|||||||
@ -57,8 +57,10 @@ COPY package.json yarn.lock ./
|
|||||||
RUN yarn install --production=false --frozen-lockfile --non-interactive
|
RUN yarn install --production=false --frozen-lockfile --non-interactive
|
||||||
|
|
||||||
COPY assets assets
|
COPY assets assets
|
||||||
|
# COPY components/_new/generic/ components/_new/generic
|
||||||
COPY components/LocaleSwitch/ components/LocaleSwitch
|
COPY components/LocaleSwitch/ components/LocaleSwitch
|
||||||
COPY components/Dropdown.vue components/Dropdown.vue
|
COPY components/Dropdown.vue components/Dropdown.vue
|
||||||
|
# COPY components/Logo/ components/Logo
|
||||||
COPY layouts/blank.vue layouts/blank.vue
|
COPY layouts/blank.vue layouts/blank.vue
|
||||||
COPY locales locales
|
COPY locales locales
|
||||||
COPY mixins mixins
|
COPY mixins mixins
|
||||||
|
|||||||
@ -71,7 +71,7 @@ export default {
|
|||||||
maintenance: {
|
maintenance: {
|
||||||
path: logos.LOGO_MAINTENACE_RESET_PATH,
|
path: logos.LOGO_MAINTENACE_RESET_PATH,
|
||||||
alt: 'Under Maintenance',
|
alt: 'Under Maintenance',
|
||||||
widthDefault: '75%',
|
widthDefault: '200px',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -11,13 +11,14 @@
|
|||||||
<!-- this link works only for external pages -->
|
<!-- 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? -->
|
<!-- 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 -->
|
<!-- 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
|
<!-- <a
|
||||||
:href="emails.ORGANIZATION_LINK"
|
:href="emails.ORGANIZATION_LINK"
|
||||||
:title="$t('login.moreInfo', metadata)"
|
:title="$t('login.moreInfo', metadata)"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
> -->
|
> -->
|
||||||
<img class="image" alt="Under maintenance" src="/img/custom/logo-squared.svg" />
|
<img class="image" alt="Under maintenance" src="/img/custom/logo-squared.svg" />
|
||||||
|
<!-- <logo type="maintenance" /> -->
|
||||||
<!-- </a> -->
|
<!-- </a> -->
|
||||||
</ds-space>
|
</ds-space>
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
@ -46,11 +47,13 @@ import emails from '~/constants/emails.js'
|
|||||||
// import links from '~/constants/links.js'
|
// import links from '~/constants/links.js'
|
||||||
import metadata from '~/constants/metadata.js'
|
import metadata from '~/constants/metadata.js'
|
||||||
import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
|
import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
|
||||||
|
// import Logo from '~/components/Logo/Logo'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
layout: 'blank',
|
layout: 'blank',
|
||||||
components: {
|
components: {
|
||||||
LocaleSwitch,
|
LocaleSwitch,
|
||||||
|
// Logo,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
// return { links, metadata, supportEmail: emails.SUPPORT_EMAIL }
|
// return { links, metadata, supportEmail: emails.SUPPORT_EMAIL }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user