@griddo/cx 1.67.1 → 1.67.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/cx",
3
3
  "description": "Griddo SSG based on Gatsby",
4
- "version": "1.67.1",
4
+ "version": "1.67.4",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -64,7 +64,7 @@
64
64
  "react-helmet": "^6.0.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@griddo/eslint-config-back": "^1.67.1",
67
+ "@griddo/eslint-config-back": "^1.67.4",
68
68
  "eslint": "^7.5.0",
69
69
  "eslint-plugin-node": "^11.1.0",
70
70
  "eslint-plugin-react": "7.14.3",
@@ -96,5 +96,5 @@
96
96
  "publishConfig": {
97
97
  "access": "public"
98
98
  },
99
- "gitHead": "03c2d30998ed330b63a484e3e6117be3ccea8770"
99
+ "gitHead": "a356dd64d48cd9d3043adc038e43e6158d8f6241"
100
100
  }
@@ -44,6 +44,9 @@ export default data => {
44
44
 
45
45
  const mappedTheme = theme || 'default-theme';
46
46
 
47
+ if (!content.dimensions) content.dimensions = [];
48
+ content.dimensions.values = analyticsDimensions;
49
+
47
50
  return (
48
51
  <SiteProvider
49
52
  theme={mappedTheme}
@@ -75,33 +78,6 @@ export default data => {
75
78
  analyticsDimensions={analyticsDimensions}
76
79
  analyticsScript={analyticsScript}
77
80
  />
78
-
79
- {/*
80
-
81
- El componente Page de @griddo/core se encarga de renderizar header,
82
- footer y los módulos mediante un bucle interno.
83
-
84
- +---------------------------+ --> +---------------------------+
85
- | header | | <SiteProvider/> |
86
- +---------------------------+ --> | <PageProvider/> |
87
- | template{} | | <Header/> |
88
- | -> section 0 -> modules[] | --> | |
89
- | -> section n -> modules[] | | <HeroSection/> |
90
- +---------------------------+ --> | <Module/> |
91
- | footer | | |
92
- +---------------------------+ --> | <MainSection/> |
93
- | <Module/> |
94
- | <Module/> |
95
- | <Module/> |
96
- | <Module/> |
97
- | |
98
- | <Footer/> |
99
- | <PageProvider/> |
100
- | <SiteProvider/> |
101
- +---------------------------+
102
-
103
- */}
104
-
105
81
  <RenderGriddoPage
106
82
  content={content}
107
83
  header={header}