diff --git a/src/__generated__/gql.ts b/src/__generated__/gql.ts index 6a1340d..aaae90b 100644 --- a/src/__generated__/gql.ts +++ b/src/__generated__/gql.ts @@ -14,9 +14,9 @@ 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, - "\nquery GetLayoutData($limit: Int) {\n pages(pagination: { limit: $limit }) {\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 {\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 {\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 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!) {\n articles(\n filters: { article_category: { slug: { in: [$category] } } }\n pagination: { page: $page, pageSize: $pageSize }\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!) {\n page(id: $id) {\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 }\n }\n }\n}\n": types.GetPageDataDocument, + "\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, "\n query GetPage1Data($slug: StringFilterInput, $locale: I18NLocaleCode, $page: Int!, $pageSize: Int!) {\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 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, }; @@ -41,15 +41,15 @@ export function gql(source: "\nfragment NewArticles on ArticleCategoryEntity {\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 GetLayoutData($limit: Int) {\n pages(pagination: { limit: $limit }) {\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 {\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 {\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 navigation {\n data {\n attributes {\n slug\n label\n }\n }\n }\n }\n }\n }\n}\n"): (typeof documents)["\nquery GetLayoutData($limit: Int) {\n pages(pagination: { limit: $limit }) {\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 {\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 {\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 navigation {\n data {\n attributes {\n slug\n label\n }\n }\n }\n }\n }\n }\n}\n"]; +export function gql(source: "\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"): (typeof documents)["\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"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\nquery GetNewsByCategory($category: String!, $page: Int!, $pageSize: Int!) {\n articles(\n filters: { article_category: { slug: { in: [$category] } } }\n pagination: { page: $page, pageSize: $pageSize }\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"): (typeof documents)["\nquery GetNewsByCategory($category: String!, $page: Int!, $pageSize: Int!) {\n articles(\n filters: { article_category: { slug: { in: [$category] } } }\n pagination: { page: $page, pageSize: $pageSize }\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"]; +export function gql(source: "\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"): (typeof documents)["\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"]; /** * 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!) {\n page(id: $id) {\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 }\n }\n }\n}\n"): (typeof documents)["\nquery GetPageData($id: ID, $page: Int!, $pageSize: Int!) {\n page(id: $id) {\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 }\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 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"]; /** * 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 6d200fd..a9816b3 100644 --- a/src/__generated__/graphql.ts +++ b/src/__generated__/graphql.ts @@ -1104,6 +1104,7 @@ export type Footer = { localizations?: Maybe; navigation?: Maybe; publishedAt?: Maybe; + rights?: Maybe; socialMedia?: Maybe>>; theme?: Maybe; tradeMark?: Maybe; @@ -1145,6 +1146,7 @@ export type FooterInput = { heading?: InputMaybe; navigation?: InputMaybe>>; publishedAt?: InputMaybe; + rights?: InputMaybe; socialMedia?: InputMaybe>>; theme?: InputMaybe; tradeMark?: InputMaybe; @@ -2307,15 +2309,17 @@ export type NewArticlesFragment = { __typename?: 'ArticleCategoryEntity', attrib export type GetLayoutDataQueryVariables = Exact<{ limit?: InputMaybe; + locale?: InputMaybe; }>; -export type GetLayoutDataQuery = { __typename?: 'Query', pages?: { __typename?: 'PageEntityResponseCollection', data: Array<{ __typename?: 'PageEntity', id?: string | null, attributes?: { __typename?: 'Page', slug?: string | null } | null }> } | null, colorScheme?: { __typename?: 'ColorSchemeEntityResponse', data?: { __typename?: 'ColorSchemeEntity', attributes?: { __typename?: 'ColorScheme', white?: string | null, black?: string | null, background?: string | null, primary?: string | null, secondary?: string | null, tertiary?: string | null, quaternary?: string | null, quinary?: string | null } | null } | null } | null, header?: { __typename?: 'HeaderEntityResponse', data?: { __typename?: 'HeaderEntity', attributes?: { __typename?: 'Header', logo?: { __typename?: 'ComponentSharedImage', altText?: string | null, isIcon?: boolean | null, url?: string | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string, alternativeText?: string | null } | null } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', type?: Enum_Componentsharedbutton_Type | null, url?: string | null, label?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, stripe?: { __typename?: 'ComponentSectionsTopStripe', theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, socialMedia?: Array<{ __typename?: 'ComponentSharedSocialIcon', title?: string | null, url?: string | null, newTab?: boolean | null, icon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | null, navigations?: { __typename?: 'CategoryRelationResponseCollection', data: Array<{ __typename?: 'CategoryEntity', attributes?: { __typename?: 'Category', slug?: string | null, label?: string | null, description?: string | null, pages?: { __typename?: 'PageRelationResponseCollection', data: Array<{ __typename?: 'PageEntity', attributes?: { __typename?: 'Page', slug?: string | null, label?: string | null } | null }> } | null } | null }> } | null } | null } | null } | null, footer?: { __typename?: 'FooterEntityResponse', data?: { __typename?: 'FooterEntity', attributes?: { __typename?: 'Footer', heading?: string | null, tradeMark?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, socialMedia?: Array<{ __typename?: 'ComponentSharedSocialIcon', title?: string | null, url?: string | null, newTab?: boolean | null, icon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', caption?: string | null, url: string, previewUrl?: string | null, height?: number | null, width?: number | null } | null } | null } | null } | null> | null, navigation?: { __typename?: 'PageRelationResponseCollection', data: Array<{ __typename?: 'PageEntity', attributes?: { __typename?: 'Page', slug?: string | null, label?: string | null } | null }> } | null } | null } | null } | null }; +export type GetLayoutDataQuery = { __typename?: 'Query', pages?: { __typename?: 'PageEntityResponseCollection', data: Array<{ __typename?: 'PageEntity', id?: string | null, attributes?: { __typename?: 'Page', slug?: string | null } | null }> } | null, colorScheme?: { __typename?: 'ColorSchemeEntityResponse', data?: { __typename?: 'ColorSchemeEntity', attributes?: { __typename?: 'ColorScheme', white?: string | null, black?: string | null, background?: string | null, primary?: string | null, secondary?: string | null, tertiary?: string | null, quaternary?: string | null, quinary?: string | null } | null } | null } | null, header?: { __typename?: 'HeaderEntityResponse', data?: { __typename?: 'HeaderEntity', attributes?: { __typename?: 'Header', logo?: { __typename?: 'ComponentSharedImage', altText?: string | null, isIcon?: boolean | null, url?: string | null, newTab?: boolean | null, image?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string, alternativeText?: string | null } | null } | null } | null } | null, cta?: { __typename?: 'ComponentSharedButton', type?: Enum_Componentsharedbutton_Type | null, url?: string | null, label?: string | null, color?: Enum_Componentsharedbutton_Color | null, bgColor?: Enum_Componentsharedbutton_Bgcolor | null } | null, stripe?: { __typename?: 'ComponentSectionsTopStripe', theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, socialMedia?: Array<{ __typename?: 'ComponentSharedSocialIcon', title?: string | null, url?: string | null, newTab?: boolean | null, icon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', url: string } | null } | null } | null } | null> | null } | null, navigations?: { __typename?: 'CategoryRelationResponseCollection', data: Array<{ __typename?: 'CategoryEntity', attributes?: { __typename?: 'Category', slug?: string | null, label?: string | null, description?: string | null, pages?: { __typename?: 'PageRelationResponseCollection', data: Array<{ __typename?: 'PageEntity', attributes?: { __typename?: 'Page', slug?: string | null, label?: string | null } | null }> } | null } | null }> } | null } | null } | null } | null, footer?: { __typename?: 'FooterEntityResponse', data?: { __typename?: 'FooterEntity', attributes?: { __typename?: 'Footer', heading?: string | null, tradeMark?: string | null, rights?: string | null, theme?: { __typename?: 'ComponentSharedColor', color?: Enum_Componentsharedcolor_Color | null, bgColor?: Enum_Componentsharedcolor_Bgcolor | null } | null, socialMedia?: Array<{ __typename?: 'ComponentSharedSocialIcon', title?: string | null, url?: string | null, newTab?: boolean | null, icon?: { __typename?: 'UploadFileEntityResponse', data?: { __typename?: 'UploadFileEntity', attributes?: { __typename?: 'UploadFile', caption?: string | null, url: string, previewUrl?: string | null, height?: number | null, width?: number | null } | null } | null } | null } | null> | null, navigation?: { __typename?: 'PageRelationResponseCollection', data: Array<{ __typename?: 'PageEntity', attributes?: { __typename?: 'Page', slug?: string | null, label?: string | null } | null }> } | null } | null } | null } | null }; export type GetNewsByCategoryQueryVariables = Exact<{ category: Scalars['String']['input']; page: Scalars['Int']['input']; pageSize: Scalars['Int']['input']; + locale?: InputMaybe; }>; @@ -2325,10 +2329,11 @@ export type GetPageDataQueryVariables = Exact<{ id?: InputMaybe; page: Scalars['Int']['input']; pageSize: Scalars['Int']['input']; + locale?: InputMaybe; }>; -export type GetPageDataQuery = { __typename?: 'Query', page?: { __typename?: 'PageEntityResponse', data?: { __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', 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?: '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', 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?: 'Error' } | null> | null } | null } | null } | null }; export type GetPage1DataQueryVariables = Exact<{ slug?: InputMaybe; @@ -2341,7 +2346,7 @@ 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?: '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 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"}}}],"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"}}}]}}],"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"},"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"},"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":"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"}}}}],"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"}}}]}}],"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"}}}}],"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"}}}],"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"}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]} 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":"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":"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":"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 dddb621..1c62bbd 100644 --- a/src/app/[locale]/[slug]/page.tsx +++ b/src/app/[locale]/[slug]/page.tsx @@ -3,7 +3,7 @@ import { notFound } from "next/navigation"; import { getClient } from "@/utils/apollo-client"; import { isNotNull } from "@/utils/type-guards/is-not-null"; import { GET_LAYOUT_DATA } from "@/queries/get-layout-data"; -import { GET_PAGE1_DATA } from "@/queries/get-page1-data"; +import { GET_PAGES_DATA } from "@/queries/get-pages-data.ts"; import { LAYOUT_PAGES_VARIABLES, PAGE_SIZE, @@ -102,7 +102,7 @@ export default async function Home({ }); const { data } = await client.query({ - query: GET_PAGE1_DATA, + query: GET_PAGES_DATA, variables: { slug: { startsWith: slug }, page: START_PAGE, diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 8b1a60a..6aa925f 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -24,7 +24,7 @@ export default async function LocaleLayout({ const client = getClient(); const { data } = await client.query({ query: GET_LAYOUT_DATA, - variables: LAYOUT_PAGES_VARIABLES, + variables: { ...LAYOUT_PAGES_VARIABLES, locale }, }); const footer = data?.footer?.data?.attributes; @@ -44,10 +44,11 @@ export default async function LocaleLayout({ />
{children}