diff --git a/src/app/app.component.html b/src/app/app.component.html
index 4b8b9cf..67e7bd4 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,8 +1 @@
-
-
- chat
- Chat
-
-
-
-
\ No newline at end of file
+
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 7d72c02..a9c69e6 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -1,12 +1,12 @@
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
-import { MatToolbarModule } from '@angular/material/toolbar';
-import { MatIconModule } from '@angular/material/icon';
@Component({
selector: 'app-root',
- imports: [RouterOutlet, MatToolbarModule, MatIconModule],
+ imports: [RouterOutlet],
templateUrl: './app.component.html',
styleUrl: './app.component.scss'
})
-export class AppComponent { }
+export class AppComponent {
+
+}
diff --git a/src/app/app.config.ts b/src/app/app.config.ts
index 2d9809f..0607ded 100644
--- a/src/app/app.config.ts
+++ b/src/app/app.config.ts
@@ -13,8 +13,9 @@ export const appConfig: ApplicationConfig = {
provideHttpClient(),
provideAnimations(),
provideToastr({
- timeOut: 3000,
+ timeOut: 1000,
positionClass: 'toast-top-right',
+ closeButton: true
}),
]
};
diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts
index 5333a8b..3cbf43d 100644
--- a/src/app/app.routes.ts
+++ b/src/app/app.routes.ts
@@ -11,6 +11,6 @@ export const routes: Routes = [
loadChildren: () => import('./chat/chat.module').then(m => m.ChatModule),
canActivate: [IsLoggedInCanActivate]
},
- { path: '', redirectTo: 'auth', pathMatch: 'full' },
+ { path: '', redirectTo: 'chat', pathMatch: 'full' },
{ path: '**/*', redirectTo: '', pathMatch: 'full' }
];
diff --git a/src/app/auth/auth.module.ts b/src/app/auth/auth.module.ts
index 28f986a..60f23b2 100644
--- a/src/app/auth/auth.module.ts
+++ b/src/app/auth/auth.module.ts
@@ -10,6 +10,7 @@ import { MatCardModule } from '@angular/material/card';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatInputModule } from '@angular/material/input';
import { MatButtonModule } from '@angular/material/button';
+import { ToolbarComponent } from "../common/toolbar/toolbar.component";
@NgModule({
declarations: [
@@ -24,7 +25,8 @@ import { MatButtonModule } from '@angular/material/button';
MatFormFieldModule,
MatInputModule,
MatButtonModule,
- ReactiveFormsModule
- ]
+ ReactiveFormsModule,
+ ToolbarComponent
+]
})
export class AuthModule { }
diff --git a/src/app/auth/login/login.component.html b/src/app/auth/login/login.component.html
index 8215ac4..67ed08e 100644
--- a/src/app/auth/login/login.component.html
+++ b/src/app/auth/login/login.component.html
@@ -1,3 +1,5 @@
+
+