2021-04-29 12:49:23 +02:00
|
|
|
import { Component, Input, OnInit } from '@angular/core';
|
2020-06-25 22:42:26 +02:00
|
|
|
import { Observable } from 'rxjs';
|
2020-05-01 19:10:17 +02:00
|
|
|
|
2020-06-25 22:42:26 +02:00
|
|
|
import { Poll } from '../../../models/poll.model';
|
|
|
|
import { MockingService } from '../../../services/mocking.service';
|
2020-11-05 14:39:01 +01:00
|
|
|
import { environment } from '../../../../../environments/environment';
|
2020-06-16 18:40:48 +02:00
|
|
|
|
2020-05-01 19:10:17 +02:00
|
|
|
@Component({
|
|
|
|
selector: 'app-navigation',
|
|
|
|
templateUrl: './navigation.component.html',
|
|
|
|
styleUrls: ['./navigation.component.scss'],
|
|
|
|
})
|
|
|
|
export class NavigationComponent implements OnInit {
|
2020-06-25 22:42:26 +02:00
|
|
|
public _pollsAvailables: Observable<Poll[]> = this.mockingService.pollsAvailables;
|
2020-11-05 14:39:01 +01:00
|
|
|
public devModeEnabled = !environment.production;
|
2021-04-29 12:49:23 +02:00
|
|
|
@Input() public appTitle = 'FramaDate Funky';
|
|
|
|
@Input() public appLogo: string;
|
|
|
|
public environment = environment;
|
2021-12-13 16:18:24 +01:00
|
|
|
mobileMenuVisible: boolean;
|
2020-06-16 18:40:48 +02:00
|
|
|
|
2020-06-25 22:42:26 +02:00
|
|
|
constructor(private mockingService: MockingService) {}
|
2020-06-16 18:40:48 +02:00
|
|
|
|
2020-06-25 22:42:26 +02:00
|
|
|
public ngOnInit(): void {}
|
2020-05-01 19:10:17 +02:00
|
|
|
}
|