/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { NbDialogService } from '@nebular/theme'; import { NgdHubspotFormDialogComponent } from '../hubspot-form-dialog/hubspot-form-dialog.component'; @Component({ selector: 'ngd-for-business', template: `

Nebular for business

If you use Nebular for business, we'd like to offer you:

`, exportAs: 'ngdForBusiness', styleUrls: ['./for-business.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) export class NgdForBusinessComponent { readonly headingId: string = 'ngd-for-business-heading'; offerings: string[] = [ 'A custom template development', 'Developers, designers, analytics, QA, PM & marketing', 'Nebular customization services', 'The review of your project', ]; constructor(private dialogService: NbDialogService) { } openDialog(): void { const context = { title: 'Nebular for business', formConfig: { portalId: '2452262', formId: '40c56c10-9b41-4d12-95dd-e6c186ac4273', }, }; this.dialogService.open(NgdHubspotFormDialogComponent, { context }); } }