From ddb23360f3ca97dcb75d8f97a3c598d1a12c86e6 Mon Sep 17 00:00:00 2001 From: Jstn2004 Date: Wed, 8 May 2024 09:18:29 +0200 Subject: [PATCH] fix: Fehler entfernt --- frontend/src/app/app-routing.module.ts | 5 ++-- frontend/src/app/app.module.ts | 2 -- .../signupform/signupform.component.html | 2 +- .../signupform/signupform.component.scss | 2 +- .../authenticationpage.component.scss | 4 ++-- .../friendpage/friendpage.component.html | 4 ---- .../friendpage/friendpage.component.scss | 6 ----- .../friendpage/friendpage.component.spec.ts | 23 ------------------- .../pages/friendpage/friendpage.component.ts | 10 -------- .../pages/mainpage/mainpage.component.html | 1 + 10 files changed, 7 insertions(+), 52 deletions(-) delete mode 100644 frontend/src/app/components/pages/friendpage/friendpage.component.html delete mode 100644 frontend/src/app/components/pages/friendpage/friendpage.component.scss delete mode 100644 frontend/src/app/components/pages/friendpage/friendpage.component.spec.ts delete mode 100644 frontend/src/app/components/pages/friendpage/friendpage.component.ts diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index cd7a74e..5916618 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -5,7 +5,7 @@ import { AuthenticationpageComponent } from './components/pages/authenticationpa import { LoginformComponent } from './components/organisms/loginform/loginform.component'; import { SignupformComponent } from './components/organisms/signupform/signupform.component'; import { LandingpageComponent } from './components/pages/landingpage/landingpage.component'; -import { FriendpageComponent } from './components/pages/friendpage/friendpage.component'; + const routes: Routes = [ { path: '', redirectTo: '/home', pathMatch: 'full' }, @@ -19,9 +19,8 @@ const routes: Routes = [ { path: 'login', component: LoginformComponent }, ], }, - {path: 'friends', component: FriendpageComponent}, { path: '**', redirectTo: '/home' }, - +] @NgModule({ imports: [RouterModule.forRoot(routes)], diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index eb2f79a..8af8e98 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -20,7 +20,6 @@ import { InputfieldComponent } from './components/atoms/inputfield/inputfield.co import { SignupformComponent } from './components/organisms/signupform/signupform.component'; import { LoaderComponent } from './components/atoms/loader/loader.component'; import { LandingpageComponent } from './components/pages/landingpage/landingpage.component'; -import { FriendpageComponent } from './components/pages/friendpage/friendpage.component'; @NgModule({ @@ -41,7 +40,6 @@ import { FriendpageComponent } from './components/pages/friendpage/friendpage.co SignupformComponent, LoaderComponent, LandingpageComponent, - FriendpageComponent, ], imports: [BrowserModule, AppRoutingModule, BrowserAnimationsModule], diff --git a/frontend/src/app/components/organisms/signupform/signupform.component.html b/frontend/src/app/components/organisms/signupform/signupform.component.html index c7158f5..4a106d7 100644 --- a/frontend/src/app/components/organisms/signupform/signupform.component.html +++ b/frontend/src/app/components/organisms/signupform/signupform.component.html @@ -18,7 +18,7 @@

Sign up

[typetext]="passwordFieldType" [placeholder]="'Enter Password'" > - + diff --git a/frontend/src/app/components/organisms/signupform/signupform.component.scss b/frontend/src/app/components/organisms/signupform/signupform.component.scss index 2632ff8..98e570f 100644 --- a/frontend/src/app/components/organisms/signupform/signupform.component.scss +++ b/frontend/src/app/components/organisms/signupform/signupform.component.scss @@ -93,7 +93,7 @@ p.create-account { justify-content: space-between; } } -======= + p.create-account { diff --git a/frontend/src/app/components/pages/authenticationpage/authenticationpage.component.scss b/frontend/src/app/components/pages/authenticationpage/authenticationpage.component.scss index 307aabc..367b249 100644 --- a/frontend/src/app/components/pages/authenticationpage/authenticationpage.component.scss +++ b/frontend/src/app/components/pages/authenticationpage/authenticationpage.component.scss @@ -40,7 +40,7 @@ .img { - z-index: 2; + z-index: 20; } } @@ -63,5 +63,5 @@ filter: invert(100%); margin-top: 50px; } -} + diff --git a/frontend/src/app/components/pages/friendpage/friendpage.component.html b/frontend/src/app/components/pages/friendpage/friendpage.component.html deleted file mode 100644 index 73dbe4e..0000000 --- a/frontend/src/app/components/pages/friendpage/friendpage.component.html +++ /dev/null @@ -1,4 +0,0 @@ -
- - -
diff --git a/frontend/src/app/components/pages/friendpage/friendpage.component.scss b/frontend/src/app/components/pages/friendpage/friendpage.component.scss deleted file mode 100644 index 3c31331..0000000 --- a/frontend/src/app/components/pages/friendpage/friendpage.component.scss +++ /dev/null @@ -1,6 +0,0 @@ -.main { - width: 100%; - height: 100vh; - background-color: var(--background-black); - display: flex; -} diff --git a/frontend/src/app/components/pages/friendpage/friendpage.component.spec.ts b/frontend/src/app/components/pages/friendpage/friendpage.component.spec.ts deleted file mode 100644 index c473607..0000000 --- a/frontend/src/app/components/pages/friendpage/friendpage.component.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { FriendpageComponent } from './friendpage.component'; - -describe('FriendpageComponent', () => { - let component: FriendpageComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [FriendpageComponent] - }) - .compileComponents(); - - fixture = TestBed.createComponent(FriendpageComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/frontend/src/app/components/pages/friendpage/friendpage.component.ts b/frontend/src/app/components/pages/friendpage/friendpage.component.ts deleted file mode 100644 index 03d0544..0000000 --- a/frontend/src/app/components/pages/friendpage/friendpage.component.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-friendpage', - templateUrl: './friendpage.component.html', - styleUrl: './friendpage.component.scss' -}) -export class FriendpageComponent { - -} diff --git a/frontend/src/app/components/pages/mainpage/mainpage.component.html b/frontend/src/app/components/pages/mainpage/mainpage.component.html index 1d756c8..5559dc1 100644 --- a/frontend/src/app/components/pages/mainpage/mainpage.component.html +++ b/frontend/src/app/components/pages/mainpage/mainpage.component.html @@ -1,3 +1,4 @@ +