|
|
@@ -85,7 +85,7 @@ var Product = function Product(product, key) {
|
|
|
})), dom("div", {
|
|
|
class: "col s10"
|
|
|
}, dom("h4", {
|
|
|
- className: "product-name"
|
|
|
+ className: "primary-title"
|
|
|
}, product.name), dom("div", {
|
|
|
className: "product-body"
|
|
|
}, dom("p", {
|
|
|
@@ -140,6 +140,78 @@ var Vademecum = function Vademecum(categories, products, prices) {
|
|
|
});
|
|
|
};
|
|
|
|
|
|
+var ContactInformation = function ContactInformation() {
|
|
|
+ return dom("section", {
|
|
|
+ id: "contact-information"
|
|
|
+ }, dom("div", {
|
|
|
+ className: "container"
|
|
|
+ }, dom("h2", {
|
|
|
+ class: "pagebreak"
|
|
|
+ }, "Contacto"), dom("div", {
|
|
|
+ class: "collection"
|
|
|
+ }, dom("div", {
|
|
|
+ class: "collection-item"
|
|
|
+ }, dom("h4", {
|
|
|
+ className: "primary-title"
|
|
|
+ }, "Argentina"), dom("div", {
|
|
|
+ class: "section-container"
|
|
|
+ }, dom("h4", {
|
|
|
+ class: "section-name"
|
|
|
+ }, "Direcci\xF3n"), dom("p", {
|
|
|
+ class: "section-body"
|
|
|
+ }, "Leopoldo Marechal 914, Ciudad Aut\xF3noma de Buenos Aires")), dom("div", {
|
|
|
+ class: "section-container"
|
|
|
+ }, dom("h4", {
|
|
|
+ class: "section-name"
|
|
|
+ }, "Telefono"), dom("p", {
|
|
|
+ class: "section-body"
|
|
|
+ }, "(+5411) 4139-6860/1")), dom("div", {
|
|
|
+ class: "section-container"
|
|
|
+ }, dom("h4", {
|
|
|
+ class: "section-name"
|
|
|
+ }, "Email"), dom("p", {
|
|
|
+ class: "section-body"
|
|
|
+ }, "consultas@especificosba.com.ar"))), dom("div", {
|
|
|
+ className: "collection-item"
|
|
|
+ }, dom("h4", {
|
|
|
+ className: "primary-title"
|
|
|
+ }, "M\xE9xico"), dom("div", {
|
|
|
+ class: "section-container"
|
|
|
+ }, dom("h4", {
|
|
|
+ class: "section-name"
|
|
|
+ }, "Tel\xE9fono"), dom("p", {
|
|
|
+ class: "section-body"
|
|
|
+ }, "(+5255)4170-8856")), dom("div", {
|
|
|
+ class: "section-container"
|
|
|
+ }, dom("h4", {
|
|
|
+ class: "section-name"
|
|
|
+ }, "Email"), dom("p", {
|
|
|
+ class: "section-body"
|
|
|
+ }, "contactos@skin-connect.com.mx"))), dom("div", {
|
|
|
+ className: "collection-item"
|
|
|
+ }, dom("h4", {
|
|
|
+ className: "primary-title"
|
|
|
+ }, "Ecuador"), dom("div", {
|
|
|
+ class: "section-container"
|
|
|
+ }, dom("h4", {
|
|
|
+ class: "section-name"
|
|
|
+ }, "Direcci\xF3n"), dom("p", {
|
|
|
+ class: "section-body"
|
|
|
+ }, "Luis Cordero 1254, Cuenca, Azuay")), dom("div", {
|
|
|
+ class: "section-container"
|
|
|
+ }, dom("h4", {
|
|
|
+ class: "section-name"
|
|
|
+ }, "Tel\xE9fono"), dom("p", {
|
|
|
+ class: "section-body"
|
|
|
+ }, "(+593)07283-5550 (+593)07284-1207")), dom("div", {
|
|
|
+ class: "section-container"
|
|
|
+ }, dom("h4", {
|
|
|
+ class: "section-name"
|
|
|
+ }, "Email"), dom("p", {
|
|
|
+ class: "section-body"
|
|
|
+ }, "casamonickaventas@yahoo.com"))))));
|
|
|
+};
|
|
|
+
|
|
|
var domContainer = document.querySelector('#vademecum');
|
|
|
var LABEL = 0,
|
|
|
TAG = 1;
|
|
|
@@ -161,6 +233,7 @@ function (_React$Component) {
|
|
|
categories: config.categories,
|
|
|
products: null
|
|
|
};
|
|
|
+ console.log(config);
|
|
|
return _this;
|
|
|
}
|
|
|
|
|
|
@@ -184,9 +257,10 @@ function (_React$Component) {
|
|
|
categories = _this$state.categories,
|
|
|
products = _this$state.products,
|
|
|
config = _this$state.config;
|
|
|
+ console.log(config.contactInformation);
|
|
|
|
|
|
if (products) {
|
|
|
- return dom("div", null, ToC(categories, products), Vademecum(categories, products, config.prices));
|
|
|
+ return dom("div", null, ToC(categories, products), Vademecum(categories, products, config.prices), config.contactInformation && ContactInformation());
|
|
|
} else {
|
|
|
return dom("div", null);
|
|
|
}
|