feat(navbar): implement login/logout buttons based on state
This commit is contained in:
parent
325bc118ee
commit
e5bd173be9
5 changed files with 57 additions and 16 deletions
|
@ -1,5 +1,4 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
||||
import { faMoneyBillTransfer, faCreditCard, faWallet } from '@fortawesome/free-solid-svg-icons';
|
||||
import { faPaypal, faGooglePay, faApplePay } from '@fortawesome/free-brands-svg-icons';
|
||||
|
@ -9,11 +8,11 @@ import { faPaypal, faGooglePay, faApplePay } from '@fortawesome/free-brands-svg-
|
|||
standalone: true,
|
||||
templateUrl: './footer.component.html',
|
||||
imports: [FontAwesomeModule],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class FooterComponent {
|
||||
currentYear: number = new Date().getFullYear();
|
||||
|
||||
// Payment method icons
|
||||
faPaypal = faPaypal;
|
||||
faCreditCard = faCreditCard;
|
||||
faMoneyBillTransfer = faMoneyBillTransfer;
|
||||
|
|
Reference in a new issue