gatsby-core-theme 35.0.0 → 35.0.2
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [35.0.2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v35.0.1...v35.0.2) (2024-07-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* v2 api url env update ([0a30477](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/0a304773a4b283be114f84a8df5ac9f56922e7f4))
|
|
7
|
+
|
|
8
|
+
## [35.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v35.0.0...v35.0.1) (2024-07-17)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* rename excludePopup to disablePopup ([124fe43](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/124fe432256099fe5d567a17fa0c2e541c8150b4))
|
|
14
|
+
* update site settings navigation ([83d4838](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/83d4838fc8de8e10167f793f4524f81e2305db34))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
* Merge branch 'tm-4420-info-page-type' into 'master' ([c008de3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c008de39b8d63b2f52c824eefd893e0a487bbcb3))
|
|
18
|
+
|
|
1
19
|
# [35.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v34.0.6...v35.0.0) (2024-07-16)
|
|
2
20
|
|
|
3
21
|
|
package/package.json
CHANGED
|
@@ -8,6 +8,7 @@ export const pageTypes = {
|
|
|
8
8
|
exclusiveOperator: false,
|
|
9
9
|
navMenu: 'main_menu',
|
|
10
10
|
showNavMenu: true,
|
|
11
|
+
disablePopup: true,
|
|
11
12
|
},
|
|
12
13
|
responsible_gambling_guide: {
|
|
13
14
|
section: 'rg_navigation',
|
|
@@ -17,10 +18,15 @@ export const pageTypes = {
|
|
|
17
18
|
exclusiveOperator: false,
|
|
18
19
|
navMenu: 'rg_menu',
|
|
19
20
|
showNavMenu: true,
|
|
21
|
+
disablePopup: true,
|
|
20
22
|
},
|
|
21
23
|
ppc: {
|
|
22
24
|
showNavMenu: false,
|
|
23
25
|
showLogoWithLink: false,
|
|
26
|
+
disablePopup: true,
|
|
27
|
+
},
|
|
28
|
+
sports: {
|
|
29
|
+
disablePopup: true,
|
|
24
30
|
},
|
|
25
31
|
default: {
|
|
26
32
|
section: 'navigation',
|
|
@@ -30,5 +36,6 @@ export const pageTypes = {
|
|
|
30
36
|
exclusiveOperator: true,
|
|
31
37
|
navMenu: 'main_menu',
|
|
32
38
|
showNavMenu: true,
|
|
39
|
+
disablePopup: false,
|
|
33
40
|
},
|
|
34
41
|
};
|
package/src/helpers/api.mjs
CHANGED
|
@@ -49,7 +49,7 @@ export async function getSiteSettings(siteName) {
|
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
const path =
|
|
52
|
+
const path = `${process.env.GATSBY_API_URL_V2}/v0.1/sites/settings/sorted-v2/${siteName}`;
|
|
53
53
|
console.log(chalk.magenta('calling ') + chalk.whiteBright(path));
|
|
54
54
|
const start = new Date();
|
|
55
55
|
return new Promise((resolve, reject) => {
|
|
@@ -77,7 +77,7 @@ export async function getTranslations(siteName, params) {
|
|
|
77
77
|
},
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
const path =
|
|
80
|
+
const path = `${process.env.GATSBY_API_URL_V2}/v0.1/translations/sorted/${siteName}${params ? `?${params}` : ''}`;
|
|
81
81
|
console.log(chalk.magenta('calling ') + chalk.whiteBright(path));
|
|
82
82
|
const start = new Date();
|
|
83
83
|
return new Promise((resolve, reject) => {
|