gatsby-core-theme 20.0.9 → 20.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,13 @@
1
+ ## [20.0.10](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v20.0.9...v20.0.10) (2023-04-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove review link ([2a65248](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/2a65248dbdb8fc89beb2481d26d064e91c9879aa))
7
+
8
+
9
+ * Merge branch 'tm-3265-remove-review' into 'master' ([ab56a55](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/ab56a559c72a4809c726976244d44550caa86fbc))
10
+
1
11
  ## [20.0.9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v20.0.8...v20.0.9) (2023-04-19)
2
12
 
3
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "20.0.9",
3
+ "version": "20.0.10",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -34,7 +34,7 @@
34
34
  }
35
35
 
36
36
  &.list {
37
- grid-template-columns: repeat(6, 1fr);
37
+ grid-template-columns: repeat(5, 1fr);
38
38
 
39
39
  @include max(tablet) {
40
40
  grid-template-columns: auto;
@@ -24,7 +24,7 @@ const Row = ({
24
24
  }) => {
25
25
  const prettyLink = prettyTracker(item, 'main', false, pageTemplate);
26
26
  // const itemRating = item.rating;
27
- const reviewPath = item.review_link ? `/${item.review_link}` : item.path || '/';
27
+ const reviewPath = item.review_link ? `/${item.review_link}` : item.path || null;
28
28
 
29
29
  const imageObject = item?.standardised_logo_url_object || item?.logo_url_object;
30
30
 
@@ -67,12 +67,14 @@ const Row = ({
67
67
  </a>
68
68
  {/* <StarRating numOfStars={5} rating={itemRating} showLabel /> */}
69
69
  <SellingPoints sellingPoints={item.selling_points} />
70
- <ReviewLink
71
- className={`${styles.reviewLink} toplist-variant-one-gtm`}
72
- template={pageTemplate}
73
- operatorName={item.name}
74
- reviewPath={reviewPath}
75
- />
70
+ {reviewPath && (
71
+ <ReviewLink
72
+ className={`${styles.reviewLink} toplist-variant-one-gtm`}
73
+ template={pageTemplate}
74
+ operatorName={item.name}
75
+ reviewPath={reviewPath}
76
+ />
77
+ )}
76
78
  <OperatorCta
77
79
  operator={item}
78
80
  tracker={tracker}