style: fixed prettier and hopefully eslint
This commit is contained in:
parent
604d593fdc
commit
25492f3e68
7 changed files with 38 additions and 28 deletions
|
@ -1,9 +1,6 @@
|
|||
<ng-container
|
||||
*ngIf="isOpen"
|
||||
>
|
||||
<ng-container *ngIf="isOpen">
|
||||
<div class="fixed inset-0 bg-black/70 z-50" (click)="closeModal()">
|
||||
<div
|
||||
*ngIf="isOpen"
|
||||
class="card p-4 fixed top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-white p-6 rounded-lg shadow-lg z-50 min-w-[300px]"
|
||||
>
|
||||
<h2 class="text-xl section-heading">Guthaben aufladen</h2>
|
||||
|
@ -22,7 +19,10 @@
|
|||
</div>
|
||||
</form>
|
||||
<div class="my-1">
|
||||
<button (click)="closeModal()" class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded my-2">
|
||||
<button
|
||||
(click)="closeModal()"
|
||||
class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded my-2"
|
||||
>
|
||||
Abbrechen
|
||||
</button>
|
||||
<button (click)="submit()" class="button-base w-full py-2">Einzahlen</button>
|
||||
|
@ -30,4 +30,3 @@
|
|||
</div>
|
||||
</div>
|
||||
</ng-container>
|
||||
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
import {ChangeDetectionStrategy, Component, EventEmitter, inject, Input, OnInit, Output} from '@angular/core';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
EventEmitter,
|
||||
inject,
|
||||
Input,
|
||||
OnInit,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
import { FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';
|
||||
import { loadStripe, Stripe } from '@stripe/stripe-js';
|
||||
import { DepositService } from '../../service/deposit.service';
|
||||
|
@ -9,10 +17,7 @@ import { NgIf } from '@angular/common';
|
|||
@Component({
|
||||
selector: 'app-deposit',
|
||||
standalone: true,
|
||||
imports: [
|
||||
ReactiveFormsModule,
|
||||
NgIf,
|
||||
],
|
||||
imports: [ReactiveFormsModule, NgIf],
|
||||
templateUrl: './deposit.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue