gatsby-matrix-theme 19.0.9 → 19.0.10
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,17 @@
|
|
|
1
|
+
## [19.0.10](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v19.0.9...v19.0.10) (2023-04-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove author row and feadbackmodule in ppc page ([68a0075](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/68a007536f2e6d7044b3a6f2b48a0402386da77f))
|
|
7
|
+
* remove the review link ([b67af04](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b67af0421978bbfb824ca8cdd728e1a321d03779))
|
|
8
|
+
* updarte with latest version ([2f7f801](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2f7f801b6101e25b72287a0acaa63e331b246003))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
* Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme ([b5ae929](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b5ae92952589b0d714820ab861cdfc238be709cf))
|
|
12
|
+
* Merge branch 'tm-3389-ppc-page' into 'master' ([fe3caf5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fe3caf55b9f2e039010a791e65a8cd3eaf70991a))
|
|
13
|
+
* Merge branch 'tm-3265-review-link' into 'master' ([5e1d90c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5e1d90c1c8d07cf157324c87812595307e495d48))
|
|
14
|
+
|
|
1
15
|
## [19.0.9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v19.0.8...v19.0.9) (2023-04-19)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.10",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Matrix Theme NPM Package",
|
|
6
6
|
"author": "",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@react-icons/all-files": "^4.1.0",
|
|
27
27
|
"gatsby": "^4.20.0",
|
|
28
|
-
"gatsby-core-theme": "20.0.
|
|
28
|
+
"gatsby-core-theme": "20.0.10",
|
|
29
29
|
"gatsby-plugin-sharp": "^4.10.2",
|
|
30
30
|
"gatsby-plugin-sitemap": "^3.3.0",
|
|
31
31
|
"gatsby-transformer-sharp": "^4.10.0",
|
|
@@ -42,7 +42,7 @@ export default function Row({
|
|
|
42
42
|
const result = item.authorName?.split(/\s+/);
|
|
43
43
|
const itemName = item.name;
|
|
44
44
|
const itemRating = item.rating;
|
|
45
|
-
const reviewPath = item.review_link ? `/${item.review_link}` : item.path ||
|
|
45
|
+
const reviewPath = item.review_link ? `/${item.review_link}` : item.path || null;
|
|
46
46
|
const pros = item.extra_fields?.pro_1 || item.extra_fields?.pro_2 || item.extra_fields?.pro_3;
|
|
47
47
|
const { translations } = useContext(Context) || {};
|
|
48
48
|
const tandcEnabled = item?.extra_fields?.terms_and_conditions_text_enabled === '1';
|
|
@@ -120,7 +120,7 @@ export default function Row({
|
|
|
120
120
|
{itemName}
|
|
121
121
|
</a>
|
|
122
122
|
<StarRating numOfStars={5} rating={itemRating} showLabel />
|
|
123
|
-
{!isPPC && !showCtaReviewLink && (
|
|
123
|
+
{!isPPC && !showCtaReviewLink && reviewPath && (
|
|
124
124
|
<ReviewLink
|
|
125
125
|
className={`${styles.reviewLink} toplist-variant-one-gtm`}
|
|
126
126
|
template={template}
|
|
@@ -44,6 +44,7 @@ const Main = ({ section = {}, pageContext = {}, showAuthor = true, exclOperator
|
|
|
44
44
|
page.path !== 'contact-us' &&
|
|
45
45
|
page.path !== 'news' &&
|
|
46
46
|
page.path !== 'sitemap' &&
|
|
47
|
+
page.template !== 'ppc' &&
|
|
47
48
|
page.author &&
|
|
48
49
|
showAuthor
|
|
49
50
|
? loadable(() => import('~atoms/author'))
|
|
@@ -113,7 +114,7 @@ const Main = ({ section = {}, pageContext = {}, showAuthor = true, exclOperator
|
|
|
113
114
|
src="https://a.omappapi.com/app/js/api.min.js"
|
|
114
115
|
/>
|
|
115
116
|
)}
|
|
116
|
-
<FeedBackModule />
|
|
117
|
+
{page.template !== 'ppc' && <FeedBackModule />}
|
|
117
118
|
</main>
|
|
118
119
|
);
|
|
119
120
|
};
|