docs(download): add download button with hubspot form (#5725)

This commit is contained in:
Denis Strigo 2020-07-10 13:34:49 +03:00 committed by Sergey Andrievskiy
parent 1abd81dae3
commit 42815aa714
15 changed files with 301 additions and 25 deletions

View file

@ -1,16 +1,41 @@
import { NgModule } from '@angular/core';
import {NbBadgeModule, NbPopoverModule} from '@nebular/theme';
import { NbBadgeModule, NbCardModule, NbDialogModule, NbPopoverModule } from '@nebular/theme';
import { MaterialThemeLinkComponent } from './components/material-theme-link/material-theme-link.component';
import { CapitalizePipe } from './pipes/capitalize.pipe';
import { EvaIconsPipe } from './pipes/eva-icons.pipe';
import { RouterModule } from '@angular/router';
import { DownloadAdminComponent } from './components/download-admin/download-admin.component';
import { DownloadFormComponent } from './components/download-form/download-form.component';
const component = [MaterialThemeLinkComponent];
const pipes = [CapitalizePipe, EvaIconsPipe];
const component = [
MaterialThemeLinkComponent,
DownloadAdminComponent,
DownloadFormComponent,
];
const pipes = [
CapitalizePipe,
EvaIconsPipe,
];
@NgModule({
imports: [RouterModule, NbPopoverModule, NbBadgeModule],
declarations: [...component, ...pipes],
exports: [NbPopoverModule, ...component, ...pipes],
imports: [
RouterModule,
NbPopoverModule,
NbBadgeModule,
NbCardModule,
NbDialogModule.forChild(),
],
declarations: [
...component,
...pipes,
],
entryComponents: [
DownloadFormComponent,
],
exports: [
NbPopoverModule,
...component,
...pipes,
],
})
export class LandingSharedModule {}