Switch import to make it stubbable for footer
This commit is contained in:
parent
a856755d96
commit
7643b687f3
|
|
@ -3,7 +3,6 @@
|
|||
class="default-footer"
|
||||
data-cy="page-footer"
|
||||
>
|
||||
<pre>{{ flavor }}</pre>
|
||||
<div class="default-footer__section">
|
||||
<div class="default-footer__links">
|
||||
<a
|
||||
|
|
@ -19,13 +18,13 @@
|
|||
>Impressum</a
|
||||
>
|
||||
<a
|
||||
href="https://myskillbox.ch/agb"
|
||||
:href="`https://${flavor.baseUrl}/agb`"
|
||||
target="_blank"
|
||||
class="default-footer__link"
|
||||
>AGB</a
|
||||
>
|
||||
<a
|
||||
:href="flavor.supportLink"
|
||||
:href="`https://${flavor.baseUrl}/support`"
|
||||
target="_blank"
|
||||
class="default-footer__link"
|
||||
>Support</a
|
||||
|
|
@ -44,7 +43,8 @@
|
|||
<script setup lang="ts">
|
||||
import { defineAsyncComponent } from 'vue';
|
||||
|
||||
import flavor from '@/helpers/app-flavor';
|
||||
import { Flavor } from '@/helpers/flavor.stubabble';
|
||||
const flavor = Flavor.getFlavor();
|
||||
const HepLogo = defineAsyncComponent(() => import('@/components/icons/HepLogo.vue'));
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue