mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-03 16:18:49 +01:00
feat: demo version additions
This commit is contained in:
parent
0eec54695f
commit
eee950248e
322 changed files with 23456 additions and 188 deletions
|
|
@ -0,0 +1,35 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright Akveo. All Rights Reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*/
|
||||
|
||||
import { AfterViewInit, Component } from '@angular/core';
|
||||
import { NbDialogRef } from '@nebular/theme';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-download-form',
|
||||
templateUrl: './download-form.component.html',
|
||||
styleUrls: ['./download-form.component.scss'],
|
||||
})
|
||||
export class DownloadFormComponent implements AfterViewInit {
|
||||
|
||||
constructor(protected ref: NbDialogRef<DownloadFormComponent>) {
|
||||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
hbspt.forms.create({
|
||||
portalId: '2452262',
|
||||
formId: '93007d7b-5f11-4dd8-bcfd-f8b99d31f31e',
|
||||
target: '#hubspotForm',
|
||||
submitButtonClass: 'hs-submit-btn btn',
|
||||
css: '',
|
||||
cssClass: 'hs-custom-form',
|
||||
redirectUrl: 'https://github.com/akveo/ngx-admin',
|
||||
});
|
||||
}
|
||||
|
||||
closeDialog() {
|
||||
this.ref.close();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue