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 /> <slot />
</nuxt-link> </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 /> <slot />
</a> </a>
</template> </template>
<script> <script>

View File

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

View File

@ -19,7 +19,7 @@ const ORGANIZATION = defaultPageParamsPages.ORGANIZATION.overwrite({
const DONATE = defaultPageParamsPages.DONATE.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 // 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 externalLink: 'https://ocelot-social.herokuapp.com/donations', // if string is defined and not empty it's dominating
internalPage: { internalPage: {
target: '_blank', target: '_blank',
// footerIdent: 'site.donate', // localized string identifier, if undefined default is used // footerIdent: 'site.donate', // localized string identifier, if undefined default is used