foundry-component-library 0.2.6 → 0.2.7

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.
@@ -33,8 +33,6 @@ const Hero = ({
33
33
  const sectionRef = useRef(null);
34
34
  const onScreen = useOnScreen(sectionRef, "-50%");
35
35
 
36
- console.log("pop", video);
37
-
38
36
  if (!image && !video) return;
39
37
 
40
38
  if (isFullWidth) {
@@ -83,6 +83,21 @@ export default async function getHubBySlug({
83
83
  quoteName
84
84
  quotePosition
85
85
  quoteText
86
+ caseStudies {
87
+ ... on Case {
88
+ title
89
+ uri
90
+ id
91
+ case {
92
+ thumbnailImage {
93
+ sourceUrl
94
+ }
95
+ mainImage {
96
+ sourceUrl
97
+ }
98
+ }
99
+ }
100
+ }
86
101
  }
87
102
  }
88
103
  contactPage: page(id: "${contactPage}", idType: URI) {
@@ -338,6 +338,7 @@ export type Hub = {
338
338
  quoteName?: string;
339
339
  quotePosition?: string;
340
340
  quoteText?: string;
341
+ caseStudies: Case[];
341
342
  };
342
343
  };
343
344
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foundry-component-library",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",