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