diff --git a/client/src/helpers/app-flavor.constants.ts b/client/src/helpers/app-flavor.constants.ts index 55a0f020..d0990b80 100644 --- a/client/src/helpers/app-flavor.constants.ts +++ b/client/src/helpers/app-flavor.constants.ts @@ -20,7 +20,7 @@ export const defaultFlavorValues: FlavorValues = { showInstrumentFilterSidebar: true, showPortfolio: true, showEHB: true, - helloIllustration: () => import('@/components/illustrations/HelloIllustration.vue'), + helloIllustration: 'HelloIllustration', }; export const myKvValues: FlavorValues = { @@ -43,18 +43,18 @@ export const myKvValues: FlavorValues = { showInstrumentFilterSidebar: true, showPortfolio: true, showEHB: false, - helloIllustration: () => import('@/components/illustrations/HelloMyKVIllustration.vue'), + helloIllustration: 'HelloMyKvIllustration', }; export const dhfValues: FlavorValues = Object.assign({}, myKvValues, { appFlavor: 'my-dhf', appLogo: 'https://skillbox-my-detailhandel-dhf-prod.s3.eu-central-1.amazonaws.com/myDHF-logo.png', textAppName: 'myDHF', - helloIllustration: () => import('@/components/illustrations/HelloMyDHFIllustration.vue'), + helloIllustration: 'HelloMyDHFIllustration', }); export const dhaValues: FlavorValues = Object.assign({}, myKvValues, { appFlavor: 'my-dha', appLogo: 'https://skillbox-my-detailhandel-dha-prod.s3.eu-central-1.amazonaws.com/myDHA-logo.png', textAppName: 'myDHA', - helloIllustration: () => import('@/components/illustrations/HelloMyDHAIllustration.vue'), + helloIllustration: 'HelloMyDHAIllustration', }); diff --git a/client/src/helpers/types.ts b/client/src/helpers/types.ts index f3f7ff51..494c4aa8 100644 --- a/client/src/helpers/types.ts +++ b/client/src/helpers/types.ts @@ -14,5 +14,5 @@ export interface FlavorValues { showInstrumentFilterSidebar: boolean; showPortfolio: boolean; showEHB: boolean; - helloIllustration: () => Promise; + helloIllustration: string; } diff --git a/client/src/layouts/SplitLayout.vue b/client/src/layouts/SplitLayout.vue index ba2040e7..afd05886 100644 --- a/client/src/layouts/SplitLayout.vue +++ b/client/src/layouts/SplitLayout.vue @@ -9,32 +9,46 @@ -