import { Component, inject } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { ThemeSwitchService } from './core/service/theme-switch.service';
import { Background } from "./core/components/background/background";
import { NavigationBar } from "./core/components/navigation-bar/navigation-bar";
import { TranslatePipe } from '@ngx-translate/core';

@Component({
  selector: 'app-root',
  imports: [RouterOutlet, Background, NavigationBar, TranslatePipe],
  templateUrl: './app.html',
})
export class App {

  private themeSwitchService = inject(ThemeSwitchService);

  constructor() {
    this.themeSwitchService.initialize();
  }

}
