|
|
@ -1,17 +1,21 @@
|
|
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
|
import { Component } from '@angular/core';
|
|
|
|
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { RouterOutlet } from '@angular/router';
|
|
|
|
import { RouterOutlet } from '@angular/router';
|
|
|
|
import { initFlowbite } from 'flowbite';
|
|
|
|
import { initFlowbite } from 'flowbite';
|
|
|
|
import { LoginPageComponent } from './components/login-page/login-page.component';
|
|
|
|
import { NavbarComponent } from './components/navbar/navbar.component';
|
|
|
|
|
|
|
|
import { AuthService } from './services/auth.service';
|
|
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
@Component({
|
|
|
|
selector: 'app-root',
|
|
|
|
selector: 'app-root',
|
|
|
|
imports: [RouterOutlet, LoginPageComponent],
|
|
|
|
|
|
|
|
templateUrl: './app.component.html',
|
|
|
|
templateUrl: './app.component.html',
|
|
|
|
styleUrl: './app.component.css'
|
|
|
|
styleUrls: ['./app.component.css'],
|
|
|
|
|
|
|
|
imports: [CommonModule, RouterOutlet, NavbarComponent]
|
|
|
|
})
|
|
|
|
})
|
|
|
|
export class AppComponent implements OnInit {
|
|
|
|
export class AppComponent {
|
|
|
|
title = 'memorymap-admin';
|
|
|
|
title = 'memorymap-admin';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
constructor(public authService: AuthService) {}
|
|
|
|
|
|
|
|
|
|
|
|
ngOnInit(): void {
|
|
|
|
ngOnInit(): void {
|
|
|
|
initFlowbite();
|
|
|
|
initFlowbite();
|
|
|
|
}
|
|
|
|
}
|
|
|
|