mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-26 06:35:51 +02:00
18 lines
435 B
TypeScript
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;
|
|
}
|
|
}
|