Added styles for usp section and started on reusable section

This commit is contained in:
Henrik Larsson
2023-05-15 16:36:57 +02:00
parent f9aa17c0ae
commit a740f19f8a
7 changed files with 78 additions and 50 deletions

View File

@@ -142,6 +142,14 @@ export const modules = `
},
}
`
export const reusableSection = `
_type == 'reusableSection' => {
disabled,
_type,
_key,
title
}
`
// Homepage query
export const homePageQuery = `*[_type == "home" && slug.current == "/" && language == $locale][0] {
@@ -155,7 +163,8 @@ export const homePageQuery = `*[_type == "home" && slug.current == "/" && langua
"locale": language
},
content[] {
${modules}
${modules},
${reusableSection}
},
seo {
${seoFields}