-
CONTACTO
+
+
+
+ @if (contact().whatsappUrl && contact().whatsappLabel) {
+
+
+ {{ contact().whatsappLabel }}
+
+ }
- @if (contact().whatsappUrl && contact().whatsappLabel) {
-
-
- {{ contact().whatsappLabel }}
-
- }
+ @if (contact().phone; as phone) {
+
+
+ {{ phone }}
+
+ }
- @if (contact().phone; as phone) {
-
-
- {{ phone }}
-
- }
+ @for (location of contact().locations; track location.id) {
+
+
+
+ {{ location.label }}
+
- @for (location of contact().locations; track location.id) {
-
-
-
- {{ location.label }}
-
+
+ @for (address of location.addresses; track address.id) {
+ - {{ address.address }}
+ }
+
+
+ }
-
- @for (address of location.addresses; track address.id) {
- - {{ address.address }}
- }
-
-
- }
+ @if (!contact().whatsappUrl && !contact().phone && contact().locations.length === 0) {
+
No hay datos de contacto disponibles.
+ }
+
- @if (!contact().whatsappUrl && !contact().phone && contact().locations.length === 0) {
-
No hay datos de contacto disponibles.
+ @if (contact().mapLocations.length > 0) {
+
}
-
- @if (contact().mapLocations.length > 0) {
-
- }
-
+
diff --git a/src/app/features/store/pages/help-page/pages/contact-page/contact-page.scss b/src/app/features/store/pages/help-page/pages/contact-page/contact-page.scss
index 6ae2780..884e830 100644
--- a/src/app/features/store/pages/help-page/pages/contact-page/contact-page.scss
+++ b/src/app/features/store/pages/help-page/pages/contact-page/contact-page.scss
@@ -20,14 +20,6 @@
align-items: flex-start;
}
-.contact-page__title {
- margin: 0 0 1.25rem;
- color: inherit;
- font-size: 1rem;
- font-weight: 400;
- line-height: 1.3;
-}
-
.contact-page__contact-link {
display: inline-flex;
align-items: center;
@@ -128,10 +120,6 @@
text-align: center;
}
- .contact-page__title {
- width: 100%;
- }
-
.contact-page__location {
width: 100%;
}
diff --git a/src/app/features/store/pages/help-page/pages/contact-page/contact-page.ts b/src/app/features/store/pages/help-page/pages/contact-page/contact-page.ts
index 1f54738..79782b6 100644
--- a/src/app/features/store/pages/help-page/pages/contact-page/contact-page.ts
+++ b/src/app/features/store/pages/help-page/pages/contact-page/contact-page.ts
@@ -2,6 +2,7 @@ import { Component, computed, inject } from '@angular/core';
import { findMenu } from '../../../../../../core/services/menu.utils';
import { TenantService } from '../../../../../../core/services/tenant.service';
+import { MenuContentSectionComponent } from '../../../../components/menu-content-section/menu-content-section.component';
import {
LocationMapComponent,
MapLocation,
@@ -30,7 +31,7 @@ type ContactContent = {
@Component({
selector: 'app-contact-page',
- imports: [LocationMapComponent],
+ imports: [LocationMapComponent, MenuContentSectionComponent],
templateUrl: './contact-page.html',
styleUrl: './contact-page.scss',
})
diff --git a/src/app/features/store/pages/help-page/pages/faq-page/faq-page.html b/src/app/features/store/pages/help-page/pages/faq-page/faq-page.html
index 2d62fb4..9318e01 100644
--- a/src/app/features/store/pages/help-page/pages/faq-page/faq-page.html
+++ b/src/app/features/store/pages/help-page/pages/faq-page/faq-page.html
@@ -1,14 +1,8 @@
-
- PREGUNTAS FRECUENTES
-
+
@if (faqs().length > 0) {
@for (faq of faqs(); track $index; let last = $last) {
-
+
{{ faq.answer }}
}
@@ -16,4 +10,4 @@
} @else {
No hay preguntas frecuentes disponibles.
}
-
+
diff --git a/src/app/features/store/pages/help-page/pages/faq-page/faq-page.scss b/src/app/features/store/pages/help-page/pages/faq-page/faq-page.scss
index ce868e8..eb57672 100644
--- a/src/app/features/store/pages/help-page/pages/faq-page/faq-page.scss
+++ b/src/app/features/store/pages/help-page/pages/faq-page/faq-page.scss
@@ -4,18 +4,11 @@
}
.faq-page {
+ display: block;
width: 100%;
max-width: 760px;
}
-.faq-page__title {
- margin: 0 0 0.5rem;
- color: #a0a0a0;
- font-size: 0.9375rem;
- font-weight: 700;
- line-height: 1.3;
-}
-
.faq-page p {
margin: 0;
}
@@ -26,9 +19,3 @@
color: #888888;
font-size: 0.8125rem;
}
-
-@media (max-width: 767.98px) {
- .faq-page__title {
- text-align: center;
- }
-}
diff --git a/src/app/features/store/pages/help-page/pages/faq-page/faq-page.ts b/src/app/features/store/pages/help-page/pages/faq-page/faq-page.ts
index 7d84d5a..4a3273d 100644
--- a/src/app/features/store/pages/help-page/pages/faq-page/faq-page.ts
+++ b/src/app/features/store/pages/help-page/pages/faq-page/faq-page.ts
@@ -4,6 +4,7 @@ import { findMenu } from '../../../../../../core/services/menu.utils';
import { TenantService } from '../../../../../../core/services/tenant.service';
import { AccordionItemComponent } from '../../../../../../shared/components/accordion/accordion-item.component';
import { AccordionComponent } from '../../../../../../shared/components/accordion/accordion.component';
+import { MenuContentSectionComponent } from '../../../../components/menu-content-section/menu-content-section.component';
type Faq = {
question: string;
@@ -12,7 +13,7 @@ type Faq = {
@Component({
selector: 'app-faq-page',
- imports: [AccordionComponent, AccordionItemComponent],
+ imports: [AccordionComponent, AccordionItemComponent, MenuContentSectionComponent],
templateUrl: './faq-page.html',
styleUrl: './faq-page.scss',
})