This commit is contained in:
ogerly 2022-10-27 08:50:37 +02:00
parent 1dfdc61220
commit bad97a2fca
3 changed files with 8 additions and 4 deletions

View File

@ -6,10 +6,14 @@
>
<slot />
</nuxt-link>
<a v-else :href="pageParams.externalLink" :target="pageParams.internalPage.target" :data-test="pageParams.name + '-link'">
<a
v-else
:href="pageParams.externalLink"
:target="pageParams.internalPage.target"
:data-test="pageParams.name + '-link'"
>
<slot />
</a>
</template>
<script>

View File

@ -7,7 +7,7 @@ export default {
{
nameIdent: 'nameIdent',
url: 'https://ocelot.social',
target: '_blank'
target: '_blank',
},
],
}

View File

@ -19,7 +19,7 @@ const ORGANIZATION = defaultPageParamsPages.ORGANIZATION.overwrite({
const DONATE = defaultPageParamsPages.DONATE.overwrite({
// we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly
externalLink: 'https://ocelot-social.herokuapp.com/donations', // if string is defined and not empty it's dominating
internalPage: {
target: '_blank',
// footerIdent: 'site.donate', // localized string identifier, if undefined default is used