mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 00:10:14 +01:00
refactor(landing): license variables, 3-rd party imports
This commit is contained in:
parent
351de1388e
commit
baa60a004c
2 changed files with 21 additions and 19 deletions
|
|
@ -14,7 +14,9 @@ import { Component} from '@angular/core';
|
|||
|
||||
export class BackendBundlesSectionComponent {
|
||||
|
||||
licenseType = 'Personal';
|
||||
selectedLicenseType = 'Personal';
|
||||
personalLicense = 'Personal';
|
||||
commercialLicense = 'Commercial';
|
||||
|
||||
firstBundleName = '.NET + ngx-admin E-commerce';
|
||||
secondBundleName = '.NET + ngx-admin IoT';
|
||||
|
|
@ -50,14 +52,14 @@ export class BackendBundlesSectionComponent {
|
|||
}
|
||||
|
||||
isCommercial() {
|
||||
return this.licenseType === 'Commercial';
|
||||
return this.selectedLicenseType === 'Commercial';
|
||||
}
|
||||
|
||||
private getMailToText(bundleName: string) {
|
||||
return 'mailto:support@akveo.com' +
|
||||
`?subject=${this.licenseType} ${bundleName} Bundle` +
|
||||
`?subject=${this.selectedLicenseType} ${bundleName} Bundle` +
|
||||
'&body=Dear Akveo, %0D%0A%0D%0A' +
|
||||
`I would like to purchase ${this.licenseType} ${bundleName} Bundle. ` +
|
||||
`I would like to purchase ${this.selectedLicenseType} ${bundleName} Bundle. ` +
|
||||
'Please give me details how I can proceed with that. %0D%0A%0D%0A' +
|
||||
'Thanks and regards';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue