gatsby-core-theme 33.1.2 → 33.1.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/CHANGELOG.md +19 -0
- package/package.json +1 -1
- package/src/components/molecules/bonus/template-one/index.js +4 -4
- package/src/components/molecules/bonus/template-two/index.js +1 -1
- package/src/components/molecules/newsletter/form/index.js +2 -2
- package/src/components/molecules/toplist/default-row/index.js +3 -3
- package/src/helpers/processor/index.mjs +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## [33.1.4](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v33.1.3...v33.1.4) (2024-06-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix images url size ([a7f1f90](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/a7f1f908ad6d7e705911a6a00aef543250e96de0))
|
|
7
|
+
* newsletter ([a9e9747](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/a9e9747102f076267d64b80e0f7e6e972efdd229))
|
|
8
|
+
* structure ([e5e9d9d](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/e5e9d9dc4e4c4cf84344e47039aabe902540f3ec))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
* Merge branch 'tm-4462-newsletter' into 'master' ([48b7242](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/48b724201a4ac58621b96fa4a54921076dda1dee))
|
|
12
|
+
|
|
13
|
+
## [33.1.3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v33.1.2...v33.1.3) (2024-06-25)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* disabled reading time ([9029b83](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9029b83354c9d752de3bfcc6911ab24897d4477f))
|
|
19
|
+
|
|
1
20
|
## [33.1.2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v33.1.1...v33.1.2) (2024-06-25)
|
|
2
21
|
|
|
3
22
|
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@ export default function Bonus({
|
|
|
19
19
|
},
|
|
20
20
|
tncEnable = true,
|
|
21
21
|
tncFixed = false,
|
|
22
|
-
width = '
|
|
22
|
+
width = '120',
|
|
23
23
|
height = '120',
|
|
24
24
|
showRoundedRating = false,
|
|
25
25
|
}) {
|
|
@@ -44,9 +44,9 @@ export default function Bonus({
|
|
|
44
44
|
>
|
|
45
45
|
<LazyImage
|
|
46
46
|
alt={operator?.name}
|
|
47
|
-
src={imagePrettyUrl(logo?.filename)}
|
|
48
|
-
height={
|
|
49
|
-
width={
|
|
47
|
+
src={imagePrettyUrl(logo?.filename, width, height)}
|
|
48
|
+
height={height}
|
|
49
|
+
width={width}
|
|
50
50
|
/>
|
|
51
51
|
<div className={styles.details}>
|
|
52
52
|
{(bonus?.operator_name || name) && <span>{bonus?.operator_name || name}</span>}
|
|
@@ -40,9 +40,9 @@ const NewsletterForm = ({
|
|
|
40
40
|
const bacomApi = async (name, email, phomeNumber) => {
|
|
41
41
|
// eslint-disable-next-line no-bitwise
|
|
42
42
|
const timestamp = (Date.now() / 1000) | 0;
|
|
43
|
-
const refUrl = process.env.BACOM_REF_URL;
|
|
43
|
+
const refUrl = getUrl(path)?.replace('https://', '') || process.env.BACOM_REF_URL;
|
|
44
44
|
const validatePhoneNr = typeof phomeNumber === 'undefined';
|
|
45
|
-
const refName =
|
|
45
|
+
const refName = process.env.BACOM_REF_NAME;
|
|
46
46
|
|
|
47
47
|
await fetch(
|
|
48
48
|
`https://bacom.dk/subscribe/gig/?firstname=${name}&user_ip=${ip}&ref_name=${refName}&ref_url=${refUrl}×tamp=${timestamp}&country=${country}&email=${email}${
|
|
@@ -51,9 +51,9 @@ const Row = ({
|
|
|
51
51
|
>
|
|
52
52
|
<LazyImage
|
|
53
53
|
alt={getAltText(item?.logo, item.name)}
|
|
54
|
-
src={imagePrettyUrl(item?.logo?.filename,
|
|
55
|
-
width={
|
|
56
|
-
height={
|
|
54
|
+
src={imagePrettyUrl(item?.logo?.filename, width, height)}
|
|
55
|
+
width={width}
|
|
56
|
+
height={height}
|
|
57
57
|
/>
|
|
58
58
|
</PrettyLink>
|
|
59
59
|
<Bonus module="bonus" item={item} tracker={oneliner} />
|
|
@@ -345,9 +345,9 @@ export default {
|
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
// add reading time for each page
|
|
348
|
-
transformedPages[market][pageType][index].reading_time = getReadingTime(
|
|
349
|
-
|
|
350
|
-
);
|
|
348
|
+
// transformedPages[market][pageType][index].reading_time = getReadingTime(
|
|
349
|
+
// transformedPages[market][pageType][index]?.sections
|
|
350
|
+
// );
|
|
351
351
|
|
|
352
352
|
// add breadcrumbs array to page
|
|
353
353
|
const pageBreadcrumbIds = transformedPages[market][pageType][index].breadcrumb_ids;
|