Tatiana Inama 7 år sedan
förälder
incheckning
ee9c42ddb6
57 ändrade filer med 151 tillägg och 250 borttagningar
  1. 1 1
      css/main.css
  2. 131 77
      data/products-by-category.json
  3. BIN
      images/_img/activo1.png
  4. BIN
      images/_img/activo2.png
  5. BIN
      images/_img/activo3.png
  6. BIN
      images/_img/activo4.png
  7. BIN
      images/_img/activo5.png
  8. BIN
      images/_img/activo6.png
  9. BIN
      images/_img/activo7.png
  10. BIN
      images/_img/antioxidante-corporal-500.png
  11. BIN
      images/_img/argan-bio-caja.png
  12. BIN
      images/_img/audace-120.png
  13. BIN
      images/_img/biodose-caja.png
  14. BIN
      images/_img/bisome-retinol-120.png
  15. BIN
      images/_img/complex-am40-caja.png
  16. BIN
      images/_img/complex-am45-caja.png
  17. BIN
      images/_img/complex-bio-250.png
  18. BIN
      images/_img/complex-bio-60.png
  19. BIN
      images/_img/dd-cream-50.png
  20. BIN
      images/_img/emulsion-120.png
  21. BIN
      images/_img/emulsion-500.png
  22. BIN
      images/_img/espuma-7.png
  23. BIN
      images/_img/exfoliating-250.png
  24. BIN
      images/_img/grosella.png
  25. BIN
      images/_img/hi-serum-120.png
  26. BIN
      images/_img/hi-tonico-120.png
  27. BIN
      images/_img/hi-tonico-50.png
  28. BIN
      images/_img/hialuronico.png
  29. BIN
      images/_img/hidroviton-caja.png
  30. BIN
      images/_img/hsp-20-caja.png
  31. BIN
      images/_img/microdermo-lift-20.png
  32. BIN
      images/_img/micropeeling-30.png
  33. 0 0
      images/_img/not-found.png
  34. BIN
      images/_img/peeling-bio-regulador-30.png
  35. BIN
      images/_img/refreshing-mask-250.png
  36. BIN
      images/_img/renovatio-retinol.png
  37. BIN
      images/_img/renovatio-serum.png
  38. BIN
      images/_img/renovatio-skin-control.png
  39. BIN
      images/_img/sensitive-200.png
  40. BIN
      images/_img/sensitive-50.png
  41. BIN
      images/_img/sepicalm.png
  42. BIN
      images/_img/sesamo.png
  43. BIN
      images/_img/skin-dose-caja.png
  44. BIN
      images/_img/sos-extreme.png
  45. BIN
      images/_img/sos-sculpt.png
  46. BIN
      images/_img/specific-mask-250.png
  47. BIN
      images/_img/strialess.png
  48. BIN
      images/_img/sublime-uvit-60.png
  49. BIN
      images/_img/uvit-serum-120.png
  50. BIN
      images/_img/vitamina-c-caja.png
  51. BIN
      images/_img/vitamina-f-caja.png
  52. BIN
      images/_img/whitening-200.png
  53. BIN
      images/_img/whitening-50.png
  54. 18 3
      js/vademecum-domiciliario.js
  55. 0 8
      pdf/toc.xml
  56. 0 61
      pdf/toc.xsl
  57. 1 100
      vademecum-domiciliario.html

+ 1 - 1
css/main.css

@@ -49,7 +49,7 @@ html {
 }
 
 table {
-    page-break-before: always;
+    /* page-break-before: always; */
     width: 100%;
 }
 

+ 131 - 77
data/products-by-category.json

@@ -17,13 +17,15 @@
 					"code": 1001,
 					"content": "60 ml",
 					"price": 250,
-					"sellPrice": 500
+					"sellPrice": 500,
+					"img": "complex-bio-60"
 				},
 				{
 					"code": 2001,
 					"content": "250 ml.",
 					"price": 398,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "complex-bio-250"
 				}
 			],
 			"name": "Complex Bio Vitamins A+E+C"
@@ -37,7 +39,8 @@
 			"application": "Tras limpiar y tonificar rostro, cuello y escote, aplicar diariamente por la noche. Dependiendo de las necesidades de la piel, se combinará la Crema Sublime Uvit",
 			"actives": [
 				"Polifenoles de pepitas de uva",
-				"Salvia, Tocoferol",
+				"Salvia",
+				"Vitamina E",
 				"Aceite de Jojoba"
 			],
 			"ph": "",
@@ -45,13 +48,15 @@
 					"code": 1002,
 					"content": "60 ml.",
 					"price": 250,
-					"sellPrice": 500
+					"sellPrice": 500,
+					"img": "sublime-uvit-60"
 				},
 				{
 					"code": 2002,
 					"content": "250 ml.",
 					"price": 398,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": ""
 				}
 			],
 			"name": "Sublime Uvit - Crema Reparadora"
@@ -78,7 +83,8 @@
 					"code": 2003,
 					"content": "120 ml.",
 					"price": 380,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "audace-120"
 				}
 			],
 			"name": "Audace - Glico Activo"
@@ -99,13 +105,15 @@
 					"code": 1004,
 					"content": "50 ml.",
 					"price": 210,
-					"sellPrice": 420
+					"sellPrice": 420,
+					"img": ""
 				},
 				{
 					"code": 2004,
 					"content": "120 ml.",
 					"price": 350,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "bisome-retinol-120"
 				}
 			],
 			"name": "Bisome Retinol - Fluido Facial"
@@ -129,7 +137,8 @@
 				"code": 1006,
 				"content": "30 ml.",
 				"price": 280,
-				"sellPrice": 560
+				"sellPrice": 560,
+				"img": ""
 			}],
 			"name": "Repair Eye Contour"
 		},
@@ -157,7 +166,8 @@
 					"code": 2007,
 					"content": "120 ml.",
 					"price": 380,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "uvit-serum-120"
 				}
 			],
 			"name": "Uvit Serum Defense"
@@ -209,7 +219,8 @@
 				"code": 1039,
 				"content": "50 ml.",
 				"price": 230,
-				"sellPrice": 460
+				"sellPrice": 460,
+				"img": "dd-cream-50"
 			}],
 			"name": "DD Cream"
 		},
@@ -231,13 +242,15 @@
 					"code": 1040,
 					"content": "50 ml.",
 					"price": 200,
-					"sellPrice": 400
+					"sellPrice": 400,
+					"img": "whitening-50"
 				},
 				{
 					"code": 2040,
 					"content": "200 ml",
 					"price": 340,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "whitening-200"
 				}
 			],
 			"name": "Whitening Cream"
@@ -260,13 +273,15 @@
 					"code": 1041,
 					"content": "50 ml.",
 					"price": 200,
-					"sellPrice": 400
+					"sellPrice": 400,
+					"img": "sensitive-50"
 				},
 				{
 					"code": 2041,
 					"content": "200 ml",
 					"price": 340,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "sensitive-200"
 				}
 			],
 			"name": "Sensitive Cream"
@@ -287,13 +302,15 @@
 					"code": 1005,
 					"content": "120 ml.",
 					"price": 160,
-					"sellPrice": 320
+					"sellPrice": 320,
+					"img": "emulsion-120"
 				},
 				{
 					"code": 2005,
 					"content": "500 ml.",
 					"price": 290,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "emulsion-500"
 				}
 			],
 			"name": "Emulsión de Higiene"
@@ -313,7 +330,8 @@
 				"code": 2008,
 				"content": "250 ml.",
 				"price": 290,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "exfoliating-250"
 			}],
 			"name": "Exfoliating Scrub"
 		}
@@ -336,7 +354,8 @@
 				"code": 2009,
 				"content": "250 ml.",
 				"price": 330,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "refreshing-mask-250"
 			}],
 			"name": "Refreshing Mask"
 		},
@@ -358,7 +377,8 @@
 				"code": 2010,
 				"content": "250 ml.",
 				"price": 350,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "specific-mask-250"
 			}],
 			"name": "Specific Mask"
 		}
@@ -380,7 +400,8 @@
 				"code": 2012,
 				"content": "30 ml.",
 				"price": 165,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "peeling-bio-regulador-30"
 			}],
 			"name": "Peeling Bio Regulador"
 		},
@@ -401,7 +422,8 @@
 				"code": 2013,
 				"content": "30 ml.",
 				"price": 170,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "micropeeling-30"
 			}],
 			"name": "Micropeeling"
 		}
@@ -421,7 +443,8 @@
 				"code": 1016,
 				"content": "20 ml.",
 				"price": 260,
-				"sellPrice": 520
+				"sellPrice": 520,
+				"img": "microdermo-lift-20"
 			}],
 			"name": "Microdermo Lift"
 		},
