Remove explicit support link property
Change support link to dynamic href using base url environment variable Resolves MS-730 #complete
This commit is contained in:
parent
2c8d7c4cc9
commit
fcc38047b1
|
|
@ -83,7 +83,7 @@
|
|||
v-if="isSidebar"
|
||||
>
|
||||
<a
|
||||
:href="$flavor.supportLink"
|
||||
:href="`https://${$flavor.baseUrl}/support`"
|
||||
target="_blank"
|
||||
class="content-navigation__link content-navigation__link--secondary"
|
||||
@click="close"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ import type { FlavorValues } from '@/helpers/types';
|
|||
export const defaultFlavorValues: FlavorValues = {
|
||||
appFlavor: 'skillbox',
|
||||
appLogo: '/static/logo.png',
|
||||
supportLink: 'https://myskillbox.ch/support',
|
||||
baseUrl: 'myskillbox.ch',
|
||||
|
||||
// mySkillbox texts
|
||||
|
|
@ -28,7 +27,6 @@ export const defaultFlavorValues: FlavorValues = {
|
|||
export const myKvValues: FlavorValues = {
|
||||
appFlavor: 'my-kv',
|
||||
appLogo: 'https://skillbox-my-kv-prod.s3-eu-west-1.amazonaws.com/mykv-logo.png',
|
||||
supportLink: 'https://www.mykv.ch/support',
|
||||
baseUrl: 'mykv.ch',
|
||||
|
||||
// myKV texts
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
export interface FlavorValues {
|
||||
appFlavor: string;
|
||||
appLogo: string;
|
||||
supportLink: string;
|
||||
baseUrl: string;
|
||||
textAppName: string;
|
||||
textTopic: string;
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
<a :href="`https://${$flavor.baseUrl}/angebot`">Lizenz kaufen</a>
|
||||
</li>
|
||||
<li class="links__list-item">
|
||||
<a :href="$flavor.supportLink">Support</a>
|
||||
<a :href="`https://${$flavor.baseUrl}/support`">Support</a>
|
||||
</li>
|
||||
<li class="links__list-item">
|
||||
<a :href="`https://${$flavor.baseUrl}/datenschutz`">Datenschutz</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue