mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
- Implement emails.js in backend as well. - Move backend links.js into emails.js, because code is not a duplicate of webapp anymore.
24 lines
460 B
Vue
24 lines
460 B
Vue
<template>
|
|
<internal-page :pageParams="links.DONATE" />
|
|
</template>
|
|
|
|
<script>
|
|
import links from '~/constants/links.js'
|
|
import InternalPage from '~/components/_new/features/InternalPage/InternalPage.vue'
|
|
|
|
export default {
|
|
layout: 'basic',
|
|
components: {
|
|
InternalPage,
|
|
},
|
|
data() {
|
|
return { links }
|
|
},
|
|
created() {
|
|
if (!this.links.DONATE.isInternalPage) {
|
|
window.location.href = this.links.DONATE.externalLink
|
|
}
|
|
},
|
|
}
|
|
</script>
|