ff75c8ce2f
User Profile info, no game before login/register, menu bar --------- Co-authored-by: Lala, Shahd <Shahd.Lala@sybit.de> Co-authored-by: shahdlala66 <shahd.lala66@gmail.com> Reviewed-on: #2
19 lines
533 B
TypeScript
19 lines
533 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { RouterOutlet } from '@angular/router';
|
|
import { ToolbarComponent } from './components/toolbar/toolbar.component';
|
|
import { ThemeService } from './services/theme.service';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
imports: [RouterOutlet, ToolbarComponent],
|
|
templateUrl: './app.html',
|
|
styleUrl: './app.css'
|
|
})
|
|
export class App implements OnInit {
|
|
constructor(private readonly themeService: ThemeService) { }
|
|
|
|
ngOnInit(): void {
|
|
this.themeService.initTheme();
|
|
}
|
|
}
|