32 lines
859 B
TypeScript
32 lines
859 B
TypeScript
import {Component, OnInit} from '@angular/core';
|
|
import {NgStyle} from '@angular/common';
|
|
import {ViewportService} from '../shared/services/viewport.service';
|
|
import {Title} from '@angular/platform-browser';
|
|
import {TranslatePipe} from '@ngx-translate/core';
|
|
import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
|
|
|
@Component({
|
|
selector: 'app-socials',
|
|
imports: [
|
|
NgStyle,
|
|
TranslatePipe,
|
|
ParallaxComponent
|
|
],
|
|
templateUrl: './socials.component.html',
|
|
styleUrl: './socials.component.css'
|
|
})
|
|
export class SocialsComponent implements OnInit {
|
|
isNarrow: boolean = false;
|
|
commissionsOpen = false;
|
|
|
|
constructor(
|
|
private deviceService: ViewportService,
|
|
private titleService: Title
|
|
) {}
|
|
|
|
ngOnInit() {
|
|
this.titleService.setTitle('Socials | itzMiney');
|
|
this.isNarrow = this.deviceService.isNarrow;
|
|
}
|
|
}
|