Files
byhaider-homepage/src/app/app.ts

21 lines
595 B
TypeScript

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";
@Component({
selector: 'app-root',
imports: [RouterOutlet, Background, NavigationBar],
templateUrl: './app.html',
})
export class App {
private themeSwitchService = inject(ThemeSwitchService);
constructor() {
this.themeSwitchService.initialize();
}
}