diff --git a/.idea/laravel-idea.xml b/.idea/laravel-idea.xml index 2d9ee95..72ebbed 100644 --- a/.idea/laravel-idea.xml +++ b/.idea/laravel-idea.xml @@ -6,7 +6,18 @@ + \ No newline at end of file diff --git a/.idea/neoban.iml b/.idea/neoban.iml index 0bca37a..a0063c6 100644 --- a/.idea/neoban.iml +++ b/.idea/neoban.iml @@ -137,6 +137,8 @@ + + diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index 2052839..9a9545a 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -3,6 +3,6 @@ import { Routes } from '@angular/router'; export const routes: Routes = [ { path: '', - loadComponent: () => import('./chat/chat.component').then(m => m.ChatComponent) + loadComponent: () => import('./chat/chat').then(m => m.Chat) } ]; diff --git a/frontend/src/app/chat/chat.component.css b/frontend/src/app/chat/chat.css similarity index 100% rename from frontend/src/app/chat/chat.component.css rename to frontend/src/app/chat/chat.css diff --git a/frontend/src/app/chat/chat.component.html b/frontend/src/app/chat/chat.html similarity index 100% rename from frontend/src/app/chat/chat.component.html rename to frontend/src/app/chat/chat.html diff --git a/frontend/src/app/chat/chat.component.ts b/frontend/src/app/chat/chat.ts similarity index 93% rename from frontend/src/app/chat/chat.component.ts rename to frontend/src/app/chat/chat.ts index 1c71df9..c917dfb 100644 --- a/frontend/src/app/chat/chat.component.ts +++ b/frontend/src/app/chat/chat.ts @@ -7,10 +7,10 @@ import { ChatStore } from './chat.store'; selector: 'app-chat', standalone: true, imports: [CommonModule, ReactiveFormsModule], - templateUrl: './chat.component.html', - styleUrl: './chat.component.css' + templateUrl: './chat.html', + styleUrl: './chat.css' }) -export class ChatComponent { +export class Chat { readonly chatStore = inject(ChatStore); @ViewChild('scrollContainer') private scrollContainer!: ElementRef;