diff --git a/frontend/src/app/feature/landing/landing.component.html b/frontend/src/app/feature/landing/landing.component.html index b7c6a4b..9a6203d 100644 --- a/frontend/src/app/feature/landing/landing.component.html +++ b/frontend/src/app/feature/landing/landing.component.html @@ -182,7 +182,7 @@ - @if (showLogin() || showRegister() || showRecoverPassword()) { + @if (showLogin() || showRegister()) { } diff --git a/frontend/src/app/feature/landing/landing.component.ts b/frontend/src/app/feature/landing/landing.component.ts index aa1867e..5cfe0c5 100644 --- a/frontend/src/app/feature/landing/landing.component.ts +++ b/frontend/src/app/feature/landing/landing.component.ts @@ -11,12 +11,11 @@ import { ActivatedRoute, RouterLink } from '@angular/router'; import { AuthService } from '@service/auth.service'; import { LoginComponent } from '../auth/login/login.component'; import { RegisterComponent } from '../auth/register/register.component'; -import { RecoverPasswordComponent } from '../auth/recover-password/recover-password.component'; @Component({ selector: 'app-landing-page', standalone: true, - imports: [NgFor, RouterLink, LoginComponent, RegisterComponent, RecoverPasswordComponent], + imports: [NgFor, RouterLink, LoginComponent, RegisterComponent], templateUrl: './landing.component.html', changeDetection: ChangeDetectionStrategy.OnPush, }) @@ -27,7 +26,6 @@ export class LandingComponent implements OnInit, OnDestroy { route: ActivatedRoute = inject(ActivatedRoute); showLogin = signal(false); showRegister = signal(false); - showRecoverPassword = signal(false); ngOnInit() { this.startAutoplay(); @@ -45,28 +43,18 @@ export class LandingComponent implements OnInit, OnDestroy { showLoginForm() { this.showLogin.set(true); this.showRegister.set(false); - this.showRecoverPassword.set(false); document.body.style.overflow = 'hidden'; } showRegisterForm() { this.showRegister.set(true); this.showLogin.set(false); - this.showRecoverPassword.set(false); - document.body.style.overflow = 'hidden'; - } - - showRecoverPasswordForm() { - this.showRecoverPassword.set(true); - this.showLogin.set(false); - this.showRegister.set(false); document.body.style.overflow = 'hidden'; } hideAuthForms() { this.showLogin.set(false); this.showRegister.set(false); - this.showRecoverPassword.set(false); document.body.style.overflow = 'auto'; } diff --git a/justfile b/justfile deleted file mode 100644 index 1d68253..0000000 --- a/justfile +++ /dev/null @@ -1,23 +0,0 @@ -# Info -info: - just --list - -# Starts the project in development mode -start: - command -v concurrently &> /dev/null || bun add -g concurrently - command -v watchexec &> /dev/null || brew install watchexec - docker compose up -d - conc -n "frontend,backend" "cd frontend && bun run start" "cd backend/ && watchexec -r -e java ./gradlew :bootRun" - -# Builds both the backend and frontend docker images (obv) -build: - just build-fe - just build-be - -# Builds the backend docker image -build-be: - docker buildx build -f backend/.docker/Dockerfile -t git.kjan.de/szut/casino-backend:latest backend - -# Builds the frontend docker image -build-fe: - docker buildx build -f frontend/.docker/Dockerfile -t git.kjan.de/szut/casino-frontend:latest frontend