@@ -448,7 +471,8 @@
 					"code": 2017,
 					"content": "120 ml.",
 					"price": 380,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img":"hi-serum-120"
 				}
 			],
 			"name": "Hydra Intensive Serum"
@@ -471,13 +495,15 @@
 					"code": 1018,
 					"content": "50 ml.",
 					"price": 210,
-					"sellPrice": 420
+					"sellPrice": 420,
+					"img": "hi-tonico-50"
 				},
 				{
 					"code": 2018,
 					"content": "120 ml.",
 					"price": 320,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "hi-tonico-120"
 				}
 			],
 			"name": "Hydra Intensive Tonico"
@@ -498,7 +524,8 @@
 				"code": 1020,
 				"content": "50 ml.",
 				"price": 210,
-				"sellPrice": 420
+				"sellPrice": 420,
+				"img": "renovatio-retinol"
 			}],
 			"name": "RENOVATIO Retinol For Men"
 		},
@@ -519,7 +546,8 @@
 				"code": 1021,
 				"content": "50 ml.",
 				"price": 210,
-				"sellPrice": 420
+				"sellPrice": 420,
+				"img": "renovatio-serum"
 			}],
 			"name": "RENOVATIO Serum For Men"
 		},
@@ -540,7 +568,8 @@
 				"code": 1022,
 				"content": "50 ml.",
 				"price": 210,
-				"sellPrice": 420
+				"sellPrice": 420,
+				"img": "renovatio-skin-control"
 			}],
 			"name": "RENOVATIO Skin Control For Men"
 		}
@@ -560,7 +589,8 @@
 				"code": 2023,
 				"content": "130 ml.",
 				"price": 210,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "activo1"
 			}],
 			"name": "1 Vitamina C Liposomada"
 		},
@@ -579,7 +609,8 @@
 				"code": 2024,
 				"content": "130 ml.",
 				"price": 200,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "activo2"
 			}],
 			"name": "2 Acido Lipoico"
 		},
@@ -600,7 +631,8 @@
 				"code": 2025,
 				"content": "130 ml.",
 				"price": 190,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "activo3"
 			}],
 			"name": "3 Oligoelementos Marinos +Zn+Cu"
 		},
@@ -619,7 +651,8 @@
 				"code": 2026,
 				"content": "130 ml.",
 				"price": 210,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "activo4"
 			}],
 			"name": "4 Fosfatidilcolina"
 		},
@@ -637,7 +670,8 @@
 				"code": 2027,
 				"content": "130 ml.",
 				"price": 200,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "activo5"
 			}],
 			"name": "5 Centella Asiatica"
 		},
@@ -656,7 +690,8 @@
 				"code": 2028,
 				"content": "130 ml.",
 				"price": 190,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "activo6"
 			}],
 			"name": "6 Espirulina"
 		},
@@ -681,33 +716,10 @@
 				"code": 2029,
 				"content": "130 ml.",
 				"price": 200,
-				"sellPrice": ""
+				"sellPrice": "",
+				"img": "activo7"
 			}],
 			"name": "7 Cafeina"
-		},
-		{
-			"category": [
-				"Activos Concentrados"
-			],
-			"shortDesc": "Tratamiento reafirmante con alto poder nutritivo que, por su composición rica en activos compensadores, mejora en firmeza y elasticidad de la piel, recuperando toda su vitalidad y energía",
-			"fullDesc": "Espuma corporal, específicamente formulada para potenciar el tratamiento reductor, anticelulítico y tonificante corporal. Ayuda a eliminar el aspecto visible de la celulitis, mejora la tonicidad de los tejidos, disminuye la sensación de piernas cansadas. Reequilibra a la piel en oligoelementos, minerales, aminoácidos y proteínas. Piel más lisa, firme, elástica, suave y luminosa. Puede utilizarse también como apoyo domiciliario",
-			"actives": [
-				"Cafeína",
-				"Centella Asiática",
-				"Acido Lipoico",
-				"Fosfatidilcolina",
-				"Espirulina",
-				"Vitamina C Liposomada",
-				"Oligoelementos marinos + Zn + CU"
-			],
-			"application": "En gabinete, aplicar luego del Scrub, en sinergia con activos concentrados, Centella Asiática, Cafeina, Fosfatidilcolina. Puede combinarse con aparatología. Apoyo domiciliario: Aplicar antes de hacer ejercicio y después de ducharse. Indicada para todo tipo de piel.",
-			"variants": [{
-				"code": 1049,
-				"content": "160 ml.",
-				"price": 290,
-				"sellPrice": 580
-			}],
-			"name": "Espuma ACTIVE 7"
 		}
 	],
 	"Monodosis": [{
@@ -726,7 +738,8 @@
 				"code": 1030,
 				"content": "6 x 5 ml.",
 				"price": 540,
-				"sellPrice": 1080
+				"sellPrice": 1080,
+				"img": "hidroviton-caja"
 			}],
 			"name": "Hydroviton - Monodosis"
 		},
