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

@ -14,7 +14,8 @@ import { takeWhile } from 'rxjs/operators';
styleUrls: ['./main-info-section.component.scss'],
})
export class MainInfoSectionComponent implements OnDestroy {
constructor(themeService: NbThemeService, breakpointService: NbMediaBreakpointsService) {
constructor(themeService: NbThemeService,
breakpointService: NbMediaBreakpointsService) {
this.breakpoints = breakpointService.getBreakpointsMap();
themeService.onMediaQueryChange()
.pipe(takeWhile(() => this.alive))