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';
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
    selector: 'app-root',
 | 
			
		||||
    imports: [CommonModule, RouterOutlet, KeycloakAngularModule, FooterComponent],
 | 
			
		||||
    providers: [],
 | 
			
		||||
    templateUrl: './app.component.html',
 | 
			
		||||
    styleUrl: './app.component.css',
 | 
			
		||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
			
		||||
  selector: 'app-root',
 | 
			
		||||
  imports: [CommonModule, RouterOutlet, KeycloakAngularModule, FooterComponent],
 | 
			
		||||
  providers: [],
 | 
			
		||||
  templateUrl: './app.component.html',
 | 
			
		||||
  styleUrl: './app.component.css',
 | 
			
		||||
  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
			
		||||
})
 | 
			
		||||
export class AppComponent {}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,10 +24,10 @@ import { ModalAnimationService } from '../../shared/services/modal-animation.ser
 | 
			
		|||
import gsap from 'gsap';
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
    selector: 'app-deposit',
 | 
			
		||||
    imports: [ReactiveFormsModule, NgIf],
 | 
			
		||||
    templateUrl: './deposit.component.html',
 | 
			
		||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
			
		||||
  selector: 'app-deposit',
 | 
			
		||||
  imports: [ReactiveFormsModule, NgIf],
 | 
			
		||||
  templateUrl: './deposit.component.html',
 | 
			
		||||
  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
			
		||||
})
 | 
			
		||||
export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
 | 
			
		||||
  @Input() isOpen = false;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,10 +8,10 @@ import { ConfirmationComponent } from '../../shared/components/confirmation/conf
 | 
			
		|||
import { ActivatedRoute } from '@angular/router';
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
    selector: 'app-homepage',
 | 
			
		||||
    imports: [NavbarComponent, CurrencyPipe, NgFor, DepositComponent, ConfirmationComponent],
 | 
			
		||||
    templateUrl: './home.component.html',
 | 
			
		||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
			
		||||
  selector: 'app-homepage',
 | 
			
		||||
  imports: [NavbarComponent, CurrencyPipe, NgFor, DepositComponent, ConfirmationComponent],
 | 
			
		||||
  templateUrl: './home.component.html',
 | 
			
		||||
  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
			
		||||
})
 | 
			
		||||
export default class HomeComponent implements OnInit {
 | 
			
		||||
  isDepositModalOpen = false;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,10 +3,10 @@ import { NavbarComponent } from '../../shared/components/navbar/navbar.component
 | 
			
		|||
import { NgFor } from '@angular/common';
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
    selector: 'app-landing-page',
 | 
			
		||||
    imports: [NavbarComponent, NgFor],
 | 
			
		||||
    templateUrl: './landing.component.html',
 | 
			
		||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
			
		||||
  selector: 'app-landing-page',
 | 
			
		||||
  imports: [NavbarComponent, NgFor],
 | 
			
		||||
  templateUrl: './landing.component.html',
 | 
			
		||||
  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
			
		||||
})
 | 
			
		||||
export class LandingComponent implements OnInit, OnDestroy {
 | 
			
		||||
  currentSlide = 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,11 +4,11 @@ import { KeycloakService } from 'keycloak-angular';
 | 
			
		|||
import { Router } from '@angular/router';
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
    selector: 'app-login-success',
 | 
			
		||||
    imports: [],
 | 
			
		||||
    templateUrl: './login-success.component.html',
 | 
			
		||||
    styleUrl: './login-success.component.css',
 | 
			
		||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
			
		||||
  selector: 'app-login-success',
 | 
			
		||||
  imports: [],
 | 
			
		||||
  templateUrl: './login-success.component.html',
 | 
			
		||||
  styleUrl: './login-success.component.css',
 | 
			
		||||
  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
			
		||||
})
 | 
			
		||||
export default class LoginSuccessComponent implements OnInit {
 | 
			
		||||
  private userService: UserService = inject(UserService);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,9 +12,9 @@ import { ModalAnimationService } from '../../services/modal-animation.service';
 | 
			
		|||
import gsap from 'gsap';
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
    selector: 'app-confirmation',
 | 
			
		||||
    imports: [],
 | 
			
		||||
    templateUrl: './confirmation.component.html'
 | 
			
		||||
  selector: 'app-confirmation',
 | 
			
		||||
  imports: [],
 | 
			
		||||
  templateUrl: './confirmation.component.html',
 | 
			
		||||
})
 | 
			
		||||
export class ConfirmationComponent implements AfterViewInit, OnDestroy {
 | 
			
		||||
  @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';
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
    selector: 'app-footer',
 | 
			
		||||
    templateUrl: './footer.component.html',
 | 
			
		||||
    imports: [FontAwesomeModule],
 | 
			
		||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
			
		||||
  selector: 'app-footer',
 | 
			
		||||
  templateUrl: './footer.component.html',
 | 
			
		||||
  imports: [FontAwesomeModule],
 | 
			
		||||
  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
			
		||||
})
 | 
			
		||||
export class FooterComponent {
 | 
			
		||||
  currentYear: number = new Date().getFullYear();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,10 +5,10 @@ import { UserService } from '../../../service/user.service';
 | 
			
		|||
 | 
			
		||||
import { CurrencyPipe } from '@angular/common';
 | 
			
		||||
@Component({
 | 
			
		||||
    selector: 'app-navbar',
 | 
			
		||||
    templateUrl: './navbar.component.html',
 | 
			
		||||
    imports: [RouterModule, CurrencyPipe],
 | 
			
		||||
    changeDetection: ChangeDetectionStrategy.OnPush
 | 
			
		||||
  selector: 'app-navbar',
 | 
			
		||||
  templateUrl: './navbar.component.html',
 | 
			
		||||
  imports: [RouterModule, CurrencyPipe],
 | 
			
		||||
  changeDetection: ChangeDetectionStrategy.OnPush,
 | 
			
		||||
})
 | 
			
		||||
export class NavbarComponent implements OnInit {
 | 
			
		||||
  isMenuOpen = false;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue