feat(WEB-93): add Header to CMS and render it in Next
This commit is contained in:
32
lib/graphql/Query/Header.graphql
Normal file
32
lib/graphql/Query/Header.graphql
Normal file
@@ -0,0 +1,32 @@
|
||||
#import "../Fragments/Image.graphql"
|
||||
|
||||
query GetHeader($locale: String!) {
|
||||
all_header(limit: 1, locale: $locale) {
|
||||
items {
|
||||
frontpage_link_text
|
||||
logoConnection {
|
||||
edges {
|
||||
node {
|
||||
...Image
|
||||
}
|
||||
}
|
||||
}
|
||||
menu {
|
||||
links {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
top_menu {
|
||||
links {
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
show_on_mobile
|
||||
sort_order_mobile
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user