From 2c3db04acde8f7083c055f5265e62854529fc0ac Mon Sep 17 00:00:00 2001 From: Igor Propisnov Date: Wed, 15 May 2024 21:09:22 +0200 Subject: [PATCH] run prettier --- frontend/src/app/app.config.ts | 5 +- frontend/src/app/app.routes.ts | 10 +++- .../register-root.component.html | 24 +++++---- .../register-root.component.scss | 3 +- .../register-root/register-root.component.ts | 54 +++++++++++-------- frontend/src/environments/environment.prod.ts | 4 +- frontend/src/environments/environment.ts | 4 +- frontend/src/styles.scss | 6 +++ 8 files changed, 70 insertions(+), 40 deletions(-) diff --git a/frontend/src/app/app.config.ts b/frontend/src/app/app.config.ts index 0634521..74b2c21 100644 --- a/frontend/src/app/app.config.ts +++ b/frontend/src/app/app.config.ts @@ -5,5 +5,8 @@ import { provideAnimations } from '@angular/platform-browser/animations'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { - providers: [provideRouter(routes, withComponentInputBinding()), provideAnimations()], + providers: [ + provideRouter(routes, withComponentInputBinding()), + provideAnimations(), + ], }; diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index 3fb06b1..1a9c7a0 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -1,6 +1,12 @@ import { Routes } from '@angular/router'; export const routes: Routes = [ - { path: '', pathMatch: 'full', redirectTo: ''}, - { path: 'signup', loadComponent: () => import('./pages/register-root/register-root.component').then(m => m.RegisterRootComponent) }, + { path: '', pathMatch: 'full', redirectTo: '' }, + { + path: 'signup', + loadComponent: () => + import('./pages/register-root/register-root.component').then( + (m) => m.RegisterRootComponent + ), + }, ]; diff --git a/frontend/src/app/pages/register-root/register-root.component.html b/frontend/src/app/pages/register-root/register-root.component.html index 403d1bf..0fcfeb1 100644 --- a/frontend/src/app/pages/register-root/register-root.component.html +++ b/frontend/src/app/pages/register-root/register-root.component.html @@ -8,19 +8,25 @@

@if (this.isSignupSignal()) { Registrieren - } - @else if (this.isRegisterSignal()) { + } @else if (this.isRegisterSignal()) { Anmelden - } - @else { + } @else { Erste Schritte }

@if (this.isDisplayButtons()) {
- - + +
} @@ -35,8 +41,7 @@ pInputText id="email" formControlName="email" - aria-describedby="e-mail" - /> + aria-describedby="e-mail" />
@@ -47,8 +52,7 @@ id="password" formControlName="password" aria-describedby="password" - type="password" - /> + type="password" />