clean up stage 1

This commit is contained in:
sdarbinyan
2026-07-05 00:38:21 +04:00
parent eaa830af3f
commit 58b5a4e996
195 changed files with 66 additions and 13717 deletions

View File

@@ -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) {

View File

@@ -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;

View File

@@ -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">

View File

@@ -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 {

View File

@@ -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">

View File

@@ -1,4 +1,4 @@
@if (isnovo) {
@if (isMarketplaceNovo) {
<!-- novo VERSION - Modern Design -->
<div class="novo-item-container">
@if (loading()) {

View File

@@ -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