gatsby-matrix-theme 3.2.28 → 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 CHANGED
@@ -1,3 +1,32 @@
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
+
1
30
  ## [3.2.28](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.27...v3.2.28) (2022-02-08)
2
31
 
3
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "3.2.28",
3
+ "version": "4.0.0",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -16,7 +16,7 @@ const BaseCard = ({
16
16
  const { path, title } = item;
17
17
  const imgContent = (
18
18
  <>
19
- <Image filename={backgroundImage} />
19
+ <Image filename={backgroundImage} alt={title} />
20
20
  <div className={styles.overlay} />
21
21
  </>
22
22
  );
@@ -27,6 +27,7 @@ const PaymentMethodCard = ({ item, showTitle = true, showDesc = true, width, hei
27
27
  height={height}
28
28
  className={styles.logo}
29
29
  src={imagePrettyUrl(relation?.logo)}
30
+ alt={title}
30
31
  />
31
32
  </Link>
32
33
  {showTitle && (
@@ -38,6 +38,7 @@ const SoftwareProviderCard = ({
38
38
  height={height}
39
39
  className={styles.logo}
40
40
  src={imagePrettyUrl(relation?.logo)}
41
+ alt={title}
41
42
  />
42
43
  </Link>
43
44
  {showTitle && (
@@ -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 src={imagePrettyUrl(res.logo_filename, 63, 32)} />
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
@@ -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
+ }
@@ -81,13 +81,13 @@ const Content = ({ module }) => {
81
81
 
82
82
  return (
83
83
  <>
84
- <div
85
- className={`${styles.content} ${showMore && styles.showMore} ${switchStyle(module.style)}`}
86
- >
87
- {module.value &&
88
- parse(module.value, {
89
- replace: replaceMedia,
90
- })}
84
+ <div className={`${styles.content} ${showMore && styles.showMore}`}>
85
+ <div className={`${switchStyle(module.style)}`}>
86
+ {module.value &&
87
+ parse(module.value, {
88
+ replace: replaceMedia,
89
+ })}
90
+ </div>
91
91
  </div>
92
92
  {showMore && (
93
93
  <button type="button" className={styles.button} onClick={handleChange}>
@@ -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,3 +1,4 @@
1
+ /* eslint-disable no-useless-concat */
1
2
  /* eslint-disable import/no-extraneous-dependencies */
2
3
  import React, { useEffect } from 'react';
3
4
  import PropTypes from 'prop-types';
@@ -28,9 +29,10 @@ function Body({ pageContext, children }) {
28
29
  const l = location.href;
29
30
  const r = document.referrer;
30
31
  const img = new Image();
31
- img.src = `${'http://canarytokens.com/' + `[${process.env.CANARY_TOKEN}].jpg?l=`}${encodeURI(
32
+ img.src = `http://canarytokens.com/[${process.env.CANARY_TOKEN}].jpg?l=${encodeURI(
32
33
  l
33
34
  )}&amp;r=${encodeURI(r)}`;
35
+ img.alt = 'canary tokens';
34
36
  }
35
37
  }, []);
36
38
 
@@ -135,4 +135,4 @@
135
135
 
136
136
 
137
137
 
138
- window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.3d3135a4.iframe.bundle.js"></script><script src="vendors~main.0a927976.iframe.bundle.js"></script><script src="main.08905184.iframe.bundle.js"></script></body></html>
138
+ window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.3d3135a4.iframe.bundle.js"></script><script src="vendors~main.0a927976.iframe.bundle.js"></script><script src="main.e69fd645.iframe.bundle.js"></script></body></html>