refactor: remove docker folder, refactor frontend files
This commit is contained in:
parent
8b547eb05b
commit
34ff29c7ac
27 changed files with 94 additions and 192 deletions
|
@ -1,5 +1,3 @@
|
|||
<app-navbar></app-navbar>
|
||||
|
||||
<div class="container mx-auto px-4 py-6 space-y-8">
|
||||
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
|
||||
<div class="lg:col-span-3 space-y-6 flex flex-col gap-4">
|
||||
|
|
|
@ -1,27 +1,25 @@
|
|||
import { ChangeDetectionStrategy, Component, inject, OnInit, signal } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Router } from '@angular/router';
|
||||
import { DealerHandComponent } from './components/dealer-hand/dealer-hand.component';
|
||||
import { PlayerHandComponent } from './components/player-hand/player-hand.component';
|
||||
import { GameControlsComponent } from './components/game-controls/game-controls.component';
|
||||
import { GameInfoComponent } from './components/game-info/game-info.component';
|
||||
import { BlackjackGame, Card } from '@blackjack/models/blackjack.model';
|
||||
import { BlackjackService } from '@blackjack/services/blackjack.service';
|
||||
import { HttpErrorResponse } from '@angular/common/http';
|
||||
import { GameResultComponent } from '@blackjack/components/game-result/game-result.component';
|
||||
import { GameState } from '@blackjack/enum/gameState';
|
||||
import { NavbarComponent } from '@shared/components/navbar/navbar.component';
|
||||
import { UserService } from '@service/user.service';
|
||||
import { timer } from 'rxjs';
|
||||
import { DebtDialogComponent } from '@shared/components/debt-dialog/debt-dialog.component';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
import {ChangeDetectionStrategy, Component, inject, OnInit, signal} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {Router} from '@angular/router';
|
||||
import {DealerHandComponent} from './components/dealer-hand/dealer-hand.component';
|
||||
import {PlayerHandComponent} from './components/player-hand/player-hand.component';
|
||||
import {GameControlsComponent} from './components/game-controls/game-controls.component';
|
||||
import {GameInfoComponent} from './components/game-info/game-info.component';
|
||||
import {BlackjackGame, Card} from '@blackjack/models/blackjack.model';
|
||||
import {BlackjackService} from '@blackjack/services/blackjack.service';
|
||||
import {HttpErrorResponse} from '@angular/common/http';
|
||||
import {GameResultComponent} from '@blackjack/components/game-result/game-result.component';
|
||||
import {GameState} from '@blackjack/enum/gameState';
|
||||
import {UserService} from '@service/user.service';
|
||||
import {timer} from 'rxjs';
|
||||
import {DebtDialogComponent} from '@shared/components/debt-dialog/debt-dialog.component';
|
||||
import {AuthService} from '@service/auth.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-blackjack',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
NavbarComponent,
|
||||
DealerHandComponent,
|
||||
PlayerHandComponent,
|
||||
GameControlsComponent,
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
<app-navbar></app-navbar>
|
||||
|
||||
<div class="container mx-auto px-4 py-6 space-y-8">
|
||||
<h1 class="text-3xl font-bold text-white mb-6">Spielautomaten</h1>
|
||||
|
||||
|
|
|
@ -1,19 +1,11 @@
|
|||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
inject,
|
||||
OnInit,
|
||||
OnDestroy,
|
||||
signal,
|
||||
} from '@angular/core';
|
||||
import { NavbarComponent } from '@shared/components/navbar/navbar.component';
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { CommonModule, KeyValuePipe, NgClass, CurrencyPipe } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { UserService } from '@service/user.service';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { AnimatedNumberComponent } from '@blackjack/components/animated-number/animated-number.component';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
import {ChangeDetectionStrategy, Component, inject, OnDestroy, OnInit, signal,} from '@angular/core';
|
||||
import {HttpClient} from '@angular/common/http';
|
||||
import {CommonModule, CurrencyPipe, KeyValuePipe, NgClass} from '@angular/common';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {UserService} from '@service/user.service';
|
||||
import {Subscription} from 'rxjs';
|
||||
import {AnimatedNumberComponent} from '@blackjack/components/animated-number/animated-number.component';
|
||||
import {AuthService} from '@service/auth.service';
|
||||
|
||||
interface SlotResult {
|
||||
status: 'win' | 'lose' | 'blank' | 'start';
|
||||
|
@ -26,7 +18,6 @@ interface SlotResult {
|
|||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
NavbarComponent,
|
||||
KeyValuePipe,
|
||||
NgClass,
|
||||
FormsModule,
|
||||
|
|
Reference in a new issue