mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Get maintenance page to work
This commit is contained in:
parent
41252785d2
commit
edcde1f08d
@ -8,22 +8,17 @@
|
|||||||
<ds-flex>
|
<ds-flex>
|
||||||
<ds-flex-item :width="{ base: '100%', sm: 1, md: 1 }">
|
<ds-flex-item :width="{ base: '100%', sm: 1, md: 1 }">
|
||||||
<ds-space>
|
<ds-space>
|
||||||
<!-- Wolle -->
|
<!-- this link works only for external pages -->
|
||||||
<a
|
<!-- QUESTION: could we have internal page or even all internal pages here as well with PageParamsLink by having the footer underneath? -->
|
||||||
v-if="!links.ORGANIZATION.isInternalPage"
|
<!-- 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 -->
|
||||||
:href="links.ORGANIZATION.link"
|
<!-- BUT: not even the a-tag is working at the moment -->
|
||||||
|
<!-- <a
|
||||||
|
: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" />
|
||||||
</a>
|
<!-- </a> -->
|
||||||
<img
|
|
||||||
v-else
|
|
||||||
class="image"
|
|
||||||
alt="Under maintenance"
|
|
||||||
src="/img/custom/logo-squared.svg"
|
|
||||||
:title="$t('login.moreInfo', metadata)"
|
|
||||||
/>
|
|
||||||
</ds-space>
|
</ds-space>
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
<ds-flex-item :width="{ base: '100%', sm: 1, md: 1 }">
|
<ds-flex-item :width="{ base: '100%', sm: 1, md: 1 }">
|
||||||
@ -48,7 +43,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import emails from '~/constants/emails.js'
|
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'
|
||||||
|
|
||||||
@ -58,7 +53,8 @@ export default {
|
|||||||
LocaleSwitch,
|
LocaleSwitch,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return { links, metadata, supportEmail: emails.SUPPORT_EMAIL }
|
// return { links, metadata, supportEmail: emails.SUPPORT_EMAIL }
|
||||||
|
return { metadata, supportEmail: emails.SUPPORT_EMAIL }
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user