import { Component } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { FormsModule } from '@angular/forms';
import { Router, ActivatedRoute } from '@angular/router';
import { Title } from '@angular/platform-browser';
import { CommonModule } from '@angular/common';
import { TranslationService } from 'app/services/translations';
import { Observable } from 'rxjs';

@Component({
  selector: 'main-home',
  templateUrl: './home.component.html',
  styleUrls: [ './home.component.css' ],
  imports: [ FormsModule, CommonModule ]
})
export class HomeComponent {

  Loaded$: Observable<boolean>;

  constructor( private http: HttpClient, private router: Router, private route: ActivatedRoute, private title: Title, public strings: TranslationService ) {
    this.title.setTitle("Home | BoredCareers");
    this.Loaded$ = this.strings.changed$;

  };

}