@@ -745,7 +758,8 @@
 				"code": 1031,
 				"content": "6 x 5 ml.",
 				"price": 515,
-				"sellPrice": 1030
+				"sellPrice": 1030,
+				"img": "vitamina-f-caja"
 			}],
 			"name": "Vitamina F Pure - Monodosis"
 		},
@@ -765,7 +779,8 @@
 				"code": 1032,
 				"content": "6 x 5 ml.",
 				"price": 583,
-				"sellPrice": 1166
+				"sellPrice": 1166,
+				"img": "skin-dose-caja"
 			}],
 			"name": "Skin Dose - Monodosis"
 		},
@@ -786,7 +801,8 @@
 				"code": 1033,
 				"content": "6 x 5 ml.",
 				"price": 500,
-				"sellPrice": 1000
+				"sellPrice": 1000,
+				"img": "biodose-caja"
 			}],
 			"name": "Bio Dose - Monodosis"
 		},
@@ -806,7 +822,8 @@
 				"code": 1034,
 				"content": "6 x 5 ml.",
 				"price": 590,
-				"sellPrice": 1180
+				"sellPrice": 1180,
+				"img": "hsp-20-caja"
 			}],
 			"name": "HSP - 20 - Monodosis"
 		},
@@ -825,7 +842,8 @@
 				"code": 1035,
 				"content": "6 x 5 ml.",
 				"price": 630,
-				"sellPrice": 1260
+				"sellPrice": 1260,
+				"img": "complex-am40-caja"
 			}],
 			"name": "Complex AM 40 - Monodosis"
 		},
@@ -845,7 +863,8 @@
 				"code": 1036,
 				"content": "6 x 5 ml.",
 				"price": 610,
-				"sellPrice": 1220
+				"sellPrice": 1220,
+				"img": "complex-am45-caja"
 			}],
 			"name": "Complex AM 45 - Monodosis"
 		},
@@ -864,7 +883,8 @@
 				"code": 1037,
 				"content": "6 x 5 ml.",
 				"price": 600,
-				"sellPrice": 1200
+				"sellPrice": 1200,
+				"img": "vitamina-c-caja"
 			}],
 			"name": "Vitamina C - Monodosis"
 		},
@@ -883,7 +903,8 @@
 				"code": 1038,
 				"content": "6 x 5 ml.",
 				"price": 630,
-				"sellPrice": 1260
+				"sellPrice": 1260,
+				"img": "argan-bio-caja"
 			}],
 			"name": "Argan Bio + - Monodosis"
 		}
@@ -902,7 +923,8 @@
 				"code": 1044,
 				"content": "40 ml",
 				"price": 290,
-				"sellPrice": 580
+				"sellPrice": 580,
+				"img": "hialuronico"
 			}],
 			"name": "PROTECTION TIME  Color  Ác Hialurónico"
 		},
@@ -921,7 +943,8 @@
 				"code": 1045,
 				"content": "40 ml",
 				"price": 280,
-				"sellPrice": 560
+				"sellPrice": 560,
+				"img": "sepicalm"
 			}],
 			"name": "PROTECTION TIME Sepicalm V.G."
 		},
@@ -939,7 +962,8 @@
 				"code": 2044,
 				"content": "200 ml",
 				"price": 610,
-				"sellPrice": 1220
+				"sellPrice": 1220,
+				"img": "grosella"
 			}],
 			"name": "PROTECTION TIME  Color Grosella"
 		},
@@ -957,7 +981,8 @@
 				"code": 2045,
 				"content": "200 ml",
 				"price": 600,
-				"sellPrice": 1200
+				"sellPrice": 1200,
+				"img": "sesamo"
 			}],
 			"name": "PROTECTION TIME  Aceite de Sésamo"
 		}
