style: apply prettier formatting
This commit is contained in:
@@ -105,9 +105,7 @@
|
||||
[href]="languageService.localizedPath('/privacy')"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{
|
||||
"LEGAL.CONSENT.UPLOAD_NOTICE_LINK" | translate
|
||||
}}</a
|
||||
>{{ "LEGAL.CONSENT.UPLOAD_NOTICE_LINK" | translate }}</a
|
||||
>.
|
||||
</p>
|
||||
|
||||
|
||||
@@ -124,17 +124,14 @@
|
||||
[href]="languageService.localizedPath('/terms')"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{
|
||||
"LEGAL.CONSENT.TERMS_LINK" | translate
|
||||
}}</a>
|
||||
>{{ "LEGAL.CONSENT.TERMS_LINK" | translate }}</a
|
||||
>
|
||||
{{ "LEGAL.CONSENT.AND" | translate }}
|
||||
<a
|
||||
[href]="languageService.localizedPath('/privacy')"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{
|
||||
"LEGAL.CONSENT.PRIVACY_LINK" | translate
|
||||
}}</a
|
||||
>{{ "LEGAL.CONSENT.PRIVACY_LINK" | translate }}</a
|
||||
>.
|
||||
</span>
|
||||
</label>
|
||||
|
||||
@@ -208,17 +208,14 @@
|
||||
[href]="languageService.localizedPath('/terms')"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{
|
||||
"LEGAL.CONSENT.TERMS_LINK" | translate
|
||||
}}</a>
|
||||
>{{ "LEGAL.CONSENT.TERMS_LINK" | translate }}</a
|
||||
>
|
||||
{{ "LEGAL.CONSENT.AND" | translate }}
|
||||
<a
|
||||
[href]="languageService.localizedPath('/privacy')"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{
|
||||
"LEGAL.CONSENT.PRIVACY_LINK" | translate
|
||||
}}</a
|
||||
>{{ "LEGAL.CONSENT.PRIVACY_LINK" | translate }}</a
|
||||
>.
|
||||
</span>
|
||||
</label>
|
||||
|
||||
@@ -89,9 +89,7 @@
|
||||
[href]="languageService.localizedPath('/privacy')"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{
|
||||
"LEGAL.CONSENT.UPLOAD_NOTICE_LINK" | translate
|
||||
}}</a
|
||||
>{{ "LEGAL.CONSENT.UPLOAD_NOTICE_LINK" | translate }}</a
|
||||
>.
|
||||
</p>
|
||||
|
||||
@@ -169,17 +167,14 @@
|
||||
[href]="languageService.localizedPath('/terms')"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{
|
||||
"LEGAL.CONSENT.TERMS_LINK" | translate
|
||||
}}</a>
|
||||
>{{ "LEGAL.CONSENT.TERMS_LINK" | translate }}</a
|
||||
>
|
||||
{{ "LEGAL.CONSENT.AND" | translate }}
|
||||
<a
|
||||
[href]="languageService.localizedPath('/privacy')"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{
|
||||
"LEGAL.CONSENT.PRIVACY_LINK" | translate
|
||||
}}</a
|
||||
>{{ "LEGAL.CONSENT.PRIVACY_LINK" | translate }}</a
|
||||
>.
|
||||
</span>
|
||||
</label>
|
||||
|
||||
@@ -19,23 +19,17 @@
|
||||
<app-button
|
||||
variant="primary"
|
||||
[routerLink]="languageService.localizedPath('/calculator/basic')"
|
||||
>{{
|
||||
"HOME.BTN_CALCULATE" | translate
|
||||
}}</app-button
|
||||
>{{ "HOME.BTN_CALCULATE" | translate }}</app-button
|
||||
>
|
||||
<app-button
|
||||
variant="outline"
|
||||
[routerLink]="languageService.localizedPath('/shop')"
|
||||
>{{
|
||||
"HOME.BTN_SHOP" | translate
|
||||
}}</app-button
|
||||
>{{ "HOME.BTN_SHOP" | translate }}</app-button
|
||||
>
|
||||
<app-button
|
||||
variant="text"
|
||||
[routerLink]="languageService.localizedPath('/contact')"
|
||||
>{{
|
||||
"HOME.BTN_CONTACT" | translate
|
||||
}}</app-button
|
||||
>{{ "HOME.BTN_CONTACT" | translate }}</app-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@@ -182,16 +176,12 @@
|
||||
<app-button
|
||||
variant="primary"
|
||||
[routerLink]="languageService.localizedPath('/shop')"
|
||||
>{{
|
||||
"HOME.BTN_DISCOVER" | translate
|
||||
}}</app-button
|
||||
>{{ "HOME.BTN_DISCOVER" | translate }}</app-button
|
||||
>
|
||||
<app-button
|
||||
variant="outline"
|
||||
[routerLink]="languageService.localizedPath('/contact')"
|
||||
>{{
|
||||
"HOME.BTN_REQ_SOLUTION" | translate
|
||||
}}</app-button
|
||||
>{{ "HOME.BTN_REQ_SOLUTION" | translate }}</app-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@@ -260,16 +250,12 @@
|
||||
<app-button
|
||||
variant="primary"
|
||||
[routerLink]="languageService.localizedPath('/about')"
|
||||
>{{
|
||||
"HOME.SEC_ABOUT_TITLE" | translate
|
||||
}}</app-button
|
||||
>{{ "HOME.SEC_ABOUT_TITLE" | translate }}</app-button
|
||||
>
|
||||
<app-button
|
||||
variant="outline"
|
||||
[routerLink]="languageService.localizedPath('/contact')"
|
||||
>{{
|
||||
"HOME.BTN_CONTACT" | translate
|
||||
}}</app-button
|
||||
>{{ "HOME.BTN_CONTACT" | translate }}</app-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -366,9 +366,12 @@ export class ProductDetailComponent {
|
||||
if (!sessionId) {
|
||||
return;
|
||||
}
|
||||
this.router.navigate(['/', this.languageService.selectedLang(), 'checkout'], {
|
||||
queryParams: { session: sessionId },
|
||||
});
|
||||
this.router.navigate(
|
||||
['/', this.languageService.selectedLang(), 'checkout'],
|
||||
{
|
||||
queryParams: { session: sessionId },
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
priceLabel(): number {
|
||||
|
||||
@@ -242,11 +242,14 @@ export class ShopPageComponent {
|
||||
if (!sessionId) {
|
||||
return;
|
||||
}
|
||||
this.router.navigate(['/', this.languageService.selectedLang(), 'checkout'], {
|
||||
queryParams: {
|
||||
session: sessionId,
|
||||
this.router.navigate(
|
||||
['/', this.languageService.selectedLang(), 'checkout'],
|
||||
{
|
||||
queryParams: {
|
||||
session: sessionId,
|
||||
},
|
||||
},
|
||||
});
|
||||
);
|
||||
}
|
||||
|
||||
trackByCategory(_index: number, item: ShopCategoryNavNode): string {
|
||||
|
||||
Reference in New Issue
Block a user