style: format component metadata in app components
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
	
		
	
		
			Some checks failed
		
		
	
	
This commit is contained in:
		
					parent
					
						
							
								d285297ede
							
						
					
				
			
			
				commit
				
					
						1469918b4b
					
				
			
		
					 8 changed files with 34 additions and 34 deletions
				
			
		| 
						 | 
					@ -5,11 +5,11 @@ import { KeycloakAngularModule } from 'keycloak-angular';
 | 
				
			||||||
import { FooterComponent } from './shared/components/footer/footer.component';
 | 
					import { FooterComponent } from './shared/components/footer/footer.component';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
    selector: 'app-root',
 | 
					  selector: 'app-root',
 | 
				
			||||||
    imports: [CommonModule, RouterOutlet, KeycloakAngularModule, FooterComponent],
 | 
					  imports: [CommonModule, RouterOutlet, KeycloakAngularModule, FooterComponent],
 | 
				
			||||||
    providers: [],
 | 
					  providers: [],
 | 
				
			||||||
    templateUrl: './app.component.html',
 | 
					  templateUrl: './app.component.html',
 | 
				
			||||||
    styleUrl: './app.component.css',
 | 
					  styleUrl: './app.component.css',
 | 
				
			||||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
					  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class AppComponent {}
 | 
					export class AppComponent {}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,10 +24,10 @@ import { ModalAnimationService } from '../../shared/services/modal-animation.ser
 | 
				
			||||||
import gsap from 'gsap';
 | 
					import gsap from 'gsap';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
    selector: 'app-deposit',
 | 
					  selector: 'app-deposit',
 | 
				
			||||||
    imports: [ReactiveFormsModule, NgIf],
 | 
					  imports: [ReactiveFormsModule, NgIf],
 | 
				
			||||||
    templateUrl: './deposit.component.html',
 | 
					  templateUrl: './deposit.component.html',
 | 
				
			||||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
					  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
 | 
					export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
 | 
				
			||||||
  @Input() isOpen = false;
 | 
					  @Input() isOpen = false;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,10 +8,10 @@ import { ConfirmationComponent } from '../../shared/components/confirmation/conf
 | 
				
			||||||
import { ActivatedRoute } from '@angular/router';
 | 
					import { ActivatedRoute } from '@angular/router';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
    selector: 'app-homepage',
 | 
					  selector: 'app-homepage',
 | 
				
			||||||
    imports: [NavbarComponent, CurrencyPipe, NgFor, DepositComponent, ConfirmationComponent],
 | 
					  imports: [NavbarComponent, CurrencyPipe, NgFor, DepositComponent, ConfirmationComponent],
 | 
				
			||||||
    templateUrl: './home.component.html',
 | 
					  templateUrl: './home.component.html',
 | 
				
			||||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
					  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export default class HomeComponent implements OnInit {
 | 
					export default class HomeComponent implements OnInit {
 | 
				
			||||||
  isDepositModalOpen = false;
 | 
					  isDepositModalOpen = false;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,10 +3,10 @@ import { NavbarComponent } from '../../shared/components/navbar/navbar.component
 | 
				
			||||||
import { NgFor } from '@angular/common';
 | 
					import { NgFor } from '@angular/common';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
    selector: 'app-landing-page',
 | 
					  selector: 'app-landing-page',
 | 
				
			||||||
    imports: [NavbarComponent, NgFor],
 | 
					  imports: [NavbarComponent, NgFor],
 | 
				
			||||||
    templateUrl: './landing.component.html',
 | 
					  templateUrl: './landing.component.html',
 | 
				
			||||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
					  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class LandingComponent implements OnInit, OnDestroy {
 | 
					export class LandingComponent implements OnInit, OnDestroy {
 | 
				
			||||||
  currentSlide = 0;
 | 
					  currentSlide = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,11 +4,11 @@ import { KeycloakService } from 'keycloak-angular';
 | 
				
			||||||
import { Router } from '@angular/router';
 | 
					import { Router } from '@angular/router';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
    selector: 'app-login-success',
 | 
					  selector: 'app-login-success',
 | 
				
			||||||
    imports: [],
 | 
					  imports: [],
 | 
				
			||||||
    templateUrl: './login-success.component.html',
 | 
					  templateUrl: './login-success.component.html',
 | 
				
			||||||
    styleUrl: './login-success.component.css',
 | 
					  styleUrl: './login-success.component.css',
 | 
				
			||||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
					  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export default class LoginSuccessComponent implements OnInit {
 | 
					export default class LoginSuccessComponent implements OnInit {
 | 
				
			||||||
  private userService: UserService = inject(UserService);
 | 
					  private userService: UserService = inject(UserService);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,9 +12,9 @@ import { ModalAnimationService } from '../../services/modal-animation.service';
 | 
				
			||||||
import gsap from 'gsap';
 | 
					import gsap from 'gsap';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
    selector: 'app-confirmation',
 | 
					  selector: 'app-confirmation',
 | 
				
			||||||
    imports: [],
 | 
					  imports: [],
 | 
				
			||||||
    templateUrl: './confirmation.component.html'
 | 
					  templateUrl: './confirmation.component.html',
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class ConfirmationComponent implements AfterViewInit, OnDestroy {
 | 
					export class ConfirmationComponent implements AfterViewInit, OnDestroy {
 | 
				
			||||||
  @Input() successful = true;
 | 
					  @Input() successful = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,10 +4,10 @@ import { faMoneyBillTransfer, faCreditCard, faWallet } from '@fortawesome/free-s
 | 
				
			||||||
import { faPaypal, faGooglePay, faApplePay } from '@fortawesome/free-brands-svg-icons';
 | 
					import { faPaypal, faGooglePay, faApplePay } from '@fortawesome/free-brands-svg-icons';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
    selector: 'app-footer',
 | 
					  selector: 'app-footer',
 | 
				
			||||||
    templateUrl: './footer.component.html',
 | 
					  templateUrl: './footer.component.html',
 | 
				
			||||||
    imports: [FontAwesomeModule],
 | 
					  imports: [FontAwesomeModule],
 | 
				
			||||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
					  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class FooterComponent {
 | 
					export class FooterComponent {
 | 
				
			||||||
  currentYear: number = new Date().getFullYear();
 | 
					  currentYear: number = new Date().getFullYear();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,10 +5,10 @@ import { UserService } from '../../../service/user.service';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { CurrencyPipe } from '@angular/common';
 | 
					import { CurrencyPipe } from '@angular/common';
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
    selector: 'app-navbar',
 | 
					  selector: 'app-navbar',
 | 
				
			||||||
    templateUrl: './navbar.component.html',
 | 
					  templateUrl: './navbar.component.html',
 | 
				
			||||||
    imports: [RouterModule, CurrencyPipe],
 | 
					  imports: [RouterModule, CurrencyPipe],
 | 
				
			||||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
					  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
export class NavbarComponent implements OnInit {
 | 
					export class NavbarComponent implements OnInit {
 | 
				
			||||||
  isMenuOpen = false;
 | 
					  isMenuOpen = false;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue