gatsby-matrix-theme 3.2.25 → 4.0.0
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 +66 -0
- package/gatsby-config.js +1 -6
- package/package.json +2 -2
- package/src/components/atoms/cards/base-card/index.js +1 -1
- package/src/components/atoms/cards/game-card/index.js +11 -9
- package/src/components/atoms/cards/payment-method-card/index.js +1 -0
- package/src/components/atoms/cards/software-provider-card/index.js +1 -0
- package/src/components/atoms/table/column/index.js +5 -2
- package/src/gatsby-core-theme/components/atoms/module-title/index.js +11 -14
- package/src/gatsby-core-theme/components/atoms/spotlights/spotlights.module.scss +83 -0
- package/src/gatsby-core-theme/components/molecules/content/content.module.scss +16 -0
- package/src/gatsby-core-theme/components/molecules/search/index.js +1 -1
- package/src/gatsby-core-theme/components/pages/body/index.js +23 -1
- package/storybook/public/{1.ac251b98.iframe.bundle.js → 1.2a2b1ee2.iframe.bundle.js} +1 -1
- package/storybook/public/{5.f8a95893.iframe.bundle.js → 5.6967d34e.iframe.bundle.js} +3 -3
- package/storybook/public/{5.f8a95893.iframe.bundle.js.LICENSE.txt → 5.6967d34e.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/5.6967d34e.iframe.bundle.js.map +1 -0
- package/storybook/public/{6.ad9d9402.iframe.bundle.js → 6.892dc208.iframe.bundle.js} +1 -1
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.e69fd645.iframe.bundle.js +1 -0
- package/storybook/public/{runtime~main.3e464ba9.iframe.bundle.js → runtime~main.3d3135a4.iframe.bundle.js} +1 -1
- package/storybook/public/{vendors~main.1f5a74cb.iframe.bundle.js → vendors~main.0a927976.iframe.bundle.js} +4 -4
- package/storybook/public/{vendors~main.1f5a74cb.iframe.bundle.js.LICENSE.txt → vendors~main.0a927976.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/vendors~main.0a927976.iframe.bundle.js.map +1 -0
- package/storybook/public/5.f8a95893.iframe.bundle.js.map +0 -1
- package/storybook/public/main.043a2c57.iframe.bundle.js +0 -1
- package/storybook/public/vendors~main.1f5a74cb.iframe.bundle.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,69 @@
|
|
|
1
|
+
# [4.0.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.28...v4.0.0) (2022-02-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* added new spotlights style ([97ff16c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/97ff16c77e661adbd34be588fd845568bc72cf91))
|
|
7
|
+
* content frame style ([64878ea](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/64878ea15e3e8d2aa2b32d31f1edddb2b77df392))
|
|
8
|
+
* content module ([dd73e88](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/dd73e88f5a8086e6a3e8968ceb6f5d80c53d9b68))
|
|
9
|
+
* fixed sizes ([9fe7c2b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9fe7c2b941329dc47b254aafe4941dcd7686284e))
|
|
10
|
+
* merged master branch ([f0ed925](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f0ed92598c46d84316c0381e1aa3fa7515dad199))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Code Refactoring
|
|
14
|
+
|
|
15
|
+
* correction to runner ([5e82a01](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5e82a014a54def57d170719776a7a5cc261ef6dc))
|
|
16
|
+
* new pipeline for custom demo deployment ([854d8a7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/854d8a751d5fb9b7480eb7e3d1cbc9384106b57c))
|
|
17
|
+
* remove deploy pipelines server ssh key ([90861f3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/90861f3c0c308e6f6747ac601fa5012f2516367b))
|
|
18
|
+
* remove unused pipeline ([28f7393](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/28f739391639f1ea6a06f9afc3eb5094a6d3ea87))
|
|
19
|
+
* update deployment pipelines ([df8b5ab](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/df8b5ab85c9ef85911a40bb85688b86df366f22a))
|
|
20
|
+
* update img alt tags ([5f7b504](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5f7b5040fbb8fa683d872a9d453c9ed5855f992b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
* Merge branch 'tm-2703-custom-demo-deployment' into 'master' ([8ae95cc](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8ae95cce0c0737d5a77c0efe66e9acc49cd2172a))
|
|
24
|
+
* Merge branch 'master' into tm-2703-custom-demo-deployment ([9cfd3b3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9cfd3b33d62ac17ef5b966962eb6e9909a9497dd))
|
|
25
|
+
* Merge branch 'tm-2715-update-img-alt-tags' into 'master' ([fe14659](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fe1465976cf2cae2466c846ef1c0189266932a4b))
|
|
26
|
+
* Merge branch 'master' into tm-2703-custom-demo-deployment ([52c066f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/52c066fc92e4869691c10aaecc66c9f7f6631bce))
|
|
27
|
+
* Merge branch 'tm-2624-spotlights' into 'master' ([2a2656d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2a2656da47b99198ffed61486a6072e6983836be))
|
|
28
|
+
* Merge branch 'tm-2702-update-deployment-pipelines' into 'master' ([e9f0b13](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e9f0b13f3bd3e5e7fc6982d76d329eb0796055da))
|
|
29
|
+
|
|
30
|
+
## [3.2.28](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.27...v3.2.28) (2022-02-08)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* fixed prelive path ([613be59](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/613be5928fa86f418bd5296f701b32ae77d54d1d))
|
|
36
|
+
* preconnectLinks removed ([325406c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/325406c1f772dce8a42c3be89a3c8213579957d4))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
* Merge branch 'tm-2681-canary-tokens' into 'master' ([bcbf07d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bcbf07d830c41f628d180ef592ffb82a8e0f9b00))
|
|
40
|
+
|
|
41
|
+
## [3.2.27](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.26...v3.2.27) (2022-02-08)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* added canary token script ([af5479f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/af5479fa3e9814baf9a06368a560754d10f0f49e))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Config
|
|
50
|
+
|
|
51
|
+
* updated to latest core version ([bc48d27](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bc48d277b3dba149aeeffdaff490b8715320f288))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
* Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme ([23020a5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/23020a5036887d5570c1958820c4de74b211a938))
|
|
55
|
+
* Merge branch 'tm-2681-canary-tokens' into 'master' ([49fca6c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/49fca6ced00281ce2a4a17f93b927179fddbf8ff))
|
|
56
|
+
|
|
57
|
+
## [3.2.26](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.25...v3.2.26) (2022-02-08)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
* removing unused divs ([7f5bc6d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7f5bc6dcc182d025117e2005c3973f41973588f3))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
* Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme ([f704c0b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f704c0b58a8a8e124790281ad36637454216bdde))
|
|
66
|
+
|
|
1
67
|
## [3.2.25](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.24...v3.2.25) (2022-02-07)
|
|
2
68
|
|
|
3
69
|
|
package/gatsby-config.js
CHANGED
|
@@ -16,12 +16,7 @@ module.exports = {
|
|
|
16
16
|
resolve: `gatsby-core-theme`,
|
|
17
17
|
options: {
|
|
18
18
|
siteName: process.env.GATSBY_SITE_NAME,
|
|
19
|
-
preconnectLinks: [
|
|
20
|
-
'https://www.google-analytics.com',
|
|
21
|
-
'https://www.googletagmanager.com',
|
|
22
|
-
'https://gm.innocraft.cloud',
|
|
23
|
-
process.env.IMAGE_CDN_URL,
|
|
24
|
-
],
|
|
19
|
+
preconnectLinks: [process.env.IMAGE_CDN_URL],
|
|
25
20
|
},
|
|
26
21
|
},
|
|
27
22
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Matrix Theme NPM Package",
|
|
6
6
|
"author": "",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"cross-env": "^7.0.2",
|
|
32
32
|
"dotenv": "8.2.0",
|
|
33
33
|
"gatsby": "^3.3.1",
|
|
34
|
-
"gatsby-core-theme": "^
|
|
34
|
+
"gatsby-core-theme": "^3.0.0",
|
|
35
35
|
"gatsby-image": "^3.3.0",
|
|
36
36
|
"gatsby-plugin-image": "^1.3.1",
|
|
37
37
|
"gatsby-plugin-postcss": "^4.3.0",
|
|
@@ -25,15 +25,17 @@ const GameCard = ({ item, button_text = 'play_now', width, height }) => {
|
|
|
25
25
|
return (
|
|
26
26
|
<BaseCard item={item} isLinked cardType="game">
|
|
27
27
|
{!featured && (
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
)}
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
<Link
|
|
29
|
+
to={path}
|
|
30
|
+
className={`game-card-gtm ${styles.cardBanner}`}
|
|
31
|
+
aria-label={`${title} Link`}
|
|
32
|
+
>
|
|
33
|
+
{banner ? (
|
|
34
|
+
<LazyImage width={width} height={height} src={imagePrettyUrl(banner)} alt={title} />
|
|
35
|
+
) : (
|
|
36
|
+
<GatsbyImg filename="default-slot.jpg" alt={title} />
|
|
37
|
+
)}
|
|
38
|
+
</Link>
|
|
37
39
|
)}
|
|
38
40
|
<div className={`${styles.cardContent} ${featured && styles.featured}`}>
|
|
39
41
|
<Link to={path} className="game-card-gtm">
|
|
@@ -56,7 +56,7 @@ const Index = ({
|
|
|
56
56
|
<div className={styles.details}>
|
|
57
57
|
<div className={styles.logo}>
|
|
58
58
|
<Link to={item.review_link} className="table-column-gtm">
|
|
59
|
-
<LazyImage src={imagePrettyUrl(item.logo_url, 120, 45)} />
|
|
59
|
+
<LazyImage src={imagePrettyUrl(item.logo_url, 120, 45)} alt={item.name} />
|
|
60
60
|
</Link>
|
|
61
61
|
|
|
62
62
|
<p>{item.name}</p>
|
|
@@ -124,7 +124,10 @@ const Index = ({
|
|
|
124
124
|
<div className={styles.licenses}>
|
|
125
125
|
{licenses_list &&
|
|
126
126
|
licenses_list.map((res) => (
|
|
127
|
-
<LazyImage
|
|
127
|
+
<LazyImage
|
|
128
|
+
src={imagePrettyUrl(res.logo_filename, 63, 32)}
|
|
129
|
+
alt={`license ${res.logo_filename}`}
|
|
130
|
+
/>
|
|
128
131
|
))}
|
|
129
132
|
{licenses_list?.length > 3 && licensesMore ? (
|
|
130
133
|
<FaAngleDown
|
|
@@ -32,12 +32,12 @@ const ModuleTitle = ({ module, viewMoreIcon = <FaAngleRight />, pageContext = nu
|
|
|
32
32
|
? translate(translations, month, month)
|
|
33
33
|
: false;
|
|
34
34
|
|
|
35
|
-
const getTitle = () => {
|
|
35
|
+
const getTitle = (className) => {
|
|
36
36
|
const moduleTitle = module?.title || module?.module_title;
|
|
37
37
|
|
|
38
38
|
if (!module?.module_title_tag) {
|
|
39
39
|
return (
|
|
40
|
-
<h2 className={styles.noTag}>
|
|
40
|
+
<h2 className={`${styles.noTag} ${className}`}>
|
|
41
41
|
{moduleTitle}
|
|
42
42
|
{currentMonth ? (
|
|
43
43
|
<span className={styles.toplistDate}>
|
|
@@ -51,7 +51,7 @@ const ModuleTitle = ({ module, viewMoreIcon = <FaAngleRight />, pageContext = nu
|
|
|
51
51
|
|
|
52
52
|
if (module.module_title_tag)
|
|
53
53
|
return (
|
|
54
|
-
<CustomTag>
|
|
54
|
+
<CustomTag className={className}>
|
|
55
55
|
{moduleTitle}
|
|
56
56
|
{currentMonth ? (
|
|
57
57
|
<span className={styles.toplistDate}>
|
|
@@ -62,7 +62,7 @@ const ModuleTitle = ({ module, viewMoreIcon = <FaAngleRight />, pageContext = nu
|
|
|
62
62
|
</CustomTag>
|
|
63
63
|
);
|
|
64
64
|
return (
|
|
65
|
-
<span className={styles.noTag}>
|
|
65
|
+
<span className={`${styles.noTag} ${className}`}>
|
|
66
66
|
{moduleTitle}
|
|
67
67
|
{currentMonth ? (
|
|
68
68
|
<span className={styles.toplistDate}>
|
|
@@ -84,9 +84,7 @@ const ModuleTitle = ({ module, viewMoreIcon = <FaAngleRight />, pageContext = nu
|
|
|
84
84
|
module?.style && styles[module.style]
|
|
85
85
|
} ${tabsToplist ? styles.tabsToplist : null}`}
|
|
86
86
|
>
|
|
87
|
-
|
|
88
|
-
{(module?.title || module.module_title) && getTitle(module)}
|
|
89
|
-
</div>
|
|
87
|
+
{(module?.title || module.module_title) && getTitle(styles.toplistTitle)}
|
|
90
88
|
|
|
91
89
|
{module.link_label && (
|
|
92
90
|
<Link to={module.link_value} className={`${styles.viewMore} module-title-gtm`}>
|
|
@@ -96,13 +94,12 @@ const ModuleTitle = ({ module, viewMoreIcon = <FaAngleRight />, pageContext = nu
|
|
|
96
94
|
)}
|
|
97
95
|
</div>
|
|
98
96
|
) : (
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
</div>
|
|
97
|
+
(module?.title || module.module_title) &&
|
|
98
|
+
getTitle(
|
|
99
|
+
`${styles.moduleTitle} ${styles[template]} ${module?.style && styles[module.style]} ${
|
|
100
|
+
styles.toplistTitle
|
|
101
|
+
} ${tabsToplist ? styles.tabsToplist : null}`
|
|
102
|
+
)
|
|
106
103
|
))
|
|
107
104
|
);
|
|
108
105
|
};
|
|
@@ -96,4 +96,87 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.boxes_with_icons {
|
|
102
|
+
|
|
103
|
+
ul {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
|
|
107
|
+
li {
|
|
108
|
+
border: 1px solid #EEEBE5;
|
|
109
|
+
box-sizing: border-box;
|
|
110
|
+
border-radius: 1.6rem;
|
|
111
|
+
position: relative;
|
|
112
|
+
max-width: 568px;
|
|
113
|
+
width: max-content;
|
|
114
|
+
display: flex;
|
|
115
|
+
margin-left: 4.5rem;
|
|
116
|
+
margin-bottom: 3rem;
|
|
117
|
+
padding: 2.4rem 2.4rem 2.8rem 7.2rem;
|
|
118
|
+
min-height: 11rem;
|
|
119
|
+
|
|
120
|
+
.content {
|
|
121
|
+
padding: 0;
|
|
122
|
+
|
|
123
|
+
.label {
|
|
124
|
+
font-weight: bold;
|
|
125
|
+
font-size: 2rem;
|
|
126
|
+
line-height: 1.9rem;
|
|
127
|
+
padding-bottom: 1.6rem;
|
|
128
|
+
text-align: left;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.body {
|
|
133
|
+
padding: 0;
|
|
134
|
+
|
|
135
|
+
.text {
|
|
136
|
+
p {
|
|
137
|
+
font-style: normal;
|
|
138
|
+
font-weight: normal;
|
|
139
|
+
font-size: 1.6rem;
|
|
140
|
+
line-height: 2.3rem;
|
|
141
|
+
text-align: left;
|
|
142
|
+
color: var(--color-3);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.itemImage {
|
|
148
|
+
position: absolute;
|
|
149
|
+
left: -4.5rem;
|
|
150
|
+
top: 50%;
|
|
151
|
+
transform: translateY(-50%);
|
|
152
|
+
display: inline-block;
|
|
153
|
+
min-width: 9.5rem !important;
|
|
154
|
+
width: 9.5rem;
|
|
155
|
+
height: 9.5rem !important;
|
|
156
|
+
border-radius: 50%;
|
|
157
|
+
overflow: hidden;
|
|
158
|
+
flex: 1;
|
|
159
|
+
|
|
160
|
+
img {
|
|
161
|
+
width: 100%;
|
|
162
|
+
height: 100%;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&:first-of-type{
|
|
167
|
+
margin-top: 3rem;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@include max(mobile) {
|
|
171
|
+
width: auto;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
li:nth-child(2n) {
|
|
176
|
+
margin-left: auto;
|
|
177
|
+
@include max(mobile) {
|
|
178
|
+
margin-left: 4.5rem;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
99
182
|
}
|
|
@@ -291,3 +291,19 @@
|
|
|
291
291
|
.alignRight {
|
|
292
292
|
@include content-img-align(right);
|
|
293
293
|
}
|
|
294
|
+
|
|
295
|
+
.contentFrame {
|
|
296
|
+
background-color: #E0EAEA;
|
|
297
|
+
padding: 1.6rem 2.4rem 2.4rem;
|
|
298
|
+
border-radius: .8rem;
|
|
299
|
+
box-sizing: border-box;
|
|
300
|
+
img {
|
|
301
|
+
border-radius: .8rem;
|
|
302
|
+
}
|
|
303
|
+
@include max(mobile) {
|
|
304
|
+
img {
|
|
305
|
+
margin-left: 0;
|
|
306
|
+
width: 100%;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
@@ -291,7 +291,7 @@ const Search = ({
|
|
|
291
291
|
)}
|
|
292
292
|
{pageSearchOptionsCopy !== null && isLoading && (
|
|
293
293
|
<span ref={loadingRef} className={styles.loading}>
|
|
294
|
-
<LazyImage src="../../../images/loading.svg" />
|
|
294
|
+
<LazyImage src="../../../images/loading.svg" alt="loading" />
|
|
295
295
|
</span>
|
|
296
296
|
)}
|
|
297
297
|
{pageSearchOptionsCopy !== null && !isLoading && (
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/* eslint-disable no-useless-concat */
|
|
1
2
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
2
|
-
import React from 'react';
|
|
3
|
+
import React, { useEffect } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import loadable from '@loadable/component';
|
|
5
6
|
import { getSection } from 'gatsby-core-theme/src/helpers/getters';
|
|
@@ -14,6 +15,27 @@ import FooterTop from '../../../../components/atoms/footer/top';
|
|
|
14
15
|
import FooterBottom from '../../../../components/atoms/footer/bottom';
|
|
15
16
|
|
|
16
17
|
function Body({ pageContext, children }) {
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
if (!process.env.CANARY_TOKEN) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (
|
|
24
|
+
document.domain !== `prelive.${process.env.GATSBY_SITE_NAME}` ||
|
|
25
|
+
document.domain !== process.env.GATSBY_SITE_NAME ||
|
|
26
|
+
document.domain !== `www.${process.env.GATSBY_SITE_NAME}`
|
|
27
|
+
) {
|
|
28
|
+
// eslint-disable-next-line no-restricted-globals
|
|
29
|
+
const l = location.href;
|
|
30
|
+
const r = document.referrer;
|
|
31
|
+
const img = new Image();
|
|
32
|
+
img.src = `http://canarytokens.com/[${process.env.CANARY_TOKEN}].jpg?l=${encodeURI(
|
|
33
|
+
l
|
|
34
|
+
)}&r=${encodeURI(r)}`;
|
|
35
|
+
img.alt = 'canary tokens';
|
|
36
|
+
}
|
|
37
|
+
}, []);
|
|
38
|
+
|
|
17
39
|
const getBodySection = (name) => getSection(name, pageContext);
|
|
18
40
|
|
|
19
41
|
const main = getBodySection('main');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{595:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"lazyHydrate",(function(){return m}));var _index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1029),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),react_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(109),react_dom__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_2__),s=(__webpack_require__(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{595:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"lazyHydrate",(function(){return m}));var _index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1029),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),react_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(109),react_dom__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_2__),s=(__webpack_require__(538),__webpack_require__(533),__webpack_require__(2),["image","loading","isLoading","isLoaded","toggleIsLoaded","ref","imgClassName","imgStyle","objectPosition","backgroundColor","objectFit"]);function m(m,g,l,u){var b=m.image,h=m.loading,p=m.isLoading,f=m.isLoaded,j=m.toggleIsLoaded,y=m.ref,L=m.imgClassName,v=m.imgStyle,C=void 0===v?{}:v,k=m.objectPosition,w=m.backgroundColor,N=m.objectFit,P=void 0===N?"cover":N,E=Object(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.e)(m,s),F=b.width,R=b.height,S=b.layout,x=b.images,I=b.placeholder,J=b.backgroundColor,M=JSON.stringify(x);C=Object(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.f)({objectFit:P,objectPosition:k,backgroundColor:w},C);var O=react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.b,{layout:S,width:F,height:R},react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.d,Object(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.f)({},Object(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.h)(I,f,S,F,R,J,P,k))),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.c,Object(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.f)({},E,{width:F,height:R,className:L},Object(_index_browser_b9d6f48d_js__WEBPACK_IMPORTED_MODULE_0__.g)(p,f,x,h,j,M,y,C))));return g.current&&(react_dom__WEBPACK_IMPORTED_MODULE_2___default.a.createRoot?(l.current||(l.current=react_dom__WEBPACK_IMPORTED_MODULE_2___default.a.createRoot(g.current)),l.current.render(O)):((l.current||u.current?react_dom__WEBPACK_IMPORTED_MODULE_2___default.a.render:react_dom__WEBPACK_IMPORTED_MODULE_2___default.a.hydrate)(O,g.current),l.current=!0)),function(){g.current&&(react_dom__WEBPACK_IMPORTED_MODULE_2___default.a.createRoot?l.current.render(null):react_dom__WEBPACK_IMPORTED_MODULE_2___default.a.render(null,g.current))}}}}]);
|