@@ -985,11 +1010,37 @@
 					"code": 2046,
 					"content": "500 ml.",
 					"price": 370,
-					"sellPrice": ""
+					"sellPrice": "",
+					"img": "antioxidante-corporal-500"
 				}
 			],
 			"name": "Crema Antioxidante Corporal"
 		},
+		{
+			"category": [
+				"Corporales"
+			],
+			"shortDesc": "Tratamiento reafirmante con alto poder nutritivo que, por su composición rica en activos compensadores, mejora en firmeza y elasticidad de la piel, recuperando toda su vitalidad y energía",
+			"fullDesc": "Espuma corporal, específicamente formulada para potenciar el tratamiento reductor, anticelulítico y tonificante corporal. Ayuda a eliminar el aspecto visible de la celulitis, mejora la tonicidad de los tejidos, disminuye la sensación de piernas cansadas. Reequilibra a la piel en oligoelementos, minerales, aminoácidos y proteínas. Piel más lisa, firme, elástica, suave y luminosa. Puede utilizarse también como apoyo domiciliario",
+			"actives": [
+				"Cafeína",
+				"Centella Asiática",
+				"Acido Lipoico",
+				"Fosfatidilcolina",
+				"Espirulina",
+				"Vitamina C Liposomada",
+				"Oligoelementos marinos + Zn + CU"
+			],
+			"application": "En gabinete, aplicar luego del Scrub, en sinergia con activos concentrados, Centella Asiática, Cafeina, Fosfatidilcolina. Puede combinarse con aparatología. Apoyo domiciliario: Aplicar antes de hacer ejercicio y después de ducharse. Indicada para todo tipo de piel.",
+			"variants": [{
+				"code": 1049,
+				"content": "160 ml.",
+				"price": 290,
+				"sellPrice": 580,
+				"img": "espuma-7"
+			}],
+			"name": "Espuma ACTIVE 7"
+		},
 		{
 			"category": [
 				"Corporales"
@@ -1004,7 +1055,8 @@
 				"code": 1050,
 				"content": "160 ml.",
 				"price": 300,
-				"sellPrice": 600
+				"sellPrice": 600,
+				"img": "strialess"
 			}],
 			"name": "Espuma Strialess"
 		},
@@ -1022,7 +1074,8 @@
 				"code": 1051,
 				"content": "160ml.",
 				"price": 300,
-				"sellPrice": 600
+				"sellPrice": 600,
+				"img": "sos-sculpt"
 			}],
 			"name": "S.O.S Sculpt"
 		},
@@ -1040,7 +1093,8 @@
 				"code": 1052,
 				"content": "160 ml.",
 				"price": 300,
-				"sellPrice": 600
+				"sellPrice": 600,
+				"img": "sos-extreme"
 			}],
 			"name": "S.O.S Extreme"
 		}

BIN
images/_img/activo1.png


BIN
images/_img/activo2.png


BIN
images/_img/activo3.png


BIN
images/_img/activo4.png


BIN
images/_img/activo5.png


BIN
images/_img/activo6.png


BIN
images/_img/activo7.png


BIN
images/_img/antioxidante-corporal-500.png


BIN
images/_img/argan-bio-caja.png


BIN
images/_img/audace-120.png


BIN
images/_img/biodose-caja.png


BIN
images/_img/bisome-retinol-120.png


BIN
images/_img/complex-am40-caja.png


BIN
images/_img/complex-am45-caja.png


BIN
images/_img/complex-bio-250.png


BIN
images/_img/complex-bio-60.png


BIN
images/_img/dd-cream-50.png


BIN
images/_img/emulsion-120.png


BIN
images/_img/emulsion-500.png


BIN
images/_img/espuma-7.png


BIN
images/_img/exfoliating-250.png


BIN
images/_img/grosella.png


BIN
images/_img/hi-serum-120.png


BIN
images/_img/hi-tonico-120.png


BIN
images/_img/hi-tonico-50.png


BIN
images/_img/hialuronico.png


BIN
images/_img/hidroviton-caja.png


BIN
images/_img/hsp-20-caja.png


BIN
images/_img/microdermo-lift-20.png


BIN
images/_img/micropeeling-30.png


images/not-found.png → images/_img/not-found.png


BIN
images/_img/peeling-bio-regulador-30.png


BIN
images/_img/refreshing-mask-250.png


BIN
images/_img/renovatio-retinol.png


BIN
images/_img/renovatio-serum.png


BIN
images/_img/renovatio-skin-control.png


BIN
images/_img/sensitive-200.png


BIN
images/_img/sensitive-50.png


BIN
images/_img/sepicalm.png


BIN
images/_img/sesamo.png


BIN
images/_img/skin-dose-caja.png


BIN
images/_img/sos-extreme.png


BIN
images/_img/sos-sculpt.png


BIN
images/_img/specific-mask-250.png


BIN
images/_img/strialess.png


BIN
images/_img/sublime-uvit-60.png


BIN
images/_img/uvit-serum-120.png


BIN
images/_img/vitamina-c-caja.png


BIN
images/_img/vitamina-f-caja.png


BIN
images/_img/whitening-200.png


BIN
images/_img/whitening-50.png


+ 18 - 3
js/vademecum-domiciliario.js

@@ -10,7 +10,10 @@ const Tag = (label, key, className) => (
 const Product = (product, withPrice) => (
 	<div className="container sell-product-container">
 		<div className="columns">
-			<div className="column is-10">
+			<div className="column is-2">
+				<img src={`images/_img/${product.variants[0].img || 'not-found'}.png`}/>
+			</div>
+			<div className="column is-8">
 				<h4>{ product.name }</h4>
 				<p>{ product.shortDesc || product.fullDesc}</p>
 				<div className="tags">
@@ -72,7 +75,6 @@ class VademecumDomiciliario extends React.Component {
 						[ "Hombres", "hombres" ],
 						[ "Protección Intensiva", "proteccion-intensiva" ],
 						[ "Monodosis", "monodosis" ],
-						[ "Activos Concentrados", "activos-concentrados" ],
 						[ "Protección Solar", "proteccion-solar" ]
 					],
           products: null,
@@ -80,8 +82,21 @@ class VademecumDomiciliario extends React.Component {
     }
 
     componentDidMount() {
-			fetch('data/products-home.json')
+			fetch('data/products-by-category.json')
 				.then(response => response.json())
+				.then(data => {
+					const categories = Object.keys(data);
+					return categories.reduce((products, categoryName) => {
+						const filtered = data[categoryName].filter(product => {
+							const valid = product.variants.filter(v => v.code < 2000);
+							return valid.length || product.category.includes('Protección Solar'); // Sunscreens are also required for this Vademecum
+						});
+						return {
+							...products,
+							[categoryName]: filtered
+						}
+					}, {})
+				})
 				.then(data => {
 				this.setState({
 						products: data,

+ 0 - 8
pdf/toc.xml

@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<outline xmlns="http://wkhtmltopdf.org/outline">
-  <item title="Vademecum" page="0" link="__WKANCHOR_0" backLink="__WKANCHOR_1">
-    <item title="VADEMECUM PROFESIONAL" page="1" link="__WKANCHOR_2" backLink="__WKANCHOR_3">
-      <item title="NOSOTROS" page="2" link="__WKANCHOR_4" backLink="__WKANCHOR_5"/>
-    </item>
-  </item>
-</outline>

+ 0 - 61
pdf/toc.xsl

@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<xsl:stylesheet version="2.0"

-                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

-                xmlns:outline="http://wkhtmltopdf.org/outline"

-                xmlns="http://www.w3.org/1999/xhtml">

-  <xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"

-              doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

-              indent="yes" />

-  <xsl:template match="outline:outline">

-    <html>

-      <head>

-        <title>Table of Contents</title>

-        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

-        <style>

-          h1 {

-            text-align: center;

-            font-size: 20px;

-            font-family: arial;

-          }

-          div {border-bottom: 1px dashed rgb(200,200,200);}

-          span {float: right;}

-          li {list-style: none;}

-          ul {

-            font-size: 20px;

-            font-family: arial;

-          }

-          ul ul {font-size: 80%; }

-          ul {padding-left: 0em;}

-          ul ul {padding-left: 1em;}

-          a {text-decoration:none; color: black;}

-        </style>

-      </head>

-      <body>

-        <h1>Table of Contents</h1>

-        <ul><xsl:apply-templates select="outline:item/outline:item"/></ul>

-      </body>

-    </html>

-  </xsl:template>

-  <xsl:template match="outline:item">

-    <li>

-      <xsl:if test="@title!=''">

-        <div>

-          <a>

-            <xsl:if test="@link">

-              <xsl:attribute name="href"><xsl:value-of select="@link"/></xsl:attribute>

-            </xsl:if>

-            <xsl:if test="@backLink">

-              <xsl:attribute name="name"><xsl:value-of select="@backLink"/></xsl:attribute>

-            </xsl:if>

-            <xsl:value-of select="@title" /> 

-          </a>

-          <span> <xsl:value-of select="@page" /> </span>

-        </div>

-      </xsl:if>

-      <ul>

-        <xsl:comment>added to prevent self-closing tags in QtXmlPatterns</xsl:comment>

-        <xsl:apply-templates select="outline:item"/>

-      </ul>

-    </li>

-  </xsl:template>

-</xsl:stylesheet>


+ 1 - 100
vademecum-domiciliario.html

@@ -34,7 +34,7 @@
         <tr><td>
           <div class="us-container">
               <p>
-                Productos profesionales, elaborados con normas de calidad internacional GMP, basados en sustancias activas concentradas de gran pureza y vehículos específicos altamente eficaces que permiten optimizar la belleza y cuidados personalizados de la piel, con base científica.
+                Productos profesionales, elaborados con normas de calidad internacional GMP, basados en sustancias activas concentradas de máxima pureza y vehículos específicos altamente eficaces que permiten optimizar la belleza y cuidados personalizados de la piel con base científica.
               </p>
               <p>
                 ESPECIFICOS Buenos Aires se compromete a garantizar productos de confianza, ultra-eficaces, tecnología de avanzada y control de calidad permanente bajo normas internacionales de bioseguridad. Texturas aterciopeladas, principios activos de gran pureza, vehículos especializados que conforman productos vanguardistas con delicadas fragancias.
@@ -71,105 +71,6 @@
 
     <div id="vademecum-domiciliario" class="container"></div>
 
-    <table>
-      <thead>
-        <tr>
-          <th>
-            <h2>Contacto</h2>
-          </th>
-        </tr>
-      </thead>
-      <tbody>
-        <tr><td>
-          <div class="contact-container">
-            <h3>En Argentina</h3>
-            <div class="contact-body">
-              <div class="section-container">
-                <h4 class="section-name">
-                  Dirección
-                </h4>
-                <p class="section-body">
-                  Leopoldo Marechal 914, Ciudad Autónoma de Buenos Aires
-                </p>
-              </div>
-              <div class="section-container">
-                <h4 class="section-name">
-                  Telefono
-                </h4>
-                <p class="section-body">
-                  (+5411) 4139-6860/1
-                </p>
-              </div>
-              <div class="section-container">
-                <h4 class="section-name">
-                  Email
-                </h4>
-                <p class="section-body">
-                  consultas@especificosba.com.ar
-                </p>
-              </div>
-            </div>
-          </div>
-        </td></tr>
-
-        <tr><td>
-          <div class="contact-container">
-            <h3>En México</h3>
-            <div class="contact-body">
-              <div class="section-container">
-                <h4 class="section-name">
-                  Teléfono
-                </h4>
-                <p class="section-body">
-                  (+5255)4170-8856
-                </p>
-              </div>
-              <div class="section-container">
-                <h4 class="section-name">
-                  Email
-                </h4>
-                <p class="section-body">
-                  contactos@skin-connect.com.mx
-                </p>
-              </div>
-            </div>
-          </div>
-        </td></tr>
-        <tr><td>
-          <div class="contact-container">
-            <h3>En Ecuador</h3>
-            <div class="contact-body">
-              <div class="section-container">
-                <h4 class="section-name">
-                  Dirección
-                </h4>
-                <p class="section-body">
-                  Luis Cordero 1254, Cuenca, Azuay
-                </p>
-              </div>
-              <div class="section-container">
-                <h4 class="section-name">
-                  Teléfono
-                </h4>
-                <p class="section-body">
-                  (+593)07283-5550
-                  (+593)07284-1207
-                </p>
-              </div>
-              <div class="section-container">
-                <h4 class="section-name">
-                  Email
-                </h4>
-                <p class="section-body">
-                  casamonickaventas@yahoo.com
-                </p>
-              </div>
-            </div>
-          </div>
-        </td></tr>
-      </tbody> 
-    </table>
-    
     <script src="js/react.production.min.js"></script>
     <script src="js/react-dom.production.min.js"></script>