optimising and making it better
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { environment } from '../../../../environments/environment';
|
||||
|
||||
@Component({
|
||||
selector: 'app-company-details',
|
||||
imports: [],
|
||||
templateUrl: './company-details.component.html',
|
||||
styleUrls: ['./company-details.component.scss']
|
||||
styleUrls: ['./company-details.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class CompanyDetailsComponent {
|
||||
brandName = environment.brandName;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { environment } from '../../../../environments/environment';
|
||||
|
||||
@@ -6,7 +6,8 @@ import { environment } from '../../../../environments/environment';
|
||||
selector: 'app-payment-terms',
|
||||
imports: [RouterLink],
|
||||
templateUrl: './payment-terms.component.html',
|
||||
styleUrls: ['./payment-terms.component.scss']
|
||||
styleUrls: ['./payment-terms.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class PaymentTermsComponent {
|
||||
brandName = environment.brandName;
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { environment } from '../../../../environments/environment';
|
||||
|
||||
@Component({
|
||||
selector: 'app-privacy-policy',
|
||||
imports: [],
|
||||
templateUrl: './privacy-policy.component.html',
|
||||
styleUrls: ['./privacy-policy.component.scss']
|
||||
styleUrls: ['./privacy-policy.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class PrivacyPolicyComponent {
|
||||
brandName = environment.brandName;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { environment } from '../../../../environments/environment';
|
||||
|
||||
@@ -6,7 +6,8 @@ import { environment } from '../../../../environments/environment';
|
||||
selector: 'app-public-offer',
|
||||
imports: [RouterLink],
|
||||
templateUrl: './public-offer.component.html',
|
||||
styleUrls: ['./public-offer.component.scss']
|
||||
styleUrls: ['./public-offer.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class PublicOfferComponent {
|
||||
brandName = environment.brandName;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { environment } from '../../../../environments/environment';
|
||||
|
||||
@Component({
|
||||
selector: 'app-return-policy',
|
||||
imports: [],
|
||||
templateUrl: './return-policy.component.html',
|
||||
styleUrls: ['./return-policy.component.scss']
|
||||
styleUrls: ['./return-policy.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class ReturnPolicyComponent {
|
||||
brandName = environment.brandName;
|
||||
|
||||
Reference in New Issue
Block a user