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 GitHub
parent b232c95a6e
commit f5f29bc041
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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))