clean up stage 1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div [class]="isnovo ? 'cart-container novo' : 'cart-container dexar'">
|
||||
<div [class]="isMarketplaceNovo ? 'cart-container novo' : 'cart-container dexar'">
|
||||
<div class="cart-header">
|
||||
<h1>{{ 'cart.title' | translate }}</h1>
|
||||
@if (itemCount() > 0) {
|
||||
|
||||
@@ -40,8 +40,8 @@ export class CartComponent implements OnDestroy {
|
||||
private i18n = inject(TranslateService);
|
||||
private authService = inject(AuthService);
|
||||
|
||||
get isnovo(): boolean {
|
||||
return this.uiRuntime.isNovo();
|
||||
get isMarketplaceNovo(): boolean {
|
||||
return this.uiRuntime.isMarketplaceVariant('novo');
|
||||
}
|
||||
|
||||
isAuthenticated = this.authService.isAuthenticated;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- novo VERSION - Modern Grid Layout -->
|
||||
@if (isnovo) {
|
||||
@if (isMarketplaceNovo) {
|
||||
<div class="novo-home">
|
||||
<section class="novo-hero novo-hero-compact">
|
||||
<div class="novo-hero-content">
|
||||
|
||||
@@ -59,11 +59,11 @@ export class HomeComponent implements OnInit, OnDestroy {
|
||||
});
|
||||
|
||||
get brandName(): string {
|
||||
return this.uiRuntime.brandFullName();
|
||||
return this.uiRuntime.marketplaceDisplayName();
|
||||
}
|
||||
|
||||
get isnovo(): boolean {
|
||||
return this.uiRuntime.isNovo();
|
||||
get isMarketplaceNovo(): boolean {
|
||||
return this.uiRuntime.isMarketplaceVariant('novo');
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<p>The company's primary goal is to provide quality service to its partners and customers, ensuring comfort and reliability of transactions, expanding the range of goods and services, and maintaining high standards of customer care.</p>
|
||||
|
||||
<p>Thus, DEXARMARKET is a prime example of a successful international project demonstrating effective development and integration on a global level.</p>
|
||||
<p>Thus, DEXARMARKET is a prime example of a successful international marketplace demonstrating effective development and integration on a global level.</p>
|
||||
</section>
|
||||
|
||||
<section class="legal-section">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@if (isnovo) {
|
||||
@if (isMarketplaceNovo) {
|
||||
<!-- novo VERSION - Modern Design -->
|
||||
<div class="novo-item-container">
|
||||
@if (loading()) {
|
||||
|
||||
@@ -28,8 +28,8 @@ export class ItemDetailComponent implements OnInit, OnDestroy {
|
||||
error = signal<string | null>(null);
|
||||
private readonly uiRuntime = inject(UiRuntimeFacade);
|
||||
|
||||
get isnovo(): boolean {
|
||||
return this.uiRuntime.isNovo();
|
||||
get isMarketplaceNovo(): boolean {
|
||||
return this.uiRuntime.isMarketplaceVariant('novo');
|
||||
}
|
||||
|
||||
// Variant selection
|
||||
|
||||
Reference in New Issue
Block a user