docs(download): add download button with hubspot form

This commit is contained in:
d.strigo 2020-07-10 13:00:07 +03:00
parent b232c95a6e
commit 70c407dac4
15 changed files with 302 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))