Files
pixel.horse/src/ts/components/shared/support-button/support-button.ts
T
2019-08-30 01:52:40 -07:00

18 lines
435 B
TypeScript

import { Component } from '@angular/core';
import { Model } from '../../services/model';
import { supporterLink } from '../../../client/data';
@Component({
selector: 'support-button',
templateUrl: 'support-button.pug',
styleUrls: ['support-button.scss'],
})
export class SupportButton {
readonly patreonLink = supporterLink;
constructor(private model: Model) {
}
get supporter() {
return this.model.supporter;
}
}