diff --git a/src/Client/src/app/pages/account/settings/settings.component.html b/src/Client/src/app/pages/account/settings/settings.component.html deleted file mode 100644 index e69de29..0000000 diff --git a/src/Client/src/app/pages/account/settings/settings.component.ts b/src/Client/src/app/pages/account/settings/settings.component.ts deleted file mode 100644 index de3b951..0000000 --- a/src/Client/src/app/pages/account/settings/settings.component.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Component } from '@angular/core'; -import { HttpClient } from '@angular/common/http'; -import { FormsModule } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; -import { Account } from '../../../models/Account'; -import { Title } from '@angular/platform-browser'; -import { CommonModule } from '@angular/common'; - -@Component({ - selector: 'account-settings', - templateUrl: './settings.component.html', - imports: [ FormsModule, CommonModule ] -}) -export class SettingsComponent { - user!: Account; - errorMsgs: string[] = []; - returnURL: string = '/'; - - constructor( private http: HttpClient, private router: Router, private route: ActivatedRoute, private title: Title ) { - this.title.setTitle("Settings | Mistox"); - this.route.queryParams.subscribe(params => { - this.returnURL = params['returnURL'] || '/'; - }); - } - - onSubmit() { - - } -} \ No newline at end of file diff --git a/src/Client/src/app/pages/home/home.component.html b/src/Client/src/app/pages/home/home.component.html new file mode 100644 index 0000000..a3394aa --- /dev/null +++ b/src/Client/src/app/pages/home/home.component.html @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/src/Client/src/app/pages/home/home.component.ts b/src/Client/src/app/pages/home/home.component.ts new file mode 100644 index 0000000..59d01c6 --- /dev/null +++ b/src/Client/src/app/pages/home/home.component.ts @@ -0,0 +1,21 @@ +import { Component } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import { FormsModule } from '@angular/forms'; +import { Router, ActivatedRoute } from '@angular/router'; +import { Title } from '@angular/platform-browser'; +import { CommonModule } from '@angular/common'; +import { Authentication } from '../../services/Authentication'; + +@Component({ + selector: 'home', + templateUrl: './home.component.html', + imports: [ FormsModule, CommonModule ], + standalone: true +}) +export class HomeComponent { + + constructor( private http: HttpClient, private router: Router, private route: ActivatedRoute, private title: Title, public auth: Authentication ) { + this.title.setTitle("Auth | Mistox"); + } + +} \ No newline at end of file