|
|
@ -109,8 +109,10 @@ |
|
|
|
</b-navbar-nav> |
|
|
|
</b-navbar> |
|
|
|
<Index |
|
|
|
v-if="configLoaded" |
|
|
|
:title="title" |
|
|
|
:description="description" |
|
|
|
:defaultCurrency="defaultCurrency" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -147,11 +149,19 @@ export default { |
|
|
|
LinkedinIcon, |
|
|
|
}, |
|
|
|
data: () => ({ |
|
|
|
configLoaded: false, |
|
|
|
theme: '', |
|
|
|
metaTitle: '', |
|
|
|
title: '', |
|
|
|
description: '', |
|
|
|
currency: '', |
|
|
|
defaultCurrency: '', |
|
|
|
acceptedCurrencies: [ |
|
|
|
{ value: 'usd', text: 'USD - United States Dollar' }, |
|
|
|
{ value: 'cad', text: 'CAD - Canadian Dollar' }, |
|
|
|
{ value: 'gbp', text: 'GBP - Pounds Sterling' }, |
|
|
|
{ value: 'aud', text: 'AUD - Australian Dollar' }, |
|
|
|
{ value: 'eur', text: 'EUR - Euro' }, |
|
|
|
], |
|
|
|
enableOneTime: true, |
|
|
|
enableMonthly: true, |
|
|
|
enableAnnual: true, |
|
|
@ -181,6 +191,7 @@ export default { |
|
|
|
// Passed to the Index component |
|
|
|
this.title = response.data.Title; |
|
|
|
this.description = response.data.Description; |
|
|
|
this.defaultCurrency = response.data.DefaultCurrency; |
|
|
|
// For this component |
|
|
|
this.metaTitle = response.data.MetaTitle; |
|
|
|
this.backLink = response.data.BackLink; |
|
|
@ -194,6 +205,7 @@ export default { |
|
|
|
this.linkedinLink = response.data.LinkedinLink; |
|
|
|
}).then(() => { |
|
|
|
document.title = this.metaTitle; |
|
|
|
this.configLoaded = true; |
|
|
|
}); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|