foundry-component-library 0.2.4 → 0.2.6
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/lib/components/CaseStudyTeaser/styles.module.scss +1 -1
- package/lib/components/ContactTeaser/index.tsx +52 -15
- package/lib/components/ContactTeaser/styles.module.scss +23 -0
- package/lib/components/Container/styles.module.scss +1 -1
- package/lib/components/Footer/index.tsx +9 -3
- package/lib/components/Footer/styles.module.scss +6 -3
- package/lib/components/Header/index.tsx +8 -3
- package/lib/components/Header/styles.module.scss +5 -4
- package/lib/components/Hero/Video.tsx +43 -0
- package/lib/components/Hero/index.tsx +28 -19
- package/lib/components/Hero/styles.module.scss +12 -0
- package/lib/components/HubsAccordion/Hub.tsx +98 -82
- package/lib/components/HubsAccordion/styles.module.scss +4 -10
- package/lib/components/QuoteSection/index.tsx +27 -7
- package/lib/components/QuoteSection/styles.module.scss +13 -2
- package/lib/components/ServiceHubsTeaser/Tile.tsx +3 -21
- package/lib/components/ServiceHubsTeaser/index.tsx +38 -9
- package/lib/components/ServiceHubsTeaser/styles.module.scss +6 -0
- package/lib/components/TeamPhotos/Item.tsx +2 -2
- package/lib/components/TeamPhotos/styles.module.scss +2 -1
- package/lib/components/TextSection/index.tsx +5 -9
- package/lib/components/Tiles/Tile.tsx +2 -19
- package/lib/components/VideoTeaser/index.tsx +31 -83
- package/lib/components/VideoTeaser/styles.module.scss +3 -11
- package/lib/components/case/Content/styles.module.scss +7 -7
- package/lib/components/cases/Pagination/index.tsx +3 -5
- package/lib/queries/getAboutPage.ts +6 -0
- package/lib/queries/getCaseById.ts +3 -0
- package/lib/queries/getCaseBySlug.ts +3 -0
- package/lib/queries/getCasesPage.ts +3 -0
- package/lib/queries/getContactPage.ts +6 -0
- package/lib/queries/getHomePage.ts +6 -0
- package/lib/queries/getHubBySlug.ts +6 -0
- package/lib/queries/getHubsPage.ts +3 -0
- package/lib/queries/getNewsPage.ts +3 -0
- package/lib/queries/getPeoplePage.ts +6 -0
- package/lib/queries/getPerformanceHubPage.ts +6 -0
- package/lib/queries/getPostBySlug.ts +3 -0
- package/lib/types/index.ts +3 -0
- package/package.json +1 -1
|
@@ -78,6 +78,9 @@ type HomePage = {
|
|
|
78
78
|
posts: PostPreview[];
|
|
79
79
|
contactPage: {
|
|
80
80
|
customFieldsContact: {
|
|
81
|
+
facebook: string;
|
|
82
|
+
instagram: string;
|
|
83
|
+
linkedin: string;
|
|
81
84
|
berlinImage?: {
|
|
82
85
|
sourceUrl: string;
|
|
83
86
|
};
|
|
@@ -216,6 +219,9 @@ export default async function getHomePage({
|
|
|
216
219
|
}
|
|
217
220
|
contactPage: page(id: "${contactPage}", idType: URI) {
|
|
218
221
|
customFieldsContact {
|
|
222
|
+
facebook
|
|
223
|
+
instagram
|
|
224
|
+
linkedin
|
|
219
225
|
berlinImage {
|
|
220
226
|
sourceUrl
|
|
221
227
|
}
|
|
@@ -45,6 +45,9 @@ export default async function getHubBySlug({
|
|
|
45
45
|
mainimage {
|
|
46
46
|
sourceUrl
|
|
47
47
|
}
|
|
48
|
+
mainvideo{
|
|
49
|
+
mediaItemUrl
|
|
50
|
+
}
|
|
48
51
|
relatedWork {
|
|
49
52
|
... on Case {
|
|
50
53
|
title
|
|
@@ -84,6 +87,9 @@ export default async function getHubBySlug({
|
|
|
84
87
|
}
|
|
85
88
|
contactPage: page(id: "${contactPage}", idType: URI) {
|
|
86
89
|
customFieldsContact {
|
|
90
|
+
facebook
|
|
91
|
+
instagram
|
|
92
|
+
linkedin
|
|
87
93
|
berlinImage {
|
|
88
94
|
sourceUrl
|
|
89
95
|
}
|
|
@@ -40,6 +40,9 @@ type PeoplePage = {
|
|
|
40
40
|
};
|
|
41
41
|
contactPage: {
|
|
42
42
|
customFieldsContact: {
|
|
43
|
+
facebook: string;
|
|
44
|
+
instagram: string;
|
|
45
|
+
linkedin: string;
|
|
43
46
|
berlinImage?: {
|
|
44
47
|
sourceUrl: string;
|
|
45
48
|
};
|
|
@@ -123,6 +126,9 @@ export default async function getContactPage({
|
|
|
123
126
|
}
|
|
124
127
|
contactPage: page(id: "${contactPage}", idType: URI) {
|
|
125
128
|
customFieldsContact {
|
|
129
|
+
facebook
|
|
130
|
+
instagram
|
|
131
|
+
linkedin
|
|
126
132
|
berlinImage {
|
|
127
133
|
sourceUrl
|
|
128
134
|
}
|
|
@@ -50,6 +50,9 @@ type PerformancePage = {
|
|
|
50
50
|
};
|
|
51
51
|
contactPage: {
|
|
52
52
|
customFieldsContact: {
|
|
53
|
+
facebook: string;
|
|
54
|
+
instagram: string;
|
|
55
|
+
linkedin: string;
|
|
53
56
|
berlinImage?: {
|
|
54
57
|
sourceUrl: string;
|
|
55
58
|
};
|
|
@@ -128,6 +131,9 @@ export default async function getPerformanceHubPage(): Promise<PerformancePage>
|
|
|
128
131
|
}
|
|
129
132
|
contactPage: page(id: "contact", idType: URI) {
|
|
130
133
|
customFieldsContact {
|
|
134
|
+
facebook
|
|
135
|
+
instagram
|
|
136
|
+
linkedin
|
|
131
137
|
berlinImage {
|
|
132
138
|
sourceUrl
|
|
133
139
|
}
|
package/lib/types/index.ts
CHANGED