mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
522 B
24 lines
522 B
import {
|
|
ChangeDetectionStrategy,
|
|
Component,
|
|
HostBinding,
|
|
Input,
|
|
OnInit
|
|
} from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'gf-logo',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
templateUrl: './logo.component.html',
|
|
styleUrls: ['./logo.component.scss']
|
|
})
|
|
export class LogoComponent implements OnInit {
|
|
@HostBinding('class') @Input() size: 'large' | 'medium' = 'medium';
|
|
@Input() hideName = false;
|
|
|
|
public constructor() {}
|
|
|
|
public ngOnInit() {
|
|
this.hideName = this.hideName ?? false;
|
|
}
|
|
}
|
|
|