From 99e524f99e2b339315e400f6f515b3bbd660222e Mon Sep 17 00:00:00 2001 From: Andrey_Bogoroditskiy Date: Sun, 21 Jul 2024 19:32:39 +0300 Subject: [PATCH 1/4] Added the integration with BE --- codegen.ts | 8 +- package-lock.json | 104 +++---- package.json | 12 +- src/__generated__/fragment-masking.ts | 26 +- src/__generated__/gql.ts | 45 ++- src/__generated__/graphql.ts | 31 +- src/__generated__/index.ts | 1 - src/app/[locale]/[slug]/page.tsx | 4 + .../categorized-news/categorized-news.tsx | 4 +- src/features/wave-banner/utils.ts | 6 + src/features/wave-banner/wave-banner.scss | 10 +- src/features/wave-banner/wave-banner.tsx | 92 +++--- .../article-category.fragment.ts} | 2 +- src/fragments/categorized-news.fragment.ts | 55 ++++ src/fragments/hero-banner.fragment.ts | 27 ++ src/fragments/image-banner.fragment.ts | 34 +++ src/fragments/info-section.fragment.ts | 35 +++ src/fragments/news-section.fragment.ts | 45 +++ src/fragments/projects-section.fragment.ts | 39 +++ src/fragments/rich-text.fragment.ts | 9 + src/queries/get-page.ts | 232 +-------------- src/queries/get-pages-data.ts | 273 +----------------- yarn.lock | 125 ++++---- 23 files changed, 551 insertions(+), 668 deletions(-) create mode 100644 src/features/wave-banner/utils.ts rename src/{queries/article-category-fragment.ts => fragments/article-category.fragment.ts} (88%) create mode 100644 src/fragments/categorized-news.fragment.ts create mode 100644 src/fragments/hero-banner.fragment.ts create mode 100644 src/fragments/image-banner.fragment.ts create mode 100644 src/fragments/info-section.fragment.ts create mode 100644 src/fragments/news-section.fragment.ts create mode 100644 src/fragments/projects-section.fragment.ts create mode 100644 src/fragments/rich-text.fragment.ts diff --git a/codegen.ts b/codegen.ts index 6cf6941..ac86ddb 100644 --- a/codegen.ts +++ b/codegen.ts @@ -3,7 +3,7 @@ import { CodegenConfig } from "@graphql-codegen/cli"; const config: CodegenConfig = { schema: `${process.env.VITE_REACT_APP_BACKEND_URL}/graphql`, // this assumes that all your source files are in a top-level `src/` directory - you might need to adjust this to your file structure - documents: ["src/queries/*.{ts,tsx}"], + documents: ["src/fragments/*.{ts,tsx}", "src/queries/*.{ts,tsx}"], generates: { "./src/__generated__/": { preset: "client", @@ -12,11 +12,13 @@ const config: CodegenConfig = { enumsAsTypes: true, extractAllFieldsToTypes: true, preResolveTypes: true, - onlyOperationTypes: true + onlyOperationTypes: true, + noSchemaStitching: true, }, presetConfig: { gqlTagName: "gql", - + documentNodeImportFragments: true, + fragmentMasking: false, }, }, }, diff --git a/package-lock.json b/package-lock.json index 2b07eef..2153922 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@graphql-codegen/cli": "^5.0.2", - "@graphql-codegen/client-preset": "^4.2.6", + "@graphql-codegen/client-preset": "^4.3.2", "@graphql-typed-document-node/core": "^3.2.0", "@svgr/webpack": "^8.1.0", "@types/graphql": "^14.5.0", @@ -50,7 +50,7 @@ "lint-staged": "^15.2.5", "prettier": "^3.3.3", "sass": "^1.77.4", - "typescript": "^5.4.3" + "typescript": "^5.5.3" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -551,9 +551,9 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.6.tgz", - "integrity": "sha512-MZG/JcWfxybKwsA9N9PmtF2lOSFSEMVCpIRrbxccZFLJPrJciJdG/UhSh5W96GEteJI2ARqm5UAHxISwRDLSNg==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", "dev": true, "engines": { "node": ">=6.9.0" @@ -959,12 +959,12 @@ } }, "node_modules/@babel/plugin-syntax-flow": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.24.6.tgz", - "integrity": "sha512-gNkksSdV8RbsCoHF9sjVYrHfYACMl/8U32UfUhJ9+84/ASXw8dlx+eHyyF0m6ncQJ9IBSxfuCkB36GJqYdXTOA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.24.7.tgz", + "integrity": "sha512-9G8GYT/dxn/D1IIKOUBmGX0mnmj46mGH9NnZyJLwtCpgh5f7D2VbuKodb+2s9m1Yavh1s7ASQN8lf0eqrb1LTw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.6" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1421,13 +1421,13 @@ } }, "node_modules/@babel/plugin-transform-flow-strip-types": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.24.6.tgz", - "integrity": "sha512-1l8b24NoCpaQ13Vi6FtLG1nv6kNoi8PWvQb1AYO7GHZDpFfBYc3lbXArx1lP2KRt8b4pej1eWc/zrRmsQTfOdQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.24.7.tgz", + "integrity": "sha512-cjRKJ7FobOH2eakx7Ja+KpJRj8+y+/SiB3ooYm/n2UJfxu0oEaOoxOinitkJcPqv9KxS0kxTGPUaR7L2XcXDXA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.6", - "@babel/plugin-syntax-flow": "^7.24.6" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/plugin-syntax-flow": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -2467,9 +2467,9 @@ } }, "node_modules/@graphql-codegen/add": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@graphql-codegen/add/-/add-5.0.2.tgz", - "integrity": "sha512-ouBkSvMFUhda5VoKumo/ZvsZM9P5ZTyDsI8LW18VxSNWOjrTeLXBWHG8Gfaai0HwhflPtCYVABbriEcOmrRShQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@graphql-codegen/add/-/add-5.0.3.tgz", + "integrity": "sha512-SxXPmramkth8XtBlAHu4H4jYcYXM/o3p01+psU+0NADQowA8jtYkK6MW5rV6T+CxkEaNZItfSmZRPgIuypcqnA==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^5.0.3", @@ -2538,20 +2538,20 @@ } }, "node_modules/@graphql-codegen/client-preset": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/@graphql-codegen/client-preset/-/client-preset-4.2.6.tgz", - "integrity": "sha512-e7SzPb+nxNJfsD0uG+NSyzIeTtCXTouX5VThmcCoqGMDLgF5Lo7932B3HtZCvzmzqcXxRjJ81CmkA2LhlqIbCw==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@graphql-codegen/client-preset/-/client-preset-4.3.2.tgz", + "integrity": "sha512-42jHyG6u2uFDIVNvzue8zR529aPT16EYIJQmvMk8XuYHo3PneQVlWmQ3j2fBy+RuWCBzpJKPKm7IGSKiw19nmg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.20.2", "@babel/template": "^7.20.7", - "@graphql-codegen/add": "^5.0.2", - "@graphql-codegen/gql-tag-operations": "4.0.7", + "@graphql-codegen/add": "^5.0.3", + "@graphql-codegen/gql-tag-operations": "4.0.9", "@graphql-codegen/plugin-helpers": "^5.0.4", - "@graphql-codegen/typed-document-node": "^5.0.7", - "@graphql-codegen/typescript": "^4.0.7", - "@graphql-codegen/typescript-operations": "^4.2.1", - "@graphql-codegen/visitor-plugin-common": "^5.2.0", + "@graphql-codegen/typed-document-node": "^5.0.9", + "@graphql-codegen/typescript": "^4.0.9", + "@graphql-codegen/typescript-operations": "^4.2.3", + "@graphql-codegen/visitor-plugin-common": "^5.3.1", "@graphql-tools/documents": "^1.0.0", "@graphql-tools/utils": "^10.0.0", "@graphql-typed-document-node/core": "3.2.0", @@ -2577,13 +2577,13 @@ } }, "node_modules/@graphql-codegen/gql-tag-operations": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-4.0.7.tgz", - "integrity": "sha512-2I69+IDC8pqAohH6cgKse/vPfJ/4TRTJX96PkAKz8S4RD54PUHtBmzCdBInIFEP/vQuH5mFUAaIKXXjznmGOsg==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-4.0.9.tgz", + "integrity": "sha512-lVgu1HClel896HqZAEjynatlU6eJrYOw+rh05DPgM150xvmb7Gz5TnRHA2vfwlDNIXDaToAIpz5RFfkjjnYM1Q==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^5.0.4", - "@graphql-codegen/visitor-plugin-common": "5.2.0", + "@graphql-codegen/visitor-plugin-common": "5.3.1", "@graphql-tools/utils": "^10.0.0", "auto-bind": "~4.0.0", "tslib": "~2.6.0" @@ -2610,9 +2610,9 @@ } }, "node_modules/@graphql-codegen/schema-ast": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@graphql-codegen/schema-ast/-/schema-ast-4.0.2.tgz", - "integrity": "sha512-5mVAOQQK3Oz7EtMl/l3vOQdc2aYClUzVDHHkMvZlunc+KlGgl81j8TLa+X7ANIllqU4fUEsQU3lJmk4hXP6K7Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@graphql-codegen/schema-ast/-/schema-ast-4.1.0.tgz", + "integrity": "sha512-kZVn0z+th9SvqxfKYgztA6PM7mhnSZaj4fiuBWvMTqA+QqQ9BBed6Pz41KuD/jr0gJtnlr2A4++/0VlpVbCTmQ==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^5.0.3", @@ -2624,13 +2624,13 @@ } }, "node_modules/@graphql-codegen/typed-document-node": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@graphql-codegen/typed-document-node/-/typed-document-node-5.0.7.tgz", - "integrity": "sha512-rgFh96hAbNwPUxLVlRcNhGaw2+y7ZGx7giuETtdO8XzPasTQGWGRkZ3wXQ5UUiTX4X3eLmjnuoXYKT7HoxSznQ==", + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/@graphql-codegen/typed-document-node/-/typed-document-node-5.0.9.tgz", + "integrity": "sha512-Wx6fyA4vpfIbfNTMiWUECGnjqzKkJdEbZHxVMIegiCBPzBYPAJV4mZZcildLAfm2FtZcgW4YKtFoTbnbXqPB3w==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^5.0.4", - "@graphql-codegen/visitor-plugin-common": "5.2.0", + "@graphql-codegen/visitor-plugin-common": "5.3.1", "auto-bind": "~4.0.0", "change-case-all": "1.0.15", "tslib": "~2.6.0" @@ -2640,14 +2640,14 @@ } }, "node_modules/@graphql-codegen/typescript": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-4.0.7.tgz", - "integrity": "sha512-Gn+JNvQBJhBqH7s83piAJ6UeU/MTj9GXWFO9bdbl8PMLCAM1uFAtg04iHfkGCtDKXcUg5a3Dt/SZG85uk5KuhA==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-4.0.9.tgz", + "integrity": "sha512-0O35DMR4d/ctuHL1Zo6mRUUzp0BoszKfeWsa6sCm/g70+S98+hEfTwZNDkQHylLxapiyjssF9uw/F+sXqejqLw==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^5.0.4", "@graphql-codegen/schema-ast": "^4.0.2", - "@graphql-codegen/visitor-plugin-common": "5.2.0", + "@graphql-codegen/visitor-plugin-common": "5.3.1", "auto-bind": "~4.0.0", "tslib": "~2.6.0" }, @@ -2656,14 +2656,14 @@ } }, "node_modules/@graphql-codegen/typescript-operations": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript-operations/-/typescript-operations-4.2.1.tgz", - "integrity": "sha512-LhEPsaP+AI65zfK2j6CBAL4RT0bJL/rR9oRWlvwtHLX0t7YQr4CP4BXgvvej9brYdedAxHGPWeV1tPHy5/z9KQ==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript-operations/-/typescript-operations-4.2.3.tgz", + "integrity": "sha512-6z7avSSOr03l5SyKbeDs7MzRyGwnQFSCqQm8Om5wIuoIgXVu2gXRmcJAY/I7SLdAy9xbF4Sho7XNqieFM2CAFQ==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^5.0.4", - "@graphql-codegen/typescript": "^4.0.7", - "@graphql-codegen/visitor-plugin-common": "5.2.0", + "@graphql-codegen/typescript": "^4.0.9", + "@graphql-codegen/visitor-plugin-common": "5.3.1", "auto-bind": "~4.0.0", "tslib": "~2.6.0" }, @@ -2672,9 +2672,9 @@ } }, "node_modules/@graphql-codegen/visitor-plugin-common": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-5.2.0.tgz", - "integrity": "sha512-0p8AwmARaZCAlDFfQu6Sz+JV6SjbPDx3y2nNM7WAAf0au7Im/GpJ7Ke3xaIYBc1b2rTZ+DqSTJI/zomENGD9NA==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-5.3.1.tgz", + "integrity": "sha512-MktoBdNZhSmugiDjmFl1z6rEUUaqyxtFJYWnDilE7onkPgyw//O0M+TuPBJPBWdyV6J2ond0Hdqtq+rkghgSIQ==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^5.0.4", @@ -12600,9 +12600,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", + "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 82e09fb..183d877 100644 --- a/package.json +++ b/package.json @@ -19,22 +19,22 @@ }, "dependencies": { "@apollo/client": "^3.10.4", - "@strapi/blocks-react-renderer": "^1.0.1", "@apollo/experimental-nextjs-app-support": "^0.11.0", + "@strapi/blocks-react-renderer": "^1.0.1", "classcat": "^5.0.5", "graphql": "^16.8.1", + "next": "14.2.5", + "next-intl": "^3.13.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-markdown": "^9.0.1", "react-slick": "^0.30.2", "rehype-raw": "^7.0.0", - "remark-gfm": "^4.0.0", - "next": "14.2.5", - "next-intl": "^3.13.0" + "remark-gfm": "^4.0.0" }, "devDependencies": { "@graphql-codegen/cli": "^5.0.2", - "@graphql-codegen/client-preset": "^4.2.6", + "@graphql-codegen/client-preset": "^4.3.2", "@graphql-typed-document-node/core": "^3.2.0", "@svgr/webpack": "^8.1.0", "@types/graphql": "^14.5.0", @@ -60,6 +60,6 @@ "lint-staged": "^15.2.5", "prettier": "^3.3.3", "sass": "^1.77.4", - "typescript": "^5.4.3" + "typescript": "^5.5.3" } } diff --git a/src/__generated__/fragment-masking.ts b/src/__generated__/fragment-masking.ts index fbedede..aca71b1 100644 --- a/src/__generated__/fragment-masking.ts +++ b/src/__generated__/fragment-masking.ts @@ -20,25 +20,45 @@ export function useFragment( _documentNode: DocumentTypeDecoration, fragmentType: FragmentType> ): TType; +// return nullable if `fragmentType` is undefined +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: FragmentType> | undefined +): TType | undefined; // return nullable if `fragmentType` is nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: FragmentType> | null +): TType | null; +// return nullable if `fragmentType` is nullable or undefined export function useFragment( _documentNode: DocumentTypeDecoration, fragmentType: FragmentType> | null | undefined ): TType | null | undefined; // return array of non-nullable if `fragmentType` is array of non-nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: Array>> +): Array; +// return array of nullable if `fragmentType` is array of nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: Array>> | null | undefined +): Array | null | undefined; +// return readonly array of non-nullable if `fragmentType` is array of non-nullable export function useFragment( _documentNode: DocumentTypeDecoration, fragmentType: ReadonlyArray>> ): ReadonlyArray; -// return array of nullable if `fragmentType` is array of nullable +// return readonly array of nullable if `fragmentType` is array of nullable export function useFragment( _documentNode: DocumentTypeDecoration, fragmentType: ReadonlyArray>> | null | undefined ): ReadonlyArray | null | undefined; export function useFragment( _documentNode: DocumentTypeDecoration, - fragmentType: FragmentType> | ReadonlyArray>> | null | undefined -): TType | ReadonlyArray | null | undefined { + fragmentType: FragmentType> | Array>> | ReadonlyArray>> | null | undefined +): TType | Array | ReadonlyArray | null | undefined { return fragmentType as any; } diff --git a/src/__generated__/gql.ts b/src/__generated__/gql.ts index 18ea594..5d88a74 100644 --- a/src/__generated__/gql.ts +++ b/src/__generated__/gql.ts @@ -14,10 +14,17 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/ */ const documents = { "\nfragment NewArticles on ArticleCategoryEntity {\n attributes {\n articles {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n}": types.NewArticlesFragmentDoc, + "\nfragment CategorizedNewsFragment on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}": types.CategorizedNewsFragmentFragmentDoc, + "\nfragment HeroBannerFragment on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n}": types.HeroBannerFragmentFragmentDoc, + "\nfragment ImageBannerFragment on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n}": types.ImageBannerFragmentFragmentDoc, + "\nfragment InfoSectionFragment on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n}": types.InfoSectionFragmentFragmentDoc, + "\nfragment NewsSectionFragment on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n}": types.NewsSectionFragmentFragmentDoc, + "\nfragment ProjectsSectionFragment on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n}": types.ProjectsSectionFragmentFragmentDoc, + "\nfragment RichTextFragment on ComponentSectionsRichText {\n __typename\n id\n content\n}\n": types.RichTextFragmentFragmentDoc, "\nquery GetLayoutData($limit: Int, $locale: I18NLocaleCode) {\n pages(pagination: { limit: $limit }, locale: $locale) {\n data {\n id\n attributes {\n slug\n }\n }\n }\n colorScheme {\n data {\n attributes {\n white\n black\n background\n primary\n secondary\n tertiary\n quaternary\n quinary\n }\n }\n }\n header(locale: $locale) {\n data {\n attributes {\n logo {\n altText\n isIcon\n url\n newTab\n image {\n data {\n attributes {\n url\n alternativeText\n }\n }\n }\n }\n cta {\n type\n url\n label\n color\n bgColor\n }\n stripe {\n theme {\n color\n bgColor\n }\n socialMedia {\n title\n url\n newTab\n icon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n navigations {\n data {\n attributes {\n slug\n label\n description\n pages {\n data {\n attributes {\n slug\n label\n }\n }\n }\n }\n }\n }\n }\n }\n }\n footer(locale: $locale) {\n data {\n attributes {\n theme {\n color\n bgColor\n }\n socialMedia {\n title\n url\n newTab\n icon {\n data {\n attributes {\n caption\n url\n previewUrl\n height\n width\n }\n }\n }\n }\n heading\n tradeMark\n rights\n navigation {\n data {\n attributes {\n slug\n label\n }\n }\n }\n }\n }\n }\n}\n": types.GetLayoutDataDocument, "\nquery GetNewsByCategory($category: String!, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n articles(\n filters: { article_category: { slug: { in: [$category] } } }\n pagination: { page: $page, pageSize: $pageSize }\n locale: $locale\n ) {\n meta {\n pagination {\n total\n }\n }\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n}\n": types.GetNewsByCategoryDocument, - "\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ... on ComponentSectionsRichText {\n __typename\n id\n content\n }\n ... on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n }\n ... on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n }\n ... on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n id\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n }\n ... on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n locale\n }\n }\n }\n}\n": types.GetPageDataDocument, - "\nquery GetPage1Data($slug: StringFilterInput, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ... on ComponentSectionsRichText {\n __typename\n id\n content\n }\n ... on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n }\n ... on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n }\n ... on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n }\n ... on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n }\n ... on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}\n": types.GetPage1DataDocument, + "\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n": types.GetPageDataDocument, + "\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n": types.GetPage1DataDocument, }; /** @@ -38,6 +45,34 @@ export function gql(source: string): unknown; * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function gql(source: "\nfragment NewArticles on ArticleCategoryEntity {\n attributes {\n articles {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n}"): (typeof documents)["\nfragment NewArticles on ArticleCategoryEntity {\n attributes {\n articles {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment CategorizedNewsFragment on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}"): (typeof documents)["\nfragment CategorizedNewsFragment on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment HeroBannerFragment on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n}"): (typeof documents)["\nfragment HeroBannerFragment on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment ImageBannerFragment on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n}"): (typeof documents)["\nfragment ImageBannerFragment on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment InfoSectionFragment on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n}"): (typeof documents)["\nfragment InfoSectionFragment on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment NewsSectionFragment on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n}"): (typeof documents)["\nfragment NewsSectionFragment on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment ProjectsSectionFragment on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n}"): (typeof documents)["\nfragment ProjectsSectionFragment on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment RichTextFragment on ComponentSectionsRichText {\n __typename\n id\n content\n}\n"): (typeof documents)["\nfragment RichTextFragment on ComponentSectionsRichText {\n __typename\n id\n content\n}\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ @@ -49,14 +84,14 @@ export function gql(source: "\nquery GetNewsByCategory($category: String!, $page /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ... on ComponentSectionsRichText {\n __typename\n id\n content\n }\n ... on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n }\n ... on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n }\n ... on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n id\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n }\n ... on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n locale\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ... on ComponentSectionsRichText {\n __typename\n id\n content\n }\n ... on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n }\n ... on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n }\n ... on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n id\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n }\n ... on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n locale\n }\n }\n }\n}\n"]; +export function gql(source: "\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\nquery GetPage1Data($slug: StringFilterInput, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ... on ComponentSectionsRichText {\n __typename\n id\n content\n }\n ... on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n }\n ... on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n }\n ... on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n }\n ... on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n }\n ... on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetPage1Data($slug: StringFilterInput, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ... on ComponentSectionsRichText {\n __typename\n id\n content\n }\n ... on ComponentSectionsHeroBanner {\n __typename\n id\n coverImage {\n data {\n attributes {\n url\n }\n }\n }\n cta {\n label\n url\n type\n color\n bgColor\n }\n overlayBlock {\n title\n content\n color\n bgColor\n }\n }\n ... on ComponentSectionsInfoCardsTypeA {\n __typename\n id\n theme {\n color\n bgColor\n }\n heading\n description\n cta {\n color\n bgColor\n url\n label\n type\n }\n cards {\n id\n heading\n description\n color\n bgColor\n borderColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsImageBanner {\n __typename\n id\n image {\n data {\n attributes {\n url\n }\n }\n }\n bgColor\n card {\n cardHeading\n cardDescription\n cardColor\n cardBgColor\n linkColor\n linkBgColor\n linkText\n linkUrl\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n ... on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n }\n ... on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n }\n ... on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n }\n ... on ComponentSectionsColumnsWithTabs {\n __typename\n id\n tabTheme {\n color\n bgColor\n borderColor\n activeColor\n activeBgColor\n activeBorderColor\n }\n tabCardTheme {\n color\n bgColor\n linkColor\n }\n maxCardsToDisplay\n cta {\n label\n type\n url\n color\n bgColor\n }\n tabs {\n data {\n id\n attributes {\n slug\n label\n description\n articles(pagination: { page: $page, pageSize: $pageSize }) {\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}\n"]; +export function gql(source: "\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"]; export function gql(source: string) { return (documents as any)[source] ?? {}; } -export type DocumentType> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never; \ No newline at end of file +export type DocumentType> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never; diff --git a/src/__generated__/graphql.ts b/src/__generated__/graphql.ts index e75ed66..da1b085 100644 --- a/src/__generated__/graphql.ts +++ b/src/__generated__/graphql.ts @@ -2344,7 +2344,21 @@ export type UsersPermissionsUserRelationResponseCollection = { data: Array; }; -export type NewArticlesFragment = { __typename?: 'ArticleCategoryEntity', attributes?: { __typename?: 'ArticleCategory', articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null } & { ' $fragmentName'?: 'NewArticlesFragment' }; +export type NewArticlesFragment = { __typename?: 'ArticleCategoryEntity', attributes?: { __typename?: 'ArticleCategory', articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }; + +export type CategorizedNewsFragmentFragment = { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null }; + +export type HeroBannerFragmentFragment = { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null }; + +export type ImageBannerFragmentFragment = { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }; + +export type InfoSectionFragmentFragment = { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null }; + +export type NewsSectionFragmentFragment = { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null }; + +export type ProjectsSectionFragmentFragment = { __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null }; + +export type RichTextFragmentFragment = { __typename: 'ComponentSectionsRichText', id: string, content?: string | null }; export type GetLayoutDataQueryVariables = Exact<{ limit?: InputMaybe; @@ -2372,7 +2386,7 @@ export type GetPageDataQueryVariables = Exact<{ }>; -export type GetPageDataQuery = { __typename?: 'Query', page?: { __typename?: 'PageEntityResponse', data?: { __typename?: 'PageEntity', attributes?: { __typename?: 'Page', label?: string | null, slug?: string | null, locale?: string | null, pageSections?: Array<{ __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', id: string, linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null } | { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null } | { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsRichText', id: string, content?: string | null } | { __typename?: 'ComponentSectionsSecondaryBanner' } | { __typename?: 'ComponentSectionsWaveBanner' } | { __typename?: 'Error' } | null> | null } | null } | null } | null }; +export type GetPageDataQuery = { __typename?: 'Query', page?: { __typename?: 'PageEntityResponse', data?: { __typename?: 'PageEntity', attributes?: { __typename?: 'Page', label?: string | null, slug?: string | null, locale?: string | null, pageSections?: Array<{ __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null } | { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null } | { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsRichText', id: string, content?: string | null } | { __typename?: 'ComponentSectionsSecondaryBanner' } | { __typename?: 'ComponentSectionsWaveBanner' } | { __typename?: 'ComponentSectionsSecondaryBanner' } | { __typename?: 'ComponentSectionsWaveBanner' } | { __typename?: 'Error' } | null> | null } | null } | null } | null }; export type GetPage1DataQueryVariables = Exact<{ slug?: InputMaybe; @@ -2382,10 +2396,17 @@ export type GetPage1DataQueryVariables = Exact<{ }>; -export type GetPage1DataQuery = { __typename?: 'Query', pages?: { __typename?: 'PageEntityResponseCollection', data: Array<{ __typename?: 'PageEntity', attributes?: { __typename?: 'Page', label?: string | null, slug?: string | null, pageSections?: Array<{ __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null } | { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null } | { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsRichText', id: string, content?: string | null } | { __typename?: 'ComponentSectionsSecondaryBanner', name: string, text?: string | null, backgroundColor: Enum_Componentsectionssecondarybanner_Backgroundcolor, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, secondaryBannerCover: { __typename?: 'ComponentSharedImage', altText?: string | null, url?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null }, cta1?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cta2?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null } | { __typename?: 'ComponentSectionsWaveBanner' } | { __typename?: 'Error' } | null> | null } | null }> } | null }; +export type GetPage1DataQuery = { __typename?: 'Query', pages?: { __typename?: 'PageEntityResponseCollection', data: Array<{ __typename?: 'PageEntity', attributes?: { __typename?: 'Page', label?: string | null, slug?: string | null, pageSections?: Array<{ __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null } | { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null } | { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsRichText', id: string, content?: string | null } | { __typename?: 'ComponentSectionsSecondaryBanner' } | { __typename?: 'ComponentSectionsWaveBanner' } | { __typename?: 'Error' } | null> | null } | null }> } | null }; export const NewArticlesFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewArticles"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ArticleCategoryEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"articles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const CategorizedNewsFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CategorizedNewsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const HeroBannerFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"HeroBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}}]} as unknown as DocumentNode; +export const ImageBannerFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ImageBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const InfoSectionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const NewsSectionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}}]} as unknown as DocumentNode; +export const ProjectsSectionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}}]} as unknown as DocumentNode; +export const RichTextFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}}]} as unknown as DocumentNode; export const GetLayoutDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetLayoutData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"white"}},{"kind":"Field","name":{"kind":"Name","value":"black"}},{"kind":"Field","name":{"kind":"Name","value":"background"}},{"kind":"Field","name":{"kind":"Name","value":"primary"}},{"kind":"Field","name":{"kind":"Name","value":"secondary"}},{"kind":"Field","name":{"kind":"Name","value":"tertiary"}},{"kind":"Field","name":{"kind":"Name","value":"quaternary"}},{"kind":"Field","name":{"kind":"Name","value":"quinary"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"header"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"alternativeText"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stripe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialMedia"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"icon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"navigations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"pages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"footer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialMedia"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"icon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"caption"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"tradeMark"}},{"kind":"Field","name":{"kind":"Name","value":"rights"}},{"kind":"Field","name":{"kind":"Name","value":"navigation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const GetNewsByCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetNewsByCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"category"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"article_category"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"category"}}]}}]}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pagination"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetPageDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPageData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"page"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"pageSections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"locale"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetPage1DataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPage1Data"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"StringFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"pageSections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsSecondaryBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerCover"},"name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file +export const GetPageDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPageData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"page"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"pageSections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RichTextFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"HeroBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ImageBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CategorizedNewsFragment"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"HeroBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ImageBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CategorizedNewsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetPage1DataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPage1Data"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"StringFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"pageSections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RichTextFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"HeroBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ImageBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CategorizedNewsFragment"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"HeroBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ImageBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CategorizedNewsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; diff --git a/src/__generated__/index.ts b/src/__generated__/index.ts index f515991..af78399 100644 --- a/src/__generated__/index.ts +++ b/src/__generated__/index.ts @@ -1,2 +1 @@ -export * from "./fragment-masking"; export * from "./gql"; \ No newline at end of file diff --git a/src/app/[locale]/[slug]/page.tsx b/src/app/[locale]/[slug]/page.tsx index 77d7981..995c17b 100644 --- a/src/app/[locale]/[slug]/page.tsx +++ b/src/app/[locale]/[slug]/page.tsx @@ -1,5 +1,6 @@ import { Fragment } from "react"; import { notFound } from "next/navigation"; +import { WaveBanner } from "@/features/wave-banner/wave-banner.tsx"; import { SecondarySection } from "@/features/secondary-section/secondary-section.tsx"; import { getClient } from "@/utils/apollo-client"; import { isNotNull } from "@/utils/type-guards/is-not-null"; @@ -83,6 +84,9 @@ const renderSection = (section?: PagePageSectionsDynamicZone | null) => { case "ComponentSectionsSecondaryBanner": { return ; } + case "ComponentSectionsWaveBanner": { + return ; + } case "ComponentSectionsColumnsWithTabs": { return ; } diff --git a/src/features/categorized-news/categorized-news.tsx b/src/features/categorized-news/categorized-news.tsx index a24df98..caa8aaa 100644 --- a/src/features/categorized-news/categorized-news.tsx +++ b/src/features/categorized-news/categorized-news.tsx @@ -13,13 +13,13 @@ import { getCategorizedNewsTabsMap, } from "@/features/categorized-news/utils.ts"; import { useTabsParams } from "@/hooks/use-tabs-params.ts"; -import { ARTICLE_CATEGORY_FRAGMENT } from "@/queries/article-category-fragment.ts"; import { GET_NEWS_BY_CATEGORY } from "@/queries/get-news-by-category.ts"; import { PAGE_SIZE, START_PAGE } from "@/constants/query-variables.ts"; import { ArticleCategoryEntity, ComponentSectionsColumnsWithTabs, } from "@/__generated__/graphql.ts"; +import { articleCategoryFragment } from "@/fragments/article-category.fragment.ts"; import "./categorized-news.scss"; export interface CategorizedNewsProps { @@ -62,7 +62,7 @@ export const CategorizedNews = ({ data }: CategorizedNewsProps) => { if (activeTab) { client.writeFragment({ id: `${activeTab.__typename}:${activeTab.id}`, - fragment: ARTICLE_CATEGORY_FRAGMENT, + fragment: articleCategoryFragment, data: { attributes: { articles: { diff --git a/src/features/wave-banner/utils.ts b/src/features/wave-banner/utils.ts new file mode 100644 index 0000000..f7d6f89 --- /dev/null +++ b/src/features/wave-banner/utils.ts @@ -0,0 +1,6 @@ +import { getThemeStyle } from "@/utils/get-theme-style.ts"; +import { Enum_Componentsectionswavebanner_Backgroundcolor } from "@/__generated__/graphql.ts"; + +export const getWaveBannerTheme = ( + bgColor: Enum_Componentsectionswavebanner_Backgroundcolor | undefined, +) => getThemeStyle([["--section-background", bgColor]]); diff --git a/src/features/wave-banner/wave-banner.scss b/src/features/wave-banner/wave-banner.scss index 01626d9..f39934b 100644 --- a/src/features/wave-banner/wave-banner.scss +++ b/src/features/wave-banner/wave-banner.scss @@ -13,11 +13,6 @@ color: var(--_color); background-color: var(--_background-color); - &[data-theme="secondary"] { - --background-color: var(--secondary); - --color: var(--black); - } - &-image { display: none; } @@ -63,6 +58,11 @@ width: 330px; height: 330px; color: var(--_decoration-color); + + &--large { + width: 448px; + height: 448px; + } } &-info { diff --git a/src/features/wave-banner/wave-banner.tsx b/src/features/wave-banner/wave-banner.tsx index 2e33a1a..a2de872 100644 --- a/src/features/wave-banner/wave-banner.tsx +++ b/src/features/wave-banner/wave-banner.tsx @@ -1,51 +1,61 @@ -import { Button, ButtonTheme } from "@/components/button/button.tsx"; +import { ButtonLink } from "@/components/button-link/button-link.tsx"; import { SectionBase } from "@/components/section-base/section-base.tsx"; import { Title } from "@/components/title/title.tsx"; import { Typography } from "@/components/typography/typography.tsx"; import { WavyImage } from "@/components/wavy-image/wavy-image.tsx"; +import { getWaveBannerTheme } from "@/features/wave-banner/utils.ts"; +import { ComponentSectionsWaveBanner } from "@/__generated__/graphql.ts"; import "./wave-banner.scss"; export interface WaveBannerProps { - theme?: string; - action?: string; - imageSource: string; - title: string; - body: string; - contentMode?: "ltr" | "rtl"; + data?: ComponentSectionsWaveBanner; } -export const WaveBanner = ({ - theme, - imageSource, - title, - body, - action, - contentMode = "ltr", -}: WaveBannerProps) => ( - - {contentMode === "ltr" && ( - - )} -
- {title} - {body} - {action && ( - +export const WaveBanner = ({ data }: WaveBannerProps) => { + const { + image, + text, + title, + cta: action, + isLargeImage, // TODO: add sizes from the design + // isTextBox, // TODO: understand the usage + backgroundColor, // TODO: change to proper theme with bgColor and color for text + } = data ?? {}; + + const contentMode: "ltr" | "rtl" = "ltr"; // TODO: implement placement from BE side + const imageClassName = isLargeImage + ? "wave-banner-image--large" + : "wave-banner-image"; + const imageSource = image?.image?.data?.attributes?.url ?? ""; + + return ( + + {contentMode === "ltr" && ( + )} -
- {contentMode === "rtl" && ( - - )} -
-); +
+ {title && {title.text}} + {text} + {action && ( + + {action.label} + + )} +
+ {/*{contentMode === "rtl" && (*/} + {/* */} + {/*)}*/} + + ); +}; diff --git a/src/queries/article-category-fragment.ts b/src/fragments/article-category.fragment.ts similarity index 88% rename from src/queries/article-category-fragment.ts rename to src/fragments/article-category.fragment.ts index f5927d7..307a7ee 100644 --- a/src/queries/article-category-fragment.ts +++ b/src/fragments/article-category.fragment.ts @@ -1,6 +1,6 @@ import { gql } from "@/__generated__"; -export const ARTICLE_CATEGORY_FRAGMENT = gql(` +export const articleCategoryFragment = gql(` fragment NewArticles on ArticleCategoryEntity { attributes { articles { diff --git a/src/fragments/categorized-news.fragment.ts b/src/fragments/categorized-news.fragment.ts new file mode 100644 index 0000000..b280984 --- /dev/null +++ b/src/fragments/categorized-news.fragment.ts @@ -0,0 +1,55 @@ +import { gql } from "@/__generated__"; + +export const categorizedNewsFragment = gql(` +fragment CategorizedNewsFragment on ComponentSectionsColumnsWithTabs { + __typename + id + tabTheme { + color + bgColor + borderColor + activeColor + activeBgColor + activeBorderColor + } + tabCardTheme { + color + bgColor + linkColor + } + maxCardsToDisplay + cta { + label + type + url + color + bgColor + } + tabs { + data { + id + attributes { + slug + label + description + articles(pagination: { page: $page, pageSize: $pageSize }) { + data { + id + attributes { + slug + title + excerpt + featuredImage { + data { + attributes { + url + } + } + } + } + } + } + } + } + } +}`); diff --git a/src/fragments/hero-banner.fragment.ts b/src/fragments/hero-banner.fragment.ts new file mode 100644 index 0000000..959c2c4 --- /dev/null +++ b/src/fragments/hero-banner.fragment.ts @@ -0,0 +1,27 @@ +import { gql } from "@/__generated__"; + +export const heroBannerFragment = gql(` +fragment HeroBannerFragment on ComponentSectionsHeroBanner { + __typename + id + coverImage { + data { + attributes { + url + } + } + } + cta { + label + url + type + color + bgColor + } + overlayBlock { + title + content + color + bgColor + } +}`); diff --git a/src/fragments/image-banner.fragment.ts b/src/fragments/image-banner.fragment.ts new file mode 100644 index 0000000..e6661aa --- /dev/null +++ b/src/fragments/image-banner.fragment.ts @@ -0,0 +1,34 @@ +import { gql } from "@/__generated__"; + +export const imageBannerFragment = gql(` +fragment ImageBannerFragment on ComponentSectionsImageBanner { + __typename + id + image { + data { + attributes { + url + } + } + } + bgColor + card { + cardHeading + cardDescription + cardColor + cardBgColor + linkColor + linkBgColor + linkText + linkUrl + linkTitle + linkNewTab + linkIcon { + data { + attributes { + url + } + } + } + } +}`); diff --git a/src/fragments/info-section.fragment.ts b/src/fragments/info-section.fragment.ts new file mode 100644 index 0000000..4309e5c --- /dev/null +++ b/src/fragments/info-section.fragment.ts @@ -0,0 +1,35 @@ +import { gql } from "@/__generated__"; + +export const infoSectionFragment = gql(` +fragment InfoSectionFragment on ComponentSectionsInfoCardsTypeA { + __typename + id + theme { + color + bgColor + } + heading + description + cta { + color + bgColor + url + label + type + } + cards { + id + heading + description + color + bgColor + borderColor + image { + data { + attributes { + url + } + } + } + } +}`); diff --git a/src/fragments/news-section.fragment.ts b/src/fragments/news-section.fragment.ts new file mode 100644 index 0000000..8deec5b --- /dev/null +++ b/src/fragments/news-section.fragment.ts @@ -0,0 +1,45 @@ +import { gql } from "@/__generated__"; + +export const newsSectionFragment = gql(` +fragment NewsSectionFragment on ComponentSectionsColumns { + __typename + id + columnsHeading: heading { + text + position + } + theme { + color + bgColor + } + cta { + label + type + url + color + bgColor + } + cards { + cardColor: color + cardBgColor: bgColor + linkText + linkColor + article { + data { + attributes { + slug + title + excerpt + featuredImage { + data { + attributes { + url + } + } + } + } + } + } + } + showWave +}`); diff --git a/src/fragments/projects-section.fragment.ts b/src/fragments/projects-section.fragment.ts new file mode 100644 index 0000000..4c60044 --- /dev/null +++ b/src/fragments/projects-section.fragment.ts @@ -0,0 +1,39 @@ +import { gql } from "@/__generated__"; + +export const projectsSectionFragment = gql(` +fragment ProjectsSectionFragment on ComponentSectionsBlocksGrid { + __typename + id + heading + theme { + color + bgColor + } + block { + id + heading + description + color + bgColor + image { + data { + attributes { + url + } + } + } + linkUrl + linkText + linkTitle + linkNewTab + linkIcon { + data { + attributes { + url + } + } + } + linkColor + linkBgColor + } +}`); diff --git a/src/fragments/rich-text.fragment.ts b/src/fragments/rich-text.fragment.ts new file mode 100644 index 0000000..8da1af0 --- /dev/null +++ b/src/fragments/rich-text.fragment.ts @@ -0,0 +1,9 @@ +import { gql } from "@/__generated__"; + +export const richTextFragment = gql(` +fragment RichTextFragment on ComponentSectionsRichText { + __typename + id + content +} +`); diff --git a/src/queries/get-page.ts b/src/queries/get-page.ts index 734fc53..2e01c82 100644 --- a/src/queries/get-page.ts +++ b/src/queries/get-page.ts @@ -7,232 +7,16 @@ query GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode attributes { label slug + locale pageSections { - ... on ComponentSectionsRichText { - __typename - id - content - } - ... on ComponentSectionsHeroBanner { - __typename - id - coverImage { - data { - attributes { - url - } - } - } - cta { - label - url - type - color - bgColor - } - overlayBlock { - title - content - color - bgColor - } - } - ... on ComponentSectionsInfoCardsTypeA { - __typename - id - theme { - color - bgColor - } - heading - description - cta { - color - bgColor - url - label - type - } - cards { - id - heading - description - color - bgColor - borderColor - image { - data { - attributes { - url - } - } - } - } - } - ... on ComponentSectionsImageBanner { - __typename - id - image { - data { - attributes { - url - } - } - } - bgColor - card { - cardHeading - cardDescription - cardColor - cardBgColor - linkColor - linkBgColor - linkText - linkUrl - linkTitle - linkNewTab - linkIcon { - data { - attributes { - url - } - } - } - } - } - ... on ComponentSectionsBlocksGrid { - __typename - id - heading - theme { - color - bgColor - } - block { - id - heading - description - color - bgColor - image { - data { - attributes { - url - } - } - } - linkUrl - linkText - linkTitle - linkNewTab - linkIcon { - data { - attributes { - url - } - } - } - linkColor - linkBgColor - } - } - ... on ComponentSectionsColumns { - __typename - id - columnsHeading: heading { - text - position - } - theme { - color - bgColor - } - cta { - label - type - url - color - bgColor - } - cards { - id - cardColor: color - cardBgColor: bgColor - linkText - linkColor - article { - data { - attributes { - slug - title - excerpt - featuredImage { - data { - attributes { - url - } - } - } - } - } - } - } - showWave - } - ... on ComponentSectionsColumnsWithTabs { - __typename - id - tabTheme { - color - bgColor - borderColor - activeColor - activeBgColor - activeBorderColor - } - tabCardTheme { - color - bgColor - linkColor - } - maxCardsToDisplay - cta { - label - type - url - color - bgColor - } - tabs { - data { - id - attributes { - slug - label - description - articles(pagination: { page: $page, pageSize: $pageSize }) { - data { - id - attributes { - slug - title - excerpt - featuredImage { - data { - attributes { - url - } - } - } - } - } - } - } - } - } - } + ...RichTextFragment + ...HeroBannerFragment + ...InfoSectionFragment + ...ImageBannerFragment + ...ProjectsSectionFragment + ...NewsSectionFragment + ...CategorizedNewsFragment } - locale } } } diff --git a/src/queries/get-pages-data.ts b/src/queries/get-pages-data.ts index 9269a31..6ffdebf 100644 --- a/src/queries/get-pages-data.ts +++ b/src/queries/get-pages-data.ts @@ -1,272 +1,25 @@ import { gql } from "@/__generated__"; export const GET_PAGES_DATA = gql(` -query GetPage1Data($slug: StringFilterInput, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) { +query GetPage1Data( + $slug: StringFilterInput + $locale: I18NLocaleCode + $page: Int! + $pageSize: Int! +) { pages(filters: { slug: $slug }, locale: $locale) { data { attributes { label slug pageSections { - ... on ComponentSectionsRichText { - __typename - id - content - } - ... on ComponentSectionsHeroBanner { - __typename - id - coverImage { - data { - attributes { - url - } - } - } - cta { - label - url - type - color - bgColor - } - overlayBlock { - title - content - color - bgColor - } - } - ... on ComponentSectionsInfoCardsTypeA { - __typename - id - theme { - color - bgColor - } - heading - description - cta { - color - bgColor - url - label - type - } - cards { - id - heading - description - color - bgColor - borderColor - image { - data { - attributes { - url - } - } - } - } - } - ... on ComponentSectionsImageBanner { - __typename - id - image { - data { - attributes { - url - } - } - } - bgColor - card { - cardHeading - cardDescription - cardColor - cardBgColor - linkColor - linkBgColor - linkText - linkUrl - linkTitle - linkNewTab - linkIcon { - data { - attributes { - url - } - } - } - } - } - ... on ComponentSectionsBlocksGrid { - __typename - id - heading - theme { - color - bgColor - } - block { - id - heading - description - color - bgColor - image { - data { - attributes { - url - } - } - } - linkUrl - linkText - linkTitle - linkNewTab - linkIcon { - data { - attributes { - url - } - } - } - linkColor - linkBgColor - } - } - ... on ComponentSectionsColumns { - __typename - id - columnsHeading: heading { - text - position - } - theme { - color - bgColor - } - cta { - label - type - url - color - bgColor - } - cards { - cardColor: color - cardBgColor: bgColor - linkText - linkColor - article { - data { - attributes { - slug - title - excerpt - featuredImage { - data { - attributes { - url - } - } - } - } - } - } - } - showWave - } - ... on ComponentSectionsSecondaryBanner { - name - title { - text - position - level - } - text - backgroundColor - secondaryBannerCover: image { - image { - data { - attributes { - url - } - } - } - altText - url - isIcon - newTab - } - cta1 { - label - type - url - color - bgColor - } - cta2 { - label - type - url - color - bgColor - } - } - ... on ComponentSectionsColumnsWithTabs { - __typename - id - tabTheme { - color - bgColor - borderColor - activeColor - activeBgColor - activeBorderColor - } - tabCardTheme { - color - bgColor - linkColor - } - maxCardsToDisplay - cta { - label - type - url - color - bgColor - } - tabs { - data { - id - attributes { - slug - label - description - articles(pagination: { page: $page, pageSize: $pageSize }) { - data { - id - attributes { - slug - title - excerpt - featuredImage { - data { - attributes { - url - } - } - } - } - } - } - } - } - } - } + ...RichTextFragment + ...HeroBannerFragment + ...InfoSectionFragment + ...ImageBannerFragment + ...ProjectsSectionFragment + ...NewsSectionFragment + ...CategorizedNewsFragment } } } diff --git a/yarn.lock b/yarn.lock index 268a575..7f70f93 100644 --- a/yarn.lock +++ b/yarn.lock @@ -235,10 +235,10 @@ dependencies: "@babel/types" "^7.24.6" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.24.6", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.24.6" - resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.6.tgz" - integrity sha512-MZG/JcWfxybKwsA9N9PmtF2lOSFSEMVCpIRrbxccZFLJPrJciJdG/UhSh5W96GEteJI2ARqm5UAHxISwRDLSNg== +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.24.6", "@babel/helper-plugin-utils@^7.24.7", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.24.8" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz" + integrity sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg== "@babel/helper-remap-async-to-generator@^7.24.6": version "7.24.6" @@ -418,12 +418,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-flow@^7.0.0", "@babel/plugin-syntax-flow@^7.24.6": - version "7.24.6" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.24.6.tgz" - integrity sha512-gNkksSdV8RbsCoHF9sjVYrHfYACMl/8U32UfUhJ9+84/ASXw8dlx+eHyyF0m6ncQJ9IBSxfuCkB36GJqYdXTOA== +"@babel/plugin-syntax-flow@^7.0.0", "@babel/plugin-syntax-flow@^7.24.7": + version "7.24.7" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.24.7.tgz" + integrity sha512-9G8GYT/dxn/D1IIKOUBmGX0mnmj46mGH9NnZyJLwtCpgh5f7D2VbuKodb+2s9m1Yavh1s7ASQN8lf0eqrb1LTw== dependencies: - "@babel/helper-plugin-utils" "^7.24.6" + "@babel/helper-plugin-utils" "^7.24.7" "@babel/plugin-syntax-import-assertions@^7.20.0", "@babel/plugin-syntax-import-assertions@^7.24.6": version "7.24.6" @@ -657,12 +657,12 @@ "@babel/plugin-syntax-export-namespace-from" "^7.8.3" "@babel/plugin-transform-flow-strip-types@^7.0.0": - version "7.24.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.24.6.tgz" - integrity sha512-1l8b24NoCpaQ13Vi6FtLG1nv6kNoi8PWvQb1AYO7GHZDpFfBYc3lbXArx1lP2KRt8b4pej1eWc/zrRmsQTfOdQ== + version "7.24.7" + resolved "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.24.7.tgz" + integrity sha512-cjRKJ7FobOH2eakx7Ja+KpJRj8+y+/SiB3ooYm/n2UJfxu0oEaOoxOinitkJcPqv9KxS0kxTGPUaR7L2XcXDXA== dependencies: - "@babel/helper-plugin-utils" "^7.24.6" - "@babel/plugin-syntax-flow" "^7.24.6" + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-flow" "^7.24.7" "@babel/plugin-transform-for-of@^7.0.0", "@babel/plugin-transform-for-of@^7.24.6": version "7.24.6" @@ -1227,10 +1227,10 @@ dependencies: tslib "^2.4.0" -"@graphql-codegen/add@^5.0.2": - version "5.0.2" - resolved "https://registry.npmjs.org/@graphql-codegen/add/-/add-5.0.2.tgz" - integrity sha512-ouBkSvMFUhda5VoKumo/ZvsZM9P5ZTyDsI8LW18VxSNWOjrTeLXBWHG8Gfaai0HwhflPtCYVABbriEcOmrRShQ== +"@graphql-codegen/add@^5.0.3": + version "5.0.3" + resolved "https://registry.npmjs.org/@graphql-codegen/add/-/add-5.0.3.tgz" + integrity sha512-SxXPmramkth8XtBlAHu4H4jYcYXM/o3p01+psU+0NADQowA8jtYkK6MW5rV6T+CxkEaNZItfSmZRPgIuypcqnA== dependencies: "@graphql-codegen/plugin-helpers" "^5.0.3" tslib "~2.6.0" @@ -1276,20 +1276,20 @@ yaml "^2.3.1" yargs "^17.0.0" -"@graphql-codegen/client-preset@^4.2.2", "@graphql-codegen/client-preset@^4.2.6": - version "4.2.6" - resolved "https://registry.npmjs.org/@graphql-codegen/client-preset/-/client-preset-4.2.6.tgz" - integrity sha512-e7SzPb+nxNJfsD0uG+NSyzIeTtCXTouX5VThmcCoqGMDLgF5Lo7932B3HtZCvzmzqcXxRjJ81CmkA2LhlqIbCw== +"@graphql-codegen/client-preset@^4.2.2", "@graphql-codegen/client-preset@^4.3.2": + version "4.3.2" + resolved "https://registry.npmjs.org/@graphql-codegen/client-preset/-/client-preset-4.3.2.tgz" + integrity sha512-42jHyG6u2uFDIVNvzue8zR529aPT16EYIJQmvMk8XuYHo3PneQVlWmQ3j2fBy+RuWCBzpJKPKm7IGSKiw19nmg== dependencies: "@babel/helper-plugin-utils" "^7.20.2" "@babel/template" "^7.20.7" - "@graphql-codegen/add" "^5.0.2" - "@graphql-codegen/gql-tag-operations" "4.0.7" + "@graphql-codegen/add" "^5.0.3" + "@graphql-codegen/gql-tag-operations" "4.0.9" "@graphql-codegen/plugin-helpers" "^5.0.4" - "@graphql-codegen/typed-document-node" "^5.0.7" - "@graphql-codegen/typescript" "^4.0.7" - "@graphql-codegen/typescript-operations" "^4.2.1" - "@graphql-codegen/visitor-plugin-common" "^5.2.0" + "@graphql-codegen/typed-document-node" "^5.0.9" + "@graphql-codegen/typescript" "^4.0.9" + "@graphql-codegen/typescript-operations" "^4.2.3" + "@graphql-codegen/visitor-plugin-common" "^5.3.1" "@graphql-tools/documents" "^1.0.0" "@graphql-tools/utils" "^10.0.0" "@graphql-typed-document-node/core" "3.2.0" @@ -1305,13 +1305,13 @@ "@graphql-tools/utils" "^10.0.0" tslib "~2.6.0" -"@graphql-codegen/gql-tag-operations@4.0.7": - version "4.0.7" - resolved "https://registry.npmjs.org/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-4.0.7.tgz" - integrity sha512-2I69+IDC8pqAohH6cgKse/vPfJ/4TRTJX96PkAKz8S4RD54PUHtBmzCdBInIFEP/vQuH5mFUAaIKXXjznmGOsg== +"@graphql-codegen/gql-tag-operations@4.0.9": + version "4.0.9" + resolved "https://registry.npmjs.org/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-4.0.9.tgz" + integrity sha512-lVgu1HClel896HqZAEjynatlU6eJrYOw+rh05DPgM150xvmb7Gz5TnRHA2vfwlDNIXDaToAIpz5RFfkjjnYM1Q== dependencies: "@graphql-codegen/plugin-helpers" "^5.0.4" - "@graphql-codegen/visitor-plugin-common" "5.2.0" + "@graphql-codegen/visitor-plugin-common" "5.3.1" "@graphql-tools/utils" "^10.0.0" auto-bind "~4.0.0" tslib "~2.6.0" @@ -1329,51 +1329,51 @@ tslib "~2.6.0" "@graphql-codegen/schema-ast@^4.0.2": - version "4.0.2" - resolved "https://registry.npmjs.org/@graphql-codegen/schema-ast/-/schema-ast-4.0.2.tgz" - integrity sha512-5mVAOQQK3Oz7EtMl/l3vOQdc2aYClUzVDHHkMvZlunc+KlGgl81j8TLa+X7ANIllqU4fUEsQU3lJmk4hXP6K7Q== + version "4.1.0" + resolved "https://registry.npmjs.org/@graphql-codegen/schema-ast/-/schema-ast-4.1.0.tgz" + integrity sha512-kZVn0z+th9SvqxfKYgztA6PM7mhnSZaj4fiuBWvMTqA+QqQ9BBed6Pz41KuD/jr0gJtnlr2A4++/0VlpVbCTmQ== dependencies: "@graphql-codegen/plugin-helpers" "^5.0.3" "@graphql-tools/utils" "^10.0.0" tslib "~2.6.0" -"@graphql-codegen/typed-document-node@^5.0.7": - version "5.0.7" - resolved "https://registry.npmjs.org/@graphql-codegen/typed-document-node/-/typed-document-node-5.0.7.tgz" - integrity sha512-rgFh96hAbNwPUxLVlRcNhGaw2+y7ZGx7giuETtdO8XzPasTQGWGRkZ3wXQ5UUiTX4X3eLmjnuoXYKT7HoxSznQ== +"@graphql-codegen/typed-document-node@^5.0.9": + version "5.0.9" + resolved "https://registry.npmjs.org/@graphql-codegen/typed-document-node/-/typed-document-node-5.0.9.tgz" + integrity sha512-Wx6fyA4vpfIbfNTMiWUECGnjqzKkJdEbZHxVMIegiCBPzBYPAJV4mZZcildLAfm2FtZcgW4YKtFoTbnbXqPB3w== dependencies: "@graphql-codegen/plugin-helpers" "^5.0.4" - "@graphql-codegen/visitor-plugin-common" "5.2.0" + "@graphql-codegen/visitor-plugin-common" "5.3.1" auto-bind "~4.0.0" change-case-all "1.0.15" tslib "~2.6.0" -"@graphql-codegen/typescript-operations@^4.2.1": - version "4.2.1" - resolved "https://registry.npmjs.org/@graphql-codegen/typescript-operations/-/typescript-operations-4.2.1.tgz" - integrity sha512-LhEPsaP+AI65zfK2j6CBAL4RT0bJL/rR9oRWlvwtHLX0t7YQr4CP4BXgvvej9brYdedAxHGPWeV1tPHy5/z9KQ== +"@graphql-codegen/typescript-operations@^4.2.3": + version "4.2.3" + resolved "https://registry.npmjs.org/@graphql-codegen/typescript-operations/-/typescript-operations-4.2.3.tgz" + integrity sha512-6z7avSSOr03l5SyKbeDs7MzRyGwnQFSCqQm8Om5wIuoIgXVu2gXRmcJAY/I7SLdAy9xbF4Sho7XNqieFM2CAFQ== dependencies: "@graphql-codegen/plugin-helpers" "^5.0.4" - "@graphql-codegen/typescript" "^4.0.7" - "@graphql-codegen/visitor-plugin-common" "5.2.0" + "@graphql-codegen/typescript" "^4.0.9" + "@graphql-codegen/visitor-plugin-common" "5.3.1" auto-bind "~4.0.0" tslib "~2.6.0" -"@graphql-codegen/typescript@^4.0.7": - version "4.0.7" - resolved "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-4.0.7.tgz" - integrity sha512-Gn+JNvQBJhBqH7s83piAJ6UeU/MTj9GXWFO9bdbl8PMLCAM1uFAtg04iHfkGCtDKXcUg5a3Dt/SZG85uk5KuhA== +"@graphql-codegen/typescript@^4.0.9": + version "4.0.9" + resolved "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-4.0.9.tgz" + integrity sha512-0O35DMR4d/ctuHL1Zo6mRUUzp0BoszKfeWsa6sCm/g70+S98+hEfTwZNDkQHylLxapiyjssF9uw/F+sXqejqLw== dependencies: "@graphql-codegen/plugin-helpers" "^5.0.4" "@graphql-codegen/schema-ast" "^4.0.2" - "@graphql-codegen/visitor-plugin-common" "5.2.0" + "@graphql-codegen/visitor-plugin-common" "5.3.1" auto-bind "~4.0.0" tslib "~2.6.0" -"@graphql-codegen/visitor-plugin-common@^5.2.0", "@graphql-codegen/visitor-plugin-common@5.2.0": - version "5.2.0" - resolved "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-5.2.0.tgz" - integrity sha512-0p8AwmARaZCAlDFfQu6Sz+JV6SjbPDx3y2nNM7WAAf0au7Im/GpJ7Ke3xaIYBc1b2rTZ+DqSTJI/zomENGD9NA== +"@graphql-codegen/visitor-plugin-common@^5.3.1", "@graphql-codegen/visitor-plugin-common@5.3.1": + version "5.3.1" + resolved "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-5.3.1.tgz" + integrity sha512-MktoBdNZhSmugiDjmFl1z6rEUUaqyxtFJYWnDilE7onkPgyw//O0M+TuPBJPBWdyV6J2ond0Hdqtq+rkghgSIQ== dependencies: "@graphql-codegen/plugin-helpers" "^5.0.4" "@graphql-tools/optimize" "^2.0.0" @@ -3901,6 +3901,11 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz" @@ -6975,10 +6980,10 @@ typed-array-length@^1.0.6: is-typed-array "^1.1.13" possible-typed-array-names "^1.0.0" -typescript@^5.4.3, typescript@>=3.3.1, typescript@>=4.2.0, typescript@>=4.9.5: - version "5.4.5" - resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz" - integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== +typescript@^5.5.3, typescript@>=3.3.1, typescript@>=4.2.0, typescript@>=4.9.5: + version "5.5.3" + resolved "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz" + integrity sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ== ua-parser-js@^1.0.35: version "1.0.38" From 14c34a93d1c59be03c785661ebd4aff51afc129f Mon Sep 17 00:00:00 2001 From: Andrey_Bogoroditskiy Date: Sun, 28 Jul 2024 16:28:25 +0300 Subject: [PATCH 2/4] Fix styles --- src/components/wavy-image/wavy-image.scss | 4 +-- src/features/wave-banner/wave-banner.scss | 36 ++++++++++++++++++++ src/features/wave-banner/wave-banner.tsx | 9 +++-- src/styles/_layout.scss | 2 +- src/styles/mixins/_index.scss | 14 ++++---- src/styles/mixins/button.mixin.scss | 2 +- src/styles/mixins/wavy-background.mixin.scss | 8 ++--- 7 files changed, 57 insertions(+), 18 deletions(-) diff --git a/src/components/wavy-image/wavy-image.scss b/src/components/wavy-image/wavy-image.scss index 79939d2..d2996d6 100644 --- a/src/components/wavy-image/wavy-image.scss +++ b/src/components/wavy-image/wavy-image.scss @@ -27,7 +27,7 @@ height: 100%; top: 0; right: 0; - @include mixins.vertical-image-mask("@/assets/icons/vertical-wave.svg"); + @include mixins.vertical-image-mask("../../../public/assets/icons/vertical-wave.svg"); } &-vertical-wave-1 { @@ -47,7 +47,7 @@ height: 26px; left: 0; bottom: 0; - @include mixins.horizontal-image-mask("@/assets/icons/card-wave.svg"); + @include mixins.horizontal-image-mask("../../../public/assets/icons/card-wave.svg"); } &-horizontal-wave-1 { diff --git a/src/features/wave-banner/wave-banner.scss b/src/features/wave-banner/wave-banner.scss index f39934b..081e7ba 100644 --- a/src/features/wave-banner/wave-banner.scss +++ b/src/features/wave-banner/wave-banner.scss @@ -14,11 +14,26 @@ background-color: var(--_background-color); &-image { + aspect-ratio: 1/1; display: none; + + &--large { + aspect-ratio: 1/1; + display: none; + } } &-info { padding: 24px; + width: 100%; + + &--card { + width: 100%; + padding: 16px; + border-radius: 8px 8px 20px 8px; + color: var(--_color); + background-color: var(--_decoration-color); + } } &-title { @@ -50,6 +65,16 @@ gap: 48px; margin: auto; width: map-get(layout.$columns, "col-8"); + + &:has(.wave-banner-image--large) { + padding: 0 24px; + margin: 0; + width: 100%; + } + } + + &-title { + @include mixins.h2; } &-image { @@ -62,12 +87,23 @@ &--large { width: 448px; height: 448px; + display: block; + flex-shrink: 0; + color: var(--_decoration-color); } } &-info { padding: 32px 0 32px 32px; flex-grow: 1; + + &--card { + padding: 24px; + border-radius: 8px 8px 20px 8px; + margin: auto 0; + color: var(--_color); + background-color: var(--_decoration-color); + } } } } diff --git a/src/features/wave-banner/wave-banner.tsx b/src/features/wave-banner/wave-banner.tsx index a2de872..93fbda6 100644 --- a/src/features/wave-banner/wave-banner.tsx +++ b/src/features/wave-banner/wave-banner.tsx @@ -17,8 +17,8 @@ export const WaveBanner = ({ data }: WaveBannerProps) => { text, title, cta: action, - isLargeImage, // TODO: add sizes from the design - // isTextBox, // TODO: understand the usage + isLargeImage, + isTextBox, backgroundColor, // TODO: change to proper theme with bgColor and color for text } = data ?? {}; @@ -26,6 +26,9 @@ export const WaveBanner = ({ data }: WaveBannerProps) => { const imageClassName = isLargeImage ? "wave-banner-image--large" : "wave-banner-image"; + const infoClassName = isTextBox + ? "wave-banner-info" + : "wave-banner-info--card"; const imageSource = image?.image?.data?.attributes?.url ?? ""; return ( @@ -38,7 +41,7 @@ export const WaveBanner = ({ data }: WaveBannerProps) => { {contentMode === "ltr" && ( )} -
+
{title && {title.text}} {text} {action && ( diff --git a/src/styles/_layout.scss b/src/styles/_layout.scss index c280118..0ed7023 100644 --- a/src/styles/_layout.scss +++ b/src/styles/_layout.scss @@ -1,4 +1,4 @@ -@use "@/styles/breakpoints"; +@use "src/styles/breakpoints"; $columns: ( col-1: 8.333333333333332%, diff --git a/src/styles/mixins/_index.scss b/src/styles/mixins/_index.scss index b5320ab..3bdcf31 100644 --- a/src/styles/mixins/_index.scss +++ b/src/styles/mixins/_index.scss @@ -1,7 +1,7 @@ -@forward "@/styles/mixins/multiline-ellipsis.mixin"; -@forward "@/styles/mixins/partial-underline.mixin"; -@forward "@/styles/mixins/image-mask.mixin"; -@forward "@/styles/mixins/button.mixin"; -@forward "@/styles/mixins/wavy-background.mixin"; -@forward "@/styles/mixins/typography.mixin"; -@forward "@/styles/mixins/visually-hidden.mixin"; +@forward "src/styles/mixins/multiline-ellipsis.mixin"; +@forward "src/styles/mixins/partial-underline.mixin"; +@forward "src/styles/mixins/image-mask.mixin"; +@forward "src/styles/mixins/button.mixin"; +@forward "src/styles/mixins/wavy-background.mixin"; +@forward "src/styles/mixins/typography.mixin"; +@forward "src/styles/mixins/visually-hidden.mixin"; diff --git a/src/styles/mixins/button.mixin.scss b/src/styles/mixins/button.mixin.scss index d458722..0b0eaf3 100644 --- a/src/styles/mixins/button.mixin.scss +++ b/src/styles/mixins/button.mixin.scss @@ -1,4 +1,4 @@ -@use "@/styles/responsive-mixins"; +@use "src/styles/responsive-mixins"; @mixin button { --main-color: var(--primary); diff --git a/src/styles/mixins/wavy-background.mixin.scss b/src/styles/mixins/wavy-background.mixin.scss index e0b14f7..e8ed74d 100644 --- a/src/styles/mixins/wavy-background.mixin.scss +++ b/src/styles/mixins/wavy-background.mixin.scss @@ -1,16 +1,16 @@ -@use "@/styles/responsive-mixins"; +@use "src/styles/responsive-mixins"; @mixin wavy-background { background-repeat: no-repeat; background-size: cover; background-position: center; - background-image: url("@/assets/icons/background-path-sm.svg"); + background-image: url("../../../public/assets/icons/background-path-sm.svg"); @include responsive-mixins.md { - background-image: url("@/assets/icons/background-path-md.svg"); + background-image: url("../../../public/assets/icons/background-path-md.svg"); } @include responsive-mixins.lg { - background-image: url("@/assets/icons/background-path-lg.svg"); + background-image: url("../../../public/assets/icons/background-path-lg.svg"); } } From 2018243ddb2851e23039bc39e20c4e0af1e0b46c Mon Sep 17 00:00:00 2001 From: Andrey_Bogoroditskiy Date: Sun, 28 Jul 2024 17:13:55 +0300 Subject: [PATCH 3/4] Added fragments --- src/__generated__/gql.ts | 20 +- src/__generated__/graphql.ts | 311 +++++++++++++++++- src/app/[locale]/[slug]/page.tsx | 9 +- .../secondary-card/secondary-card.tsx | 10 +- src/components/secondary-card/utils.ts | 6 +- .../secondary-section/secondary-section.tsx | 6 +- src/fragments/secondary-banner.fragment.ts | 40 +++ src/fragments/wave-banner.fragment.ts | 34 ++ src/queries/get-page.ts | 2 + src/queries/get-pages-data.ts | 2 + 10 files changed, 416 insertions(+), 24 deletions(-) create mode 100644 src/fragments/secondary-banner.fragment.ts create mode 100644 src/fragments/wave-banner.fragment.ts diff --git a/src/__generated__/gql.ts b/src/__generated__/gql.ts index 5d88a74..2e383a2 100644 --- a/src/__generated__/gql.ts +++ b/src/__generated__/gql.ts @@ -21,10 +21,12 @@ const documents = { "\nfragment NewsSectionFragment on ComponentSectionsColumns {\n __typename\n id\n columnsHeading: heading {\n text\n position\n }\n theme {\n color\n bgColor\n }\n cta {\n label\n type\n url\n color\n bgColor\n }\n cards {\n cardColor: color\n cardBgColor: bgColor\n linkText\n linkColor\n article {\n data {\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n showWave\n}": types.NewsSectionFragmentFragmentDoc, "\nfragment ProjectsSectionFragment on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n}": types.ProjectsSectionFragmentFragmentDoc, "\nfragment RichTextFragment on ComponentSectionsRichText {\n __typename\n id\n content\n}\n": types.RichTextFragmentFragmentDoc, + "\nfragment SecondaryBannerFragment on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n secondaryBannerBackgroundColor: backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n}": types.SecondaryBannerFragmentFragmentDoc, + "\nfragment WaveBannerFragment on ComponentSectionsWaveBanner {\n name\n image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n isIcon\n newTab\n }\n isLargeImage\n title {\n text\n position\n level\n }\n text\n cta {\n label\n type\n url\n color\n bgColor\n }\n backgroundColor\n isTextBox\n}": types.WaveBannerFragmentFragmentDoc, "\nquery GetLayoutData($limit: Int, $locale: I18NLocaleCode) {\n pages(pagination: { limit: $limit }, locale: $locale) {\n data {\n id\n attributes {\n slug\n }\n }\n }\n colorScheme {\n data {\n attributes {\n white\n black\n background\n primary\n secondary\n tertiary\n quaternary\n quinary\n }\n }\n }\n header(locale: $locale) {\n data {\n attributes {\n logo {\n altText\n isIcon\n url\n newTab\n image {\n data {\n attributes {\n url\n alternativeText\n }\n }\n }\n }\n cta {\n type\n url\n label\n color\n bgColor\n }\n stripe {\n theme {\n color\n bgColor\n }\n socialMedia {\n title\n url\n newTab\n icon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n navigations {\n data {\n attributes {\n slug\n label\n description\n pages {\n data {\n attributes {\n slug\n label\n }\n }\n }\n }\n }\n }\n }\n }\n }\n footer(locale: $locale) {\n data {\n attributes {\n theme {\n color\n bgColor\n }\n socialMedia {\n title\n url\n newTab\n icon {\n data {\n attributes {\n caption\n url\n previewUrl\n height\n width\n }\n }\n }\n }\n heading\n tradeMark\n rights\n navigation {\n data {\n attributes {\n slug\n label\n }\n }\n }\n }\n }\n }\n}\n": types.GetLayoutDataDocument, "\nquery GetNewsByCategory($category: String!, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n articles(\n filters: { article_category: { slug: { in: [$category] } } }\n pagination: { page: $page, pageSize: $pageSize }\n locale: $locale\n ) {\n meta {\n pagination {\n total\n }\n }\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n}\n": types.GetNewsByCategoryDocument, - "\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n": types.GetPageDataDocument, - "\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n": types.GetPage1DataDocument, + "\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...SecondaryBannerFragment\n ...WaveBannerFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n": types.GetPageDataDocument, + "\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...SecondaryBannerFragment\n ...WaveBannerFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n": types.GetPage1DataDocument, }; /** @@ -73,6 +75,14 @@ export function gql(source: "\nfragment ProjectsSectionFragment on ComponentSect * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function gql(source: "\nfragment RichTextFragment on ComponentSectionsRichText {\n __typename\n id\n content\n}\n"): (typeof documents)["\nfragment RichTextFragment on ComponentSectionsRichText {\n __typename\n id\n content\n}\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment SecondaryBannerFragment on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n secondaryBannerBackgroundColor: backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n}"): (typeof documents)["\nfragment SecondaryBannerFragment on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n secondaryBannerBackgroundColor: backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment WaveBannerFragment on ComponentSectionsWaveBanner {\n name\n image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n isIcon\n newTab\n }\n isLargeImage\n title {\n text\n position\n level\n }\n text\n cta {\n label\n type\n url\n color\n bgColor\n }\n backgroundColor\n isTextBox\n}"): (typeof documents)["\nfragment WaveBannerFragment on ComponentSectionsWaveBanner {\n name\n image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n isIcon\n newTab\n }\n isLargeImage\n title {\n text\n position\n level\n }\n text\n cta {\n label\n type\n url\n color\n bgColor\n }\n backgroundColor\n isTextBox\n}"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ @@ -84,14 +94,14 @@ export function gql(source: "\nquery GetNewsByCategory($category: String!, $page /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"]; +export function gql(source: "\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...SecondaryBannerFragment\n ...WaveBannerFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n page(id: $id, locale: $locale) {\n data {\n attributes {\n label\n slug\n locale\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...SecondaryBannerFragment\n ...WaveBannerFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"]; +export function gql(source: "\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...SecondaryBannerFragment\n ...WaveBannerFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetPage1Data(\n $slug: StringFilterInput\n $locale: I18NLocaleCode\n $page: Int!\n $pageSize: Int!\n) {\n pages(filters: { slug: $slug }, locale: $locale) {\n data {\n attributes {\n label\n slug\n pageSections {\n ...RichTextFragment\n ...HeroBannerFragment\n ...InfoSectionFragment\n ...ImageBannerFragment\n ...ProjectsSectionFragment\n ...NewsSectionFragment\n ...SecondaryBannerFragment\n ...WaveBannerFragment\n ...CategorizedNewsFragment\n }\n }\n }\n }\n}\n"]; export function gql(source: string) { return (documents as any)[source] ?? {}; } -export type DocumentType> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never; +export type DocumentType> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never; \ No newline at end of file diff --git a/src/__generated__/graphql.ts b/src/__generated__/graphql.ts index da1b085..1db6f4e 100644 --- a/src/__generated__/graphql.ts +++ b/src/__generated__/graphql.ts @@ -332,6 +332,22 @@ export type ComponentSectionsBlocksGridBlockArgs = { sort?: InputMaybe>>; }; +export type ComponentSectionsCarousel = { + __typename?: 'ComponentSectionsCarousel'; + cta?: Maybe; + elements: Array>; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + title?: Maybe; +}; + + +export type ComponentSectionsCarouselElementsArgs = { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +}; + export type ComponentSectionsColumns = { __typename?: 'ComponentSectionsColumns'; cards?: Maybe>>; @@ -424,6 +440,38 @@ export type ComponentSectionsSecondaryBanner = { title?: Maybe; }; +export type ComponentSectionsTestimonials = { + __typename?: 'ComponentSectionsTestimonials'; + card?: Maybe>>; + id: Scalars['ID']['output']; + showWave: Scalars['Boolean']['output']; + theme?: Maybe; + title?: Maybe; +}; + + +export type ComponentSectionsTestimonialsCardArgs = { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +}; + +export type ComponentSectionsTimeline = { + __typename?: 'ComponentSectionsTimeline'; + card?: Maybe>>; + heading?: Maybe; + id: Scalars['ID']['output']; + showWave: Scalars['Boolean']['output']; + theme?: Maybe; +}; + + +export type ComponentSectionsTimelineCardArgs = { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +}; + export type ComponentSectionsTopStripe = { __typename?: 'ComponentSectionsTopStripe'; id: Scalars['ID']['output']; @@ -568,6 +616,7 @@ export type ComponentSharedImage = { id: Scalars['ID']['output']; image?: Maybe; isIcon?: Maybe; + name?: Maybe; newTab?: Maybe; url?: Maybe; }; @@ -588,11 +637,23 @@ export type ComponentSharedImageCard = { linkUrl?: Maybe; }; +export type ComponentSharedImageFiltersInput = { + altText?: InputMaybe; + and?: InputMaybe>>; + isIcon?: InputMaybe; + name?: InputMaybe; + newTab?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>>; + url?: InputMaybe; +}; + export type ComponentSharedImageInput = { altText?: InputMaybe; id?: InputMaybe; image?: InputMaybe; isIcon?: InputMaybe; + name?: InputMaybe; newTab?: InputMaybe; url?: InputMaybe; }; @@ -710,6 +771,52 @@ export type ComponentSharedTabCardTheme = { linkColor?: Maybe; }; +export type ComponentSharedTestimonialsCard = { + __typename?: 'ComponentSharedTestimonialsCard'; + author?: Maybe; + icon?: Maybe; + id: Scalars['ID']['output']; + text: Scalars['String']['output']; + theme?: Maybe; + title?: Maybe; +}; + + +export type ComponentSharedTestimonialsCardIconArgs = { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +}; + +export type ComponentSharedTestimonialsCardFiltersInput = { + and?: InputMaybe>>; + author?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>>; + text?: InputMaybe; + theme?: InputMaybe; + title?: InputMaybe; +}; + +export type ComponentSharedTimelineCard = { + __typename?: 'ComponentSharedTimelineCard'; + id: Scalars['ID']['output']; + image?: Maybe; + text: Scalars['String']['output']; + theme?: Maybe; + title?: Maybe; +}; + +export type ComponentSharedTimelineCardFiltersInput = { + and?: InputMaybe>>; + image?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>>; + text?: InputMaybe; + theme?: InputMaybe; + title?: InputMaybe; +}; + export type ComponentSharedVideo = { __typename?: 'ComponentSharedVideo'; altText?: Maybe; @@ -1098,6 +1205,26 @@ export type Enum_Componentsharedwave_Bgcolor = | 'tertiary' | 'white'; +export type Enum_Theme_Bgcolor = + | 'background' + | 'black' + | 'primary' + | 'quaternary' + | 'quinary' + | 'secondary' + | 'tertiary' + | 'white'; + +export type Enum_Theme_Color = + | 'background' + | 'black' + | 'primary' + | 'quaternary' + | 'quinary' + | 'secondary' + | 'tertiary' + | 'white'; + export type Error = { __typename?: 'Error'; code: Scalars['String']['output']; @@ -1196,7 +1323,7 @@ export type FooterRelationResponseCollection = { data: Array; }; -export type GenericMorph = Article | ArticleCategory | Category | ColorScheme | ComponentMetaMetadata | ComponentSectionsBlocksGrid | ComponentSectionsColumns | ComponentSectionsColumnsWithTabs | ComponentSectionsHeroBanner | ComponentSectionsImageBanner | ComponentSectionsInfoCardsTypeA | ComponentSectionsOverlayBlockTest | ComponentSectionsRichText | ComponentSectionsSecondaryBanner | ComponentSectionsTopStripe | ComponentSectionsWaveBanner | ComponentSharedArticleCategoryTab | ComponentSharedButton | ComponentSharedColor | ComponentSharedColumnCard | ComponentSharedGridBlock | ComponentSharedHeading | ComponentSharedImage | ComponentSharedImageCard | ComponentSharedLink | ComponentSharedMetaSocial | ComponentSharedNoodlesCard | ComponentSharedOverlayBlock | ComponentSharedSeo | ComponentSharedSocialIcon | ComponentSharedTabCardTheme | ComponentSharedVideo | ComponentSharedWave | Footer | Header | I18NLocale | Page | UploadFile | UploadFolder | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsUser; +export type GenericMorph = Article | ArticleCategory | Category | ColorScheme | ComponentMetaMetadata | ComponentSectionsBlocksGrid | ComponentSectionsCarousel | ComponentSectionsColumns | ComponentSectionsColumnsWithTabs | ComponentSectionsHeroBanner | ComponentSectionsImageBanner | ComponentSectionsInfoCardsTypeA | ComponentSectionsOverlayBlockTest | ComponentSectionsRichText | ComponentSectionsSecondaryBanner | ComponentSectionsTestimonials | ComponentSectionsTimeline | ComponentSectionsTopStripe | ComponentSectionsWaveBanner | ComponentSharedArticleCategoryTab | ComponentSharedButton | ComponentSharedColor | ComponentSharedColumnCard | ComponentSharedGridBlock | ComponentSharedHeading | ComponentSharedImage | ComponentSharedImageCard | ComponentSharedLink | ComponentSharedMetaSocial | ComponentSharedNoodlesCard | ComponentSharedOverlayBlock | ComponentSharedSeo | ComponentSharedSocialIcon | ComponentSharedTabCardTheme | ComponentSharedTestimonialsCard | ComponentSharedTimelineCard | ComponentSharedVideo | ComponentSharedWave | Footer | Header | I18NLocale | Image | Page | Theme | UploadFile | UploadFolder | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsUser; export type Header = { __typename?: 'Header'; @@ -1309,6 +1436,58 @@ export type IdFilterInput = { startsWith?: InputMaybe; }; +export type Image = { + __typename?: 'Image'; + altText?: Maybe; + createdAt?: Maybe; + image?: Maybe; + isIcon?: Maybe; + newTab?: Maybe; + publishedAt?: Maybe; + updatedAt?: Maybe; + url?: Maybe; +}; + +export type ImageEntity = { + __typename?: 'ImageEntity'; + attributes?: Maybe; + id?: Maybe; +}; + +export type ImageEntityResponse = { + __typename?: 'ImageEntityResponse'; + data?: Maybe; +}; + +export type ImageEntityResponseCollection = { + __typename?: 'ImageEntityResponseCollection'; + data: Array; + meta: ResponseCollectionMeta; +}; + +export type ImageFiltersInput = { + altText?: InputMaybe; + and?: InputMaybe>>; + createdAt?: InputMaybe; + id?: InputMaybe; + isIcon?: InputMaybe; + newTab?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>>; + publishedAt?: InputMaybe; + updatedAt?: InputMaybe; + url?: InputMaybe; +}; + +export type ImageInput = { + altText?: InputMaybe; + image?: InputMaybe; + isIcon?: InputMaybe; + newTab?: InputMaybe; + publishedAt?: InputMaybe; + url?: InputMaybe; +}; + export type IntFilterInput = { and?: InputMaybe>>; between?: InputMaybe>>; @@ -1371,8 +1550,10 @@ export type Mutation = { createCategoryLocalization?: Maybe; createFooterLocalization?: Maybe; createHeaderLocalization?: Maybe; + createImage?: Maybe; createPage?: Maybe; createPageLocalization?: Maybe; + createTheme?: Maybe; createUploadFile?: Maybe; createUploadFolder?: Maybe; /** Create a new role */ @@ -1385,7 +1566,9 @@ export type Mutation = { deleteColorScheme?: Maybe; deleteFooter?: Maybe; deleteHeader?: Maybe; + deleteImage?: Maybe; deletePage?: Maybe; + deleteTheme?: Maybe; deleteUploadFile?: Maybe; deleteUploadFolder?: Maybe; /** Delete an existing role */ @@ -1410,7 +1593,9 @@ export type Mutation = { updateFileInfo: UploadFileEntityResponse; updateFooter?: Maybe; updateHeader?: Maybe; + updateImage?: Maybe; updatePage?: Maybe; + updateTheme?: Maybe; updateUploadFile?: Maybe; updateUploadFolder?: Maybe; /** Update an existing role */ @@ -1481,6 +1666,11 @@ export type MutationCreateHeaderLocalizationArgs = { }; +export type MutationCreateImageArgs = { + data: ImageInput; +}; + + export type MutationCreatePageArgs = { data: PageInput; locale?: InputMaybe; @@ -1494,6 +1684,11 @@ export type MutationCreatePageLocalizationArgs = { }; +export type MutationCreateThemeArgs = { + data: ThemeInput; +}; + + export type MutationCreateUploadFileArgs = { data: UploadFileInput; }; @@ -1542,12 +1737,22 @@ export type MutationDeleteHeaderArgs = { }; +export type MutationDeleteImageArgs = { + id: Scalars['ID']['input']; +}; + + export type MutationDeletePageArgs = { id: Scalars['ID']['input']; locale?: InputMaybe; }; +export type MutationDeleteThemeArgs = { + id: Scalars['ID']['input']; +}; + + export type MutationDeleteUploadFileArgs = { id: Scalars['ID']['input']; }; @@ -1652,6 +1857,12 @@ export type MutationUpdateHeaderArgs = { }; +export type MutationUpdateImageArgs = { + data: ImageInput; + id: Scalars['ID']['input']; +}; + + export type MutationUpdatePageArgs = { data: PageInput; id: Scalars['ID']['input']; @@ -1659,6 +1870,12 @@ export type MutationUpdatePageArgs = { }; +export type MutationUpdateThemeArgs = { + data: ThemeInput; + id: Scalars['ID']['input']; +}; + + export type MutationUpdateUploadFileArgs = { data: UploadFileInput; id: Scalars['ID']['input']; @@ -1752,7 +1969,7 @@ export type PageInput = { slug?: InputMaybe; }; -export type PagePageSectionsDynamicZone = ComponentSectionsBlocksGrid | ComponentSectionsColumns | ComponentSectionsColumnsWithTabs | ComponentSectionsHeroBanner | ComponentSectionsImageBanner | ComponentSectionsInfoCardsTypeA | ComponentSectionsRichText | ComponentSectionsSecondaryBanner | ComponentSectionsWaveBanner | Error; +export type PagePageSectionsDynamicZone = ComponentSectionsBlocksGrid | ComponentSectionsCarousel | ComponentSectionsColumns | ComponentSectionsColumnsWithTabs | ComponentSectionsHeroBanner | ComponentSectionsImageBanner | ComponentSectionsInfoCardsTypeA | ComponentSectionsRichText | ComponentSectionsSecondaryBanner | ComponentSectionsWaveBanner | Error; export type PageRelationResponseCollection = { __typename?: 'PageRelationResponseCollection'; @@ -1791,9 +2008,13 @@ export type Query = { header?: Maybe; i18NLocale?: Maybe; i18NLocales?: Maybe; + image?: Maybe; + images?: Maybe; me?: Maybe; page?: Maybe; pages?: Maybe; + theme?: Maybe; + themes?: Maybe; uploadFile?: Maybe; uploadFiles?: Maybe; uploadFolder?: Maybe; @@ -1879,6 +2100,19 @@ export type QueryI18NLocalesArgs = { }; +export type QueryImageArgs = { + id?: InputMaybe; +}; + + +export type QueryImagesArgs = { + filters?: InputMaybe; + pagination?: InputMaybe; + publicationState?: InputMaybe; + sort?: InputMaybe>>; +}; + + export type QueryPageArgs = { id?: InputMaybe; locale?: InputMaybe; @@ -1894,6 +2128,19 @@ export type QueryPagesArgs = { }; +export type QueryThemeArgs = { + id?: InputMaybe; +}; + + +export type QueryThemesArgs = { + filters?: InputMaybe; + pagination?: InputMaybe; + publicationState?: InputMaybe; + sort?: InputMaybe>>; +}; + + export type QueryUploadFileArgs = { id?: InputMaybe; }; @@ -1971,6 +2218,50 @@ export type StringFilterInput = { startsWith?: InputMaybe; }; +export type Theme = { + __typename?: 'Theme'; + bgColor?: Maybe; + color?: Maybe; + createdAt?: Maybe; + publishedAt?: Maybe; + updatedAt?: Maybe; +}; + +export type ThemeEntity = { + __typename?: 'ThemeEntity'; + attributes?: Maybe; + id?: Maybe; +}; + +export type ThemeEntityResponse = { + __typename?: 'ThemeEntityResponse'; + data?: Maybe; +}; + +export type ThemeEntityResponseCollection = { + __typename?: 'ThemeEntityResponseCollection'; + data: Array; + meta: ResponseCollectionMeta; +}; + +export type ThemeFiltersInput = { + and?: InputMaybe>>; + bgColor?: InputMaybe; + color?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>>; + publishedAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ThemeInput = { + bgColor?: InputMaybe; + color?: InputMaybe; + publishedAt?: InputMaybe; +}; + export type UploadFile = { __typename?: 'UploadFile'; alternativeText?: Maybe; @@ -2360,6 +2651,10 @@ export type ProjectsSectionFragmentFragment = { __typename: 'ComponentSectionsBl export type RichTextFragmentFragment = { __typename: 'ComponentSectionsRichText', id: string, content?: string | null }; +export type SecondaryBannerFragmentFragment = { __typename?: 'ComponentSectionsSecondaryBanner', name: string, text?: string | null, secondaryBannerBackgroundColor: Enum_Componentsectionssecondarybanner_Backgroundcolor, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, secondaryBannerCover: { __typename?: 'ComponentSharedImage', altText?: string | null, url?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null }, cta1?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cta2?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null }; + +export type WaveBannerFragmentFragment = { __typename?: 'ComponentSectionsWaveBanner', name: string, isLargeImage: boolean, text?: string | null, backgroundColor: Enum_Componentsectionswavebanner_Backgroundcolor, isTextBox: boolean, image?: { __typename?: 'ComponentSharedImage', altText?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null }; + export type GetLayoutDataQueryVariables = Exact<{ limit?: InputMaybe; locale?: InputMaybe; @@ -2386,17 +2681,17 @@ export type GetPageDataQueryVariables = Exact<{ }>; -export type GetPageDataQuery = { __typename?: 'Query', page?: { __typename?: 'PageEntityResponse', data?: { __typename?: 'PageEntity', attributes?: { __typename?: 'Page', label?: string | null, slug?: string | null, locale?: string | null, pageSections?: Array<{ __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null } | { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null } | { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsRichText', id: string, content?: string | null } | { __typename?: 'ComponentSectionsSecondaryBanner' } | { __typename?: 'ComponentSectionsWaveBanner' } | { __typename?: 'ComponentSectionsSecondaryBanner' } | { __typename?: 'ComponentSectionsWaveBanner' } | { __typename?: 'Error' } | null> | null } | null } | null } | null }; +export type GetPageDataQuery = { __typename?: 'Query', page?: { __typename?: 'PageEntityResponse', data?: { __typename?: 'PageEntity', attributes?: { __typename?: 'Page', label?: string | null, slug?: string | null, locale?: string | null, pageSections?: Array<{ __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename?: 'ComponentSectionsCarousel' } | { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null } | { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null } | { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsRichText', id: string, content?: string | null } | { __typename?: 'ComponentSectionsSecondaryBanner', name: string, text?: string | null, secondaryBannerBackgroundColor: Enum_Componentsectionssecondarybanner_Backgroundcolor, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, secondaryBannerCover: { __typename?: 'ComponentSharedImage', altText?: string | null, url?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null }, cta1?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cta2?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null } | { __typename?: 'ComponentSectionsWaveBanner', name: string, isLargeImage: boolean, text?: string | null, backgroundColor: Enum_Componentsectionswavebanner_Backgroundcolor, isTextBox: boolean, image?: { __typename?: 'ComponentSharedImage', altText?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null } | { __typename?: 'Error' } | null> | null } | null } | null } | null }; export type GetPage1DataQueryVariables = Exact<{ slug?: InputMaybe; + locale?: InputMaybe; page: Scalars['Int']['input']; pageSize: Scalars['Int']['input']; - locale?: InputMaybe; }>; -export type GetPage1DataQuery = { __typename?: 'Query', pages?: { __typename?: 'PageEntityResponseCollection', data: Array<{ __typename?: 'PageEntity', attributes?: { __typename?: 'Page', label?: string | null, slug?: string | null, pageSections?: Array<{ __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null } | { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null } | { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsRichText', id: string, content?: string | null } | { __typename?: 'ComponentSectionsSecondaryBanner' } | { __typename?: 'ComponentSectionsWaveBanner' } | { __typename?: 'Error' } | null> | null } | null }> } | null }; +export type GetPage1DataQuery = { __typename?: 'Query', pages?: { __typename?: 'PageEntityResponseCollection', data: Array<{ __typename?: 'PageEntity', attributes?: { __typename?: 'Page', label?: string | null, slug?: string | null, pageSections?: Array<{ __typename: 'ComponentSectionsBlocksGrid', id: string, heading?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, block?: Array<{ __typename?: 'ComponentSharedGridBlock', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharedgridblock_Color | null, bgColor?: Enum_Componentsharedgridblock_Bgcolor | null, linkUrl?: string | null, linkText?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkColor?: Enum_Componentsharedgridblock_Linkcolor | null, linkBgColor?: Enum_Componentsharedgridblock_Linkbgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename?: 'ComponentSectionsCarousel' } | { __typename: 'ComponentSectionsColumns', id: string, showWave?: boolean | null, columnsHeading?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cards?: Array<{ __typename?: 'ComponentSharedColumnCard', linkText?: string | null, linkColor?: Enum_Componentsharedcolumncard_Linkcolor | null, cardColor?: Enum_Componentsharedcolumncard_Color | null, cardBgColor?: Enum_Componentsharedcolumncard_Bgcolor | null, article?: { __typename?: 'ArticleEntityResponse', data?: { __typename?: 'ArticleEntity', attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsColumnsWithTabs', id: string, maxCardsToDisplay?: number | null, tabTheme?: { __typename?: 'ComponentSharedArticleCategoryTab', color?: Enum_Componentsharedarticlecategorytab_Color | null, bgColor?: Enum_Componentsharedarticlecategorytab_Bgcolor | null, borderColor?: Enum_Componentsharedarticlecategorytab_Bordercolor | null, activeColor?: Enum_Componentsharedarticlecategorytab_Activecolor | null, activeBgColor?: Enum_Componentsharedarticlecategorytab_Activebgcolor | null, activeBorderColor?: Enum_Componentsharedarticlecategorytab_Activebordercolor | null } | null, tabCardTheme?: { __typename?: 'ComponentSharedTabCardTheme', color?: Enum_Componentsharedtabcardtheme_Color | null, bgColor?: Enum_Componentsharedtabcardtheme_Bgcolor | null, linkColor?: Enum_Componentsharedtabcardtheme_Linkcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, tabs?: { __typename?: 'ArticleCategoryRelationResponseCollection', data: Array<{ __typename?: 'ArticleCategoryEntity', id?: string | null, attributes?: { __typename?: 'ArticleCategory', slug: string, label?: string | null, description?: string | null, articles?: { __typename?: 'ArticleRelationResponseCollection', data: Array<{ __typename?: 'ArticleEntity', id?: string | null, attributes?: { __typename?: 'Article', slug: string, title?: string | null, excerpt?: string | null, featuredImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null }> } | null } | null }> } | null } | { __typename: 'ComponentSectionsHeroBanner', id: string, coverImage?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, url?: string | null, type?: Enum_Componentsharedbutton_Type | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, overlayBlock?: { __typename?: 'ComponentSharedOverlayBlock', title?: string | null, content?: string | null, color?: Enum_Componentsharedoverlayblock_Color | null, bgColor?: Enum_Componentsharedoverlayblock_Bgcolor | null } | null } | { __typename: 'ComponentSectionsImageBanner', id: string, bgColor?: Enum_Componentsectionsimagebanner_Bgcolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null, card?: { __typename?: 'ComponentSharedImageCard', cardHeading?: string | null, cardDescription?: string | null, cardColor?: Enum_Componentsharedimagecard_Cardcolor | null, cardBgColor?: Enum_Componentsharedimagecard_Cardbgcolor | null, linkColor?: Enum_Componentsharedimagecard_Linkcolor | null, linkBgColor?: Enum_Componentsharedimagecard_Linkbgcolor | null, linkText?: string | null, linkUrl?: string | null, linkTitle?: string | null, linkNewTab?: boolean | null, linkIcon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null } | { __typename: 'ComponentSectionsInfoCardsTypeA', id: string, heading?: string | null, description?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, cta?: { __typename?: 'ComponentSharedButton', color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null, url?: string | null, label?: string | null, type?: Enum_Componentsharedbutton_Type | null } | null, cards?: Array<{ __typename?: 'ComponentSharedNoodlesCard', id: string, heading?: string | null, description?: string | null, color?: Enum_Componentsharednoodlescard_Color | null, bgColor?: Enum_Componentsharednoodlescard_Bgcolor | null, borderColor?: Enum_Componentsharednoodlescard_Bordercolor | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | { __typename: 'ComponentSectionsRichText', id: string, content?: string | null } | { __typename?: 'ComponentSectionsSecondaryBanner', name: string, text?: string | null, secondaryBannerBackgroundColor: Enum_Componentsectionssecondarybanner_Backgroundcolor, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, secondaryBannerCover: { __typename?: 'ComponentSharedImage', altText?: string | null, url?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null }, cta1?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cta2?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null } | { __typename?: 'ComponentSectionsWaveBanner', name: string, isLargeImage: boolean, text?: string | null, backgroundColor: Enum_Componentsectionswavebanner_Backgroundcolor, isTextBox: boolean, image?: { __typename?: 'ComponentSharedImage', altText?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null } | { __typename?: 'Error' } | null> | null } | null }> } | null }; export const NewArticlesFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewArticles"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ArticleCategoryEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"articles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const CategorizedNewsFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CategorizedNewsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; @@ -2406,7 +2701,9 @@ export const InfoSectionFragmentFragmentDoc = {"kind":"Document","definitions":[ export const NewsSectionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}}]} as unknown as DocumentNode; export const ProjectsSectionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}}]} as unknown as DocumentNode; export const RichTextFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}}]} as unknown as DocumentNode; +export const SecondaryBannerFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SecondaryBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsSecondaryBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerBackgroundColor"},"name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerCover"},"name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}}]} as unknown as DocumentNode; +export const WaveBannerFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WaveBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsWaveBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isLargeImage"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","name":{"kind":"Name","value":"isTextBox"}}]}}]} as unknown as DocumentNode; export const GetLayoutDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetLayoutData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"white"}},{"kind":"Field","name":{"kind":"Name","value":"black"}},{"kind":"Field","name":{"kind":"Name","value":"background"}},{"kind":"Field","name":{"kind":"Name","value":"primary"}},{"kind":"Field","name":{"kind":"Name","value":"secondary"}},{"kind":"Field","name":{"kind":"Name","value":"tertiary"}},{"kind":"Field","name":{"kind":"Name","value":"quaternary"}},{"kind":"Field","name":{"kind":"Name","value":"quinary"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"header"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"alternativeText"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stripe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialMedia"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"icon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"navigations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"pages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"footer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialMedia"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"icon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"caption"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"tradeMark"}},{"kind":"Field","name":{"kind":"Name","value":"rights"}},{"kind":"Field","name":{"kind":"Name","value":"navigation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const GetNewsByCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetNewsByCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"category"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"article_category"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"category"}}]}}]}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pagination"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetPageDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPageData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"page"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"pageSections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RichTextFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"HeroBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ImageBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CategorizedNewsFragment"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"HeroBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ImageBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CategorizedNewsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetPage1DataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPage1Data"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"StringFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"pageSections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RichTextFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"HeroBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ImageBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CategorizedNewsFragment"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"HeroBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ImageBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CategorizedNewsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetPageDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPageData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"page"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"pageSections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RichTextFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"HeroBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ImageBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SecondaryBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"WaveBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CategorizedNewsFragment"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"HeroBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ImageBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SecondaryBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsSecondaryBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerBackgroundColor"},"name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerCover"},"name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WaveBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsWaveBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isLargeImage"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","name":{"kind":"Name","value":"isTextBox"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CategorizedNewsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetPage1DataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPage1Data"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"StringFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"pageSections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RichTextFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"HeroBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"InfoSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ImageBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewsSectionFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SecondaryBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"WaveBannerFragment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CategorizedNewsFragment"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"HeroBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsHeroBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"overlayBlock"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"InfoSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsInfoCardsTypeA"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ImageBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsImageBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cardHeading"}},{"kind":"Field","name":{"kind":"Name","value":"cardDescription"}},{"kind":"Field","name":{"kind":"Name","value":"cardColor"}},{"kind":"Field","name":{"kind":"Name","value":"cardBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumns"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"columnsHeading"},"name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cards"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"cardColor"},"name":{"kind":"Name","value":"color"}},{"kind":"Field","alias":{"kind":"Name","value":"cardBgColor"},"name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"article"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SecondaryBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsSecondaryBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerBackgroundColor"},"name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerCover"},"name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WaveBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsWaveBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isLargeImage"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","name":{"kind":"Name","value":"isTextBox"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CategorizedNewsFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsColumnsWithTabs"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"tabTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"borderColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBgColor"}},{"kind":"Field","name":{"kind":"Name","value":"activeBorderColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabCardTheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxCardsToDisplay"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tabs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/src/app/[locale]/[slug]/page.tsx b/src/app/[locale]/[slug]/page.tsx index 995c17b..7b074ea 100644 --- a/src/app/[locale]/[slug]/page.tsx +++ b/src/app/[locale]/[slug]/page.tsx @@ -1,7 +1,7 @@ import { Fragment } from "react"; import { notFound } from "next/navigation"; -import { WaveBanner } from "@/features/wave-banner/wave-banner.tsx"; import { SecondarySection } from "@/features/secondary-section/secondary-section.tsx"; +import { WaveBanner } from "@/features/wave-banner/wave-banner.tsx"; import { getClient } from "@/utils/apollo-client"; import { isNotNull } from "@/utils/type-guards/is-not-null"; import { GET_LAYOUT_DATA } from "@/queries/get-layout-data"; @@ -14,6 +14,7 @@ import { import { GetLayoutDataQuery, PagePageSectionsDynamicZone, + SecondaryBannerFragmentFragment, } from "@/__generated__/graphql"; import { CategorizedNews } from "@/features/categorized-news/categorized-news"; import { HeroSection } from "@/features/hero-section/hero-section"; @@ -82,7 +83,11 @@ const renderSection = (section?: PagePageSectionsDynamicZone | null) => { ); } case "ComponentSectionsSecondaryBanner": { - return ; + return ( + + ); } case "ComponentSectionsWaveBanner": { return ; diff --git a/src/components/secondary-card/secondary-card.tsx b/src/components/secondary-card/secondary-card.tsx index bf5220b..6f9afe8 100644 --- a/src/components/secondary-card/secondary-card.tsx +++ b/src/components/secondary-card/secondary-card.tsx @@ -2,11 +2,11 @@ import { ButtonLink } from "@/components/button-link/button-link.tsx"; import { Title } from "@/components/title/title.tsx"; import { Typography } from "@/components/typography/typography.tsx"; import { getWavyCardTheme } from "@/components/secondary-card/utils.ts"; -import { ComponentSectionsSecondaryBanner } from "@/__generated__/graphql.ts"; +import { SecondaryBannerFragmentFragment } from "@/__generated__/graphql.ts"; import "./secondary-card.scss"; export interface SecondaryCardProps { - data: ComponentSectionsSecondaryBanner; + data: SecondaryBannerFragmentFragment; } export const SecondaryCard = ({ data }: SecondaryCardProps) => { @@ -40,8 +40,10 @@ export const SecondaryCard = ({ data }: SecondaryCardProps) => {
{data?.image.altText
diff --git a/src/components/secondary-card/utils.ts b/src/components/secondary-card/utils.ts index 41cbb80..e343a60 100644 --- a/src/components/secondary-card/utils.ts +++ b/src/components/secondary-card/utils.ts @@ -1,5 +1,5 @@ import { getThemeStyle } from "@/utils/get-theme-style.ts"; -import { ComponentSectionsSecondaryBanner } from "@/__generated__/graphql.ts"; +import { SecondaryBannerFragmentFragment } from "@/__generated__/graphql.ts"; -export const getWavyCardTheme = (data?: ComponentSectionsSecondaryBanner) => - getThemeStyle([["--background-color", data?.backgroundColor]]); +export const getWavyCardTheme = (data?: SecondaryBannerFragmentFragment) => + getThemeStyle([["--background-color", data?.secondaryBannerBackgroundColor]]); diff --git a/src/features/secondary-section/secondary-section.tsx b/src/features/secondary-section/secondary-section.tsx index 05bff31..506539e 100644 --- a/src/features/secondary-section/secondary-section.tsx +++ b/src/features/secondary-section/secondary-section.tsx @@ -1,12 +1,12 @@ import { SecondaryCard } from "@/components/secondary-card/secondary-card.tsx"; import { SectionBase } from "@/components/section-base/section-base.tsx"; import { WavyCard } from "@/components/wavy-card/wavy-card.tsx"; -import { ComponentSectionsSecondaryBanner } from "@/__generated__/graphql.ts"; +import { SecondaryBannerFragmentFragment } from "@/__generated__/graphql.ts"; import { SectionBaseTitle } from "@/components/section-base"; import "./secondary-section.scss"; export interface SecondarySectionProps { - data: ComponentSectionsSecondaryBanner; + data: SecondaryBannerFragmentFragment; } export const SecondarySection = ({ data }: SecondarySectionProps) => { @@ -16,7 +16,7 @@ export const SecondarySection = ({ data }: SecondarySectionProps) => { {data?.title?.text}
    - +
diff --git a/src/fragments/secondary-banner.fragment.ts b/src/fragments/secondary-banner.fragment.ts new file mode 100644 index 0000000..06b0cf0 --- /dev/null +++ b/src/fragments/secondary-banner.fragment.ts @@ -0,0 +1,40 @@ +import { gql } from "@/__generated__"; + +export const secondaryBannerFragment = gql(` +fragment SecondaryBannerFragment on ComponentSectionsSecondaryBanner { + name + title { + text + position + level + } + text + secondaryBannerBackgroundColor: backgroundColor + secondaryBannerCover: image { + image { + data { + attributes { + url + } + } + } + altText + url + isIcon + newTab + } + cta1 { + label + type + url + color + bgColor + } + cta2 { + label + type + url + color + bgColor + } +}`); diff --git a/src/fragments/wave-banner.fragment.ts b/src/fragments/wave-banner.fragment.ts new file mode 100644 index 0000000..9551adf --- /dev/null +++ b/src/fragments/wave-banner.fragment.ts @@ -0,0 +1,34 @@ +import { gql } from "@/__generated__"; + +export const waveBannerFragment = gql(` +fragment WaveBannerFragment on ComponentSectionsWaveBanner { + name + image { + image { + data { + attributes { + url + } + } + } + altText + isIcon + newTab + } + isLargeImage + title { + text + position + level + } + text + cta { + label + type + url + color + bgColor + } + backgroundColor + isTextBox +}`); diff --git a/src/queries/get-page.ts b/src/queries/get-page.ts index 2e01c82..afbcd4f 100644 --- a/src/queries/get-page.ts +++ b/src/queries/get-page.ts @@ -15,6 +15,8 @@ query GetPageData($id: ID, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode ...ImageBannerFragment ...ProjectsSectionFragment ...NewsSectionFragment + ...SecondaryBannerFragment + ...WaveBannerFragment ...CategorizedNewsFragment } } diff --git a/src/queries/get-pages-data.ts b/src/queries/get-pages-data.ts index 6ffdebf..0a0869d 100644 --- a/src/queries/get-pages-data.ts +++ b/src/queries/get-pages-data.ts @@ -19,6 +19,8 @@ query GetPage1Data( ...ImageBannerFragment ...ProjectsSectionFragment ...NewsSectionFragment + ...SecondaryBannerFragment + ...WaveBannerFragment ...CategorizedNewsFragment } } From 9a185620b536cb4807e65215643e2030ab34bfaf Mon Sep 17 00:00:00 2001 From: Andrey_Bogoroditskiy Date: Sun, 28 Jul 2024 17:55:25 +0300 Subject: [PATCH 4/4] Added fragments --- src/__generated__/gql.ts | 10 +++++ src/__generated__/graphql.ts | 6 +++ .../testimonials-section.fragment.ts | 40 +++++++++++++++++ src/fragments/timeline-section.fragment.ts | 45 +++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 src/fragments/testimonials-section.fragment.ts create mode 100644 src/fragments/timeline-section.fragment.ts diff --git a/src/__generated__/gql.ts b/src/__generated__/gql.ts index 2e383a2..c1482b8 100644 --- a/src/__generated__/gql.ts +++ b/src/__generated__/gql.ts @@ -22,6 +22,8 @@ const documents = { "\nfragment ProjectsSectionFragment on ComponentSectionsBlocksGrid {\n __typename\n id\n heading\n theme {\n color\n bgColor\n }\n block {\n id\n heading\n description\n color\n bgColor\n image {\n data {\n attributes {\n url\n }\n }\n }\n linkUrl\n linkText\n linkTitle\n linkNewTab\n linkIcon {\n data {\n attributes {\n url\n }\n }\n }\n linkColor\n linkBgColor\n }\n}": types.ProjectsSectionFragmentFragmentDoc, "\nfragment RichTextFragment on ComponentSectionsRichText {\n __typename\n id\n content\n}\n": types.RichTextFragmentFragmentDoc, "\nfragment SecondaryBannerFragment on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n secondaryBannerBackgroundColor: backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n}": types.SecondaryBannerFragmentFragmentDoc, + "\nfragment TestimonialsSectionFragment on ComponentSectionsTestimonials {\n id\n title\n card {\n id\n text\n title\n icon {\n data {\n attributes {\n alternativeText\n name\n caption\n url\n }\n } \n }\n author\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n }\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n showWave\n}": types.TestimonialsSectionFragmentFragmentDoc, + "\nfragment TimelineSectionFragment on ComponentSectionsTimeline {\n id\n heading {\n id\n level\n text\n position\n }\n card {\n id\n text\n title\n image {\n data {\n attributes {\n image {\n data {\n attributes {\n alternativeText\n caption\n url\n }\n }\n }\n altText\n isIcon\n url\n newTab\n }\n }\n }\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n }\n showWave\n}": types.TimelineSectionFragmentFragmentDoc, "\nfragment WaveBannerFragment on ComponentSectionsWaveBanner {\n name\n image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n isIcon\n newTab\n }\n isLargeImage\n title {\n text\n position\n level\n }\n text\n cta {\n label\n type\n url\n color\n bgColor\n }\n backgroundColor\n isTextBox\n}": types.WaveBannerFragmentFragmentDoc, "\nquery GetLayoutData($limit: Int, $locale: I18NLocaleCode) {\n pages(pagination: { limit: $limit }, locale: $locale) {\n data {\n id\n attributes {\n slug\n }\n }\n }\n colorScheme {\n data {\n attributes {\n white\n black\n background\n primary\n secondary\n tertiary\n quaternary\n quinary\n }\n }\n }\n header(locale: $locale) {\n data {\n attributes {\n logo {\n altText\n isIcon\n url\n newTab\n image {\n data {\n attributes {\n url\n alternativeText\n }\n }\n }\n }\n cta {\n type\n url\n label\n color\n bgColor\n }\n stripe {\n theme {\n color\n bgColor\n }\n socialMedia {\n title\n url\n newTab\n icon {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n navigations {\n data {\n attributes {\n slug\n label\n description\n pages {\n data {\n attributes {\n slug\n label\n }\n }\n }\n }\n }\n }\n }\n }\n }\n footer(locale: $locale) {\n data {\n attributes {\n theme {\n color\n bgColor\n }\n socialMedia {\n title\n url\n newTab\n icon {\n data {\n attributes {\n caption\n url\n previewUrl\n height\n width\n }\n }\n }\n }\n heading\n tradeMark\n rights\n navigation {\n data {\n attributes {\n slug\n label\n }\n }\n }\n }\n }\n }\n}\n": types.GetLayoutDataDocument, "\nquery GetNewsByCategory($category: String!, $page: Int!, $pageSize: Int!, $locale: I18NLocaleCode) {\n articles(\n filters: { article_category: { slug: { in: [$category] } } }\n pagination: { page: $page, pageSize: $pageSize }\n locale: $locale\n ) {\n meta {\n pagination {\n total\n }\n }\n data {\n id\n attributes {\n slug\n title\n excerpt\n featuredImage {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n}\n": types.GetNewsByCategoryDocument, @@ -79,6 +81,14 @@ export function gql(source: "\nfragment RichTextFragment on ComponentSectionsRic * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function gql(source: "\nfragment SecondaryBannerFragment on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n secondaryBannerBackgroundColor: backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n}"): (typeof documents)["\nfragment SecondaryBannerFragment on ComponentSectionsSecondaryBanner {\n name\n title {\n text\n position\n level\n }\n text\n secondaryBannerBackgroundColor: backgroundColor\n secondaryBannerCover: image {\n image {\n data {\n attributes {\n url\n }\n }\n }\n altText\n url\n isIcon\n newTab\n }\n cta1 {\n label\n type\n url\n color\n bgColor\n }\n cta2 {\n label\n type\n url\n color\n bgColor\n }\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment TestimonialsSectionFragment on ComponentSectionsTestimonials {\n id\n title\n card {\n id\n text\n title\n icon {\n data {\n attributes {\n alternativeText\n name\n caption\n url\n }\n } \n }\n author\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n }\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n showWave\n}"): (typeof documents)["\nfragment TestimonialsSectionFragment on ComponentSectionsTestimonials {\n id\n title\n card {\n id\n text\n title\n icon {\n data {\n attributes {\n alternativeText\n name\n caption\n url\n }\n } \n }\n author\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n }\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n showWave\n}"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nfragment TimelineSectionFragment on ComponentSectionsTimeline {\n id\n heading {\n id\n level\n text\n position\n }\n card {\n id\n text\n title\n image {\n data {\n attributes {\n image {\n data {\n attributes {\n alternativeText\n caption\n url\n }\n }\n }\n altText\n isIcon\n url\n newTab\n }\n }\n }\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n }\n showWave\n}"): (typeof documents)["\nfragment TimelineSectionFragment on ComponentSectionsTimeline {\n id\n heading {\n id\n level\n text\n position\n }\n card {\n id\n text\n title\n image {\n data {\n attributes {\n image {\n data {\n attributes {\n alternativeText\n caption\n url\n }\n }\n }\n altText\n isIcon\n url\n newTab\n }\n }\n }\n theme {\n data {\n attributes {\n color\n bgColor\n }\n }\n }\n }\n showWave\n}"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ diff --git a/src/__generated__/graphql.ts b/src/__generated__/graphql.ts index 1db6f4e..225cb25 100644 --- a/src/__generated__/graphql.ts +++ b/src/__generated__/graphql.ts @@ -2653,6 +2653,10 @@ export type RichTextFragmentFragment = { __typename: 'ComponentSectionsRichText' export type SecondaryBannerFragmentFragment = { __typename?: 'ComponentSectionsSecondaryBanner', name: string, text?: string | null, secondaryBannerBackgroundColor: Enum_Componentsectionssecondarybanner_Backgroundcolor, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, secondaryBannerCover: { __typename?: 'ComponentSharedImage', altText?: string | null, url?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null }, cta1?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, cta2?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null }; +export type TestimonialsSectionFragmentFragment = { __typename?: 'ComponentSectionsTestimonials', id: string, title?: string | null, showWave: boolean, card?: Array<{ __typename?: 'ComponentSharedTestimonialsCard', id: string, text: string, title?: string | null, author?: string | null, icon?: { __typename?: 'UploadFileRelationResponseCollection', data: Array<{ __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', alternativeText?: string | null, name: string, caption?: string | null, url: string } | null }> } | null, theme?: { __typename?: 'ThemeEntityResponse', data?: { __typename?: 'ThemeEntity', attributes?: { __typename?: 'Theme', color?: Enum_Theme_Color | null, bgColor?: Enum_Theme_Bgcolor | null } | null } | null } | null } | null> | null, theme?: { __typename?: 'ThemeEntityResponse', data?: { __typename?: 'ThemeEntity', attributes?: { __typename?: 'Theme', color?: Enum_Theme_Color | null, bgColor?: Enum_Theme_Bgcolor | null } | null } | null } | null }; + +export type TimelineSectionFragmentFragment = { __typename?: 'ComponentSectionsTimeline', id: string, showWave: boolean, heading?: { __typename?: 'ComponentSharedHeading', id: string, level?: number | null, text?: string | null, position?: Enum_Componentsharedheading_Position | null } | null, card?: Array<{ __typename?: 'ComponentSharedTimelineCard', id: string, text: string, title?: string | null, image?: { __typename?: 'ImageEntityResponse', data?: { __typename?: 'ImageEntity', attributes?: { __typename?: 'Image', altText?: string | null, isIcon?: boolean | null, url?: string | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', alternativeText?: string | null, caption?: string | null, url: string } | null } | null } | null } | null } | null } | null, theme?: { __typename?: 'ThemeEntityResponse', data?: { __typename?: 'ThemeEntity', attributes?: { __typename?: 'Theme', color?: Enum_Theme_Color | null, bgColor?: Enum_Theme_Bgcolor | null } | null } | null } | null } | null> | null }; + export type WaveBannerFragmentFragment = { __typename?: 'ComponentSectionsWaveBanner', name: string, isLargeImage: boolean, text?: string | null, backgroundColor: Enum_Componentsectionswavebanner_Backgroundcolor, isTextBox: boolean, image?: { __typename?: 'ComponentSharedImage', altText?: string | null, isIcon?: boolean | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null, title?: { __typename?: 'ComponentSharedHeading', text?: string | null, position?: Enum_Componentsharedheading_Position | null, level?: number | null } | null, cta?: { __typename?: 'ComponentSharedButton', label?: string | null, type?: Enum_Componentsharedbutton_Type | null, url?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null }; export type GetLayoutDataQueryVariables = Exact<{ @@ -2702,6 +2706,8 @@ export const NewsSectionFragmentFragmentDoc = {"kind":"Document","definitions":[ export const ProjectsSectionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsBlocksGrid"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"block"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkUrl"}},{"kind":"Field","name":{"kind":"Name","value":"linkText"}},{"kind":"Field","name":{"kind":"Name","value":"linkTitle"}},{"kind":"Field","name":{"kind":"Name","value":"linkNewTab"}},{"kind":"Field","name":{"kind":"Name","value":"linkIcon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"linkColor"}},{"kind":"Field","name":{"kind":"Name","value":"linkBgColor"}}]}}]}}]} as unknown as DocumentNode; export const RichTextFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RichTextFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsRichText"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}}]} as unknown as DocumentNode; export const SecondaryBannerFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SecondaryBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsSecondaryBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerBackgroundColor"},"name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","alias":{"kind":"Name","value":"secondaryBannerCover"},"name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}}]} as unknown as DocumentNode; +export const TestimonialsSectionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TestimonialsSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsTestimonials"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"icon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"alternativeText"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"caption"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}}]} as unknown as DocumentNode; +export const TimelineSectionFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TimelineSectionFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsTimeline"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"heading"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}}]}},{"kind":"Field","name":{"kind":"Name","value":"card"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"alternativeText"}},{"kind":"Field","name":{"kind":"Name","value":"caption"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"showWave"}}]}}]} as unknown as DocumentNode; export const WaveBannerFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WaveBannerFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComponentSectionsWaveBanner"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isLargeImage"}},{"kind":"Field","name":{"kind":"Name","value":"title"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"level"}}]}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"backgroundColor"}},{"kind":"Field","name":{"kind":"Name","value":"isTextBox"}}]}}]} as unknown as DocumentNode; export const GetLayoutDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetLayoutData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"colorScheme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"white"}},{"kind":"Field","name":{"kind":"Name","value":"black"}},{"kind":"Field","name":{"kind":"Name","value":"background"}},{"kind":"Field","name":{"kind":"Name","value":"primary"}},{"kind":"Field","name":{"kind":"Name","value":"secondary"}},{"kind":"Field","name":{"kind":"Name","value":"tertiary"}},{"kind":"Field","name":{"kind":"Name","value":"quaternary"}},{"kind":"Field","name":{"kind":"Name","value":"quinary"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"header"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"altText"}},{"kind":"Field","name":{"kind":"Name","value":"isIcon"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"alternativeText"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stripe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialMedia"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"icon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"navigations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"pages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"footer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"theme"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"bgColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialMedia"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"newTab"}},{"kind":"Field","name":{"kind":"Name","value":"icon"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"caption"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"heading"}},{"kind":"Field","name":{"kind":"Name","value":"tradeMark"}},{"kind":"Field","name":{"kind":"Name","value":"rights"}},{"kind":"Field","name":{"kind":"Name","value":"navigation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const GetNewsByCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetNewsByCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"category"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"I18NLocaleCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"articles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"article_category"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"slug"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"category"}}]}}]}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"pageSize"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pageSize"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pagination"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"excerpt"}},{"kind":"Field","name":{"kind":"Name","value":"featuredImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attributes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; diff --git a/src/fragments/testimonials-section.fragment.ts b/src/fragments/testimonials-section.fragment.ts new file mode 100644 index 0000000..0e98f9e --- /dev/null +++ b/src/fragments/testimonials-section.fragment.ts @@ -0,0 +1,40 @@ +import { gql } from "@/__generated__"; + +export const testimonialsSectionFragment = gql(` +fragment TestimonialsSectionFragment on ComponentSectionsTestimonials { + id + title + card { + id + text + title + icon { + data { + attributes { + alternativeText + name + caption + url + } + } + } + author + theme { + data { + attributes { + color + bgColor + } + } + } + } + theme { + data { + attributes { + color + bgColor + } + } + } + showWave +}`); diff --git a/src/fragments/timeline-section.fragment.ts b/src/fragments/timeline-section.fragment.ts new file mode 100644 index 0000000..5ab8f58 --- /dev/null +++ b/src/fragments/timeline-section.fragment.ts @@ -0,0 +1,45 @@ +import { gql } from "@/__generated__"; + +export const timelineSectionFragment = gql(` +fragment TimelineSectionFragment on ComponentSectionsTimeline { + id + heading { + id + level + text + position + } + card { + id + text + title + image { + data { + attributes { + image { + data { + attributes { + alternativeText + caption + url + } + } + } + altText + isIcon + url + newTab + } + } + } + theme { + data { + attributes { + color + bgColor + } + } + } + } + showWave +}`);