import { Component, CUSTOM_ELEMENTS_SCHEMA, inject, signal } from '@angular/core';
import { SpinnerComponent } from './spinner/spinner.component';
import { LoaderService } from './services/loader.service';
import { RouterModule } from "@angular/router";

@Component({
  selector: 'app-root',
  imports: [SpinnerComponent, RouterModule],
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  templateUrl: './app.html',
  styleUrls: ['./app.scss']
})
export class App {
  loader = inject(LoaderService);
  protected readonly title = signal('portfolio-admin');
  protected readonly loading = this.loader.isLoading;
}
