diff --git a/frontend/src/app/components/auth/auth.component.ts b/frontend/src/app/components/auth/auth.component.ts index 33d71fd..0655034 100644 --- a/frontend/src/app/components/auth/auth.component.ts +++ b/frontend/src/app/components/auth/auth.component.ts @@ -5,7 +5,6 @@ import { Router } from '@angular/router'; import { CommonModule } from '@angular/common'; import { ErrorService } from '../../services/error.service'; import { AuthService } from '../../services/auth.service'; -import { HttpErrorResponse } from '@angular/common/http'; @Component({ selector: 'app-auth', diff --git a/frontend/src/app/components/auth/forgot-password/forgot-password.component.ts b/frontend/src/app/components/auth/forgot-password/forgot-password.component.ts index 0276603..e75f11d 100644 --- a/frontend/src/app/components/auth/forgot-password/forgot-password.component.ts +++ b/frontend/src/app/components/auth/forgot-password/forgot-password.component.ts @@ -5,7 +5,6 @@ import { FormsModule, NgForm } from '@angular/forms'; import { ActivatedRoute, RouterLink } from '@angular/router'; import { AuthService } from '../../../services/auth.service'; import { ErrorService } from '../../../services/error.service'; -import { HttpErrorResponse } from '@angular/common/http'; @Component({ selector: 'app-forgot-password', diff --git a/frontend/src/app/components/auth/login/login.component.html b/frontend/src/app/components/auth/login/login.component.html index 7ed4bf0..a7c82f5 100644 --- a/frontend/src/app/components/auth/login/login.component.html +++ b/frontend/src/app/components/auth/login/login.component.html @@ -88,7 +88,9 @@ > diff --git a/frontend/src/app/components/auth/login/login.component.ts b/frontend/src/app/components/auth/login/login.component.ts index 293113e..9cb48f9 100644 --- a/frontend/src/app/components/auth/login/login.component.ts +++ b/frontend/src/app/components/auth/login/login.component.ts @@ -1,10 +1,9 @@ -import { Component, ViewChild } from '@angular/core'; +import { Component } from '@angular/core'; import { BtnLargeComponent } from '../../../shared/components/buttons/btn-large/btn-large.component'; import { FormsModule, NgForm } from '@angular/forms'; import { Router, RouterLink } from '@angular/router'; import { AuthService } from '../../../services/auth.service'; import { ErrorService } from '../../../services/error.service'; -import { HttpErrorResponse } from '@angular/common/http'; import { CommonModule } from '@angular/common'; import { environment } from '../../../environments/environment'; diff --git a/frontend/src/app/components/auth/register/register.component.ts b/frontend/src/app/components/auth/register/register.component.ts index c2b40ce..15f5f9f 100644 --- a/frontend/src/app/components/auth/register/register.component.ts +++ b/frontend/src/app/components/auth/register/register.component.ts @@ -5,7 +5,6 @@ import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { CommonModule } from '@angular/common'; import { AuthService } from '../../../services/auth.service'; import { ErrorService } from '../../../services/error.service'; -import { HttpErrorResponse } from '@angular/common/http'; @Component({ selector: 'app-register', diff --git a/frontend/src/app/components/home/browse/browse.component.ts b/frontend/src/app/components/home/browse/browse.component.ts index 9f1c1b0..1d2e446 100644 --- a/frontend/src/app/components/home/browse/browse.component.ts +++ b/frontend/src/app/components/home/browse/browse.component.ts @@ -1,12 +1,4 @@ -import { - Component, - EventEmitter, - OnChanges, - OnInit, - Output, - SimpleChanges, - ViewChild, -} from '@angular/core'; +import { Component, OnInit, ViewChild } from '@angular/core'; import { HeaderComponent } from '../../../shared/components/header/header.component'; import { HeroBannerComponent } from './hero-banner/hero-banner.component'; import { CategoriesComponent } from './categories/categories.component'; diff --git a/frontend/src/app/components/home/browse/categories/categories.component.ts b/frontend/src/app/components/home/browse/categories/categories.component.ts index 37e4384..9440b92 100644 --- a/frontend/src/app/components/home/browse/categories/categories.component.ts +++ b/frontend/src/app/components/home/browse/categories/categories.component.ts @@ -1,14 +1,10 @@ import { CommonModule } from '@angular/common'; import { - ChangeDetectorRef, Component, - ElementRef, EventEmitter, HostListener, Input, Output, - Renderer2, - ViewChild, } from '@angular/core'; import { environment } from '../../../../environments/environment'; diff --git a/frontend/src/app/shared/components/error-toast/error-toast.component.ts b/frontend/src/app/shared/components/error-toast/error-toast.component.ts index ca5d246..805728c 100644 --- a/frontend/src/app/shared/components/error-toast/error-toast.component.ts +++ b/frontend/src/app/shared/components/error-toast/error-toast.component.ts @@ -1,4 +1,4 @@ -import { Component, Input, OnInit } from '@angular/core'; +import { Component, OnInit } from '@angular/core'; import { ErrorService } from '../../../services/error.service'; @Component({ diff --git a/frontend/src/app/shared/components/header/header.component.ts b/frontend/src/app/shared/components/header/header.component.ts index a40b615..382c374 100644 --- a/frontend/src/app/shared/components/header/header.component.ts +++ b/frontend/src/app/shared/components/header/header.component.ts @@ -1,4 +1,4 @@ -import { Component, Input, input } from '@angular/core'; +import { Component, Input } from '@angular/core'; import { BtnLargeComponent } from '../buttons/btn-large/btn-large.component'; import { Router, RouterLink } from '@angular/router'; diff --git a/frontend/src/app/shared/components/legal-information/imprint/imprint.component.ts b/frontend/src/app/shared/components/legal-information/imprint/imprint.component.ts index 6be6887..ee83704 100644 --- a/frontend/src/app/shared/components/legal-information/imprint/imprint.component.ts +++ b/frontend/src/app/shared/components/legal-information/imprint/imprint.component.ts @@ -1,5 +1,6 @@ import { Component } from '@angular/core'; import { CommonModule, Location } from '@angular/common'; + @Component({ selector: 'app-imprint', standalone: true, diff --git a/frontend/src/assets/style/form.scss b/frontend/src/assets/style/form.scss index 6375ecd..f3e670a 100644 --- a/frontend/src/assets/style/form.scss +++ b/frontend/src/assets/style/form.scss @@ -28,12 +28,12 @@ form { } input::file-selector-button { width: fit-content; - box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); + box-shadow: 1px 1px 3px rgba($black, 0.5); border-radius: 6px; padding: 6px; color: $white; - background-color: blue; - border: 1px solid blue; + background-color: $blue; + border: 1px solid $blue; transition: 300ms ease-in-out; cursor: pointer; } @@ -54,8 +54,8 @@ form { padding: 9px; p { color: $red; - font-size: 12px !important; - font-weight: 400 !important; + font-size: 12px; + font-weight: 400; } }