@openeventkit/event-site 2.0.146 → 2.0.148
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/gatsby-config.mjs
CHANGED
|
@@ -164,7 +164,7 @@ const plugins = [
|
|
|
164
164
|
remarkGfm
|
|
165
165
|
],
|
|
166
166
|
rehypePlugins: [
|
|
167
|
-
rehypeMdxImportMedia
|
|
167
|
+
rehypeMdxImportMedia
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
}
|
|
@@ -228,8 +228,7 @@ const plugins = [
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
|
-
...googleTagManagerPlugin
|
|
232
|
-
"gatsby-plugin-netlify", // make sure to keep it last in the array
|
|
231
|
+
...googleTagManagerPlugin
|
|
233
232
|
];
|
|
234
233
|
|
|
235
234
|
const siteMetadata = {
|
package/gatsby-node.js
CHANGED
|
@@ -238,7 +238,19 @@ const SSR_getSpeakers = async (baseUrl, summitId, accessToken, filter = null) =>
|
|
|
238
238
|
const SSR_getSummit = async (baseUrl, summitId) => {
|
|
239
239
|
|
|
240
240
|
const params = {
|
|
241
|
-
expand: "event_types,
|
|
241
|
+
expand: "event_types," +
|
|
242
|
+
"tracks," +
|
|
243
|
+
"tracks.subtracks," +
|
|
244
|
+
"track_groups," +
|
|
245
|
+
"presentation_levels," +
|
|
246
|
+
"locations," +
|
|
247
|
+
"locations.rooms," +
|
|
248
|
+
"locations.floors," +
|
|
249
|
+
"order_extra_questions.values," +
|
|
250
|
+
"schedule_settings," +
|
|
251
|
+
"schedule_settings.filters," +
|
|
252
|
+
"schedule_settings.pre_filters,"+
|
|
253
|
+
"ticket_types",
|
|
242
254
|
t: Date.now()
|
|
243
255
|
};
|
|
244
256
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openeventkit/event-site",
|
|
3
3
|
"description": "Event Site",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.148",
|
|
5
5
|
"author": "Tipit LLC",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@fortawesome/fontawesome-svg-core": "^6.5.2",
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
"gatsby-plugin-image": "^3.13.1",
|
|
60
60
|
"gatsby-plugin-manifest": "^5.13.1",
|
|
61
61
|
"gatsby-plugin-mdx": "^5.12.3",
|
|
62
|
-
"gatsby-plugin-netlify": "^5.1.1",
|
|
63
62
|
"gatsby-plugin-page-creator": "^5.13.1",
|
|
64
63
|
"gatsby-plugin-sass": "^6.13.1",
|
|
65
64
|
"gatsby-plugin-sharp": "^5.13.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { getImage, getSrc } from "gatsby-plugin-image";
|
|
3
3
|
import Masonry from "react-masonry-css";
|
|
4
4
|
import Slider from "react-slick";
|
|
5
5
|
import Link from "../../components/Link";
|
|
@@ -32,11 +32,11 @@ export default React.forwardRef(({ data }, ref) => (
|
|
|
32
32
|
if (item.images[0].link) {
|
|
33
33
|
return (
|
|
34
34
|
<Link key={index} to={item.images[0].link}>
|
|
35
|
-
<
|
|
35
|
+
<img src={getSrc(image)} alt={alt} />
|
|
36
36
|
</Link>
|
|
37
37
|
);
|
|
38
38
|
} else {
|
|
39
|
-
return <
|
|
39
|
+
return <img key={index} src={getSrc(image)} alt={alt} />;
|
|
40
40
|
};
|
|
41
41
|
} else if (item.images && item.images.length > 1) {
|
|
42
42
|
return (
|
|
@@ -51,11 +51,11 @@ export default React.forwardRef(({ data }, ref) => (
|
|
|
51
51
|
if (image.link) {
|
|
52
52
|
return (
|
|
53
53
|
<Link key={indexSlide} to={image.link}>
|
|
54
|
-
<
|
|
54
|
+
<img src={getSrc(img)} alt={alt} />
|
|
55
55
|
</Link>
|
|
56
56
|
);
|
|
57
57
|
} else {
|
|
58
|
-
return <
|
|
58
|
+
return <img key={indexSlide} src={getSrc(img)} alt={alt} />;
|
|
59
59
|
};
|
|
60
60
|
})}
|
|
61
61
|
</Slider>
|