Archive commit

This commit is contained in:
Erik McClure
2019-08-28 21:15:02 -07:00
commit 735845746e
1435 changed files with 140724 additions and 0 deletions
@@ -0,0 +1,27 @@
import { Component } from '@angular/core';
import { faTimes } from '../../../client/icons';
import { InstallService } from '../../services/installService';
import { isMobile } from '../../../client/data';
@Component({
selector: 'install-button',
templateUrl: 'install-button.pug',
styleUrls: ['install-button.scss'],
})
export class InstallButton {
readonly closeIcon = faTimes;
constructor(private installService: InstallService) {
}
get canInstall() {
return this.installService.canInstall;
}
get isMobile() {
return isMobile;
}
install() {
this.installService.install();
}
dismiss() {
this.installService.dismiss();
}
}