Prepare menu for website
This commit is contained in:
35
astro/src/graphql/menu/getMenu.graphql
Normal file
35
astro/src/graphql/menu/getMenu.graphql
Normal file
@@ -0,0 +1,35 @@
|
||||
query getMenu {
|
||||
Menu {
|
||||
id,
|
||||
date_created,
|
||||
date_updated,
|
||||
items {
|
||||
id,
|
||||
item {
|
||||
...on Menu_Column {
|
||||
__typename,
|
||||
id,
|
||||
date_created,
|
||||
date_updated,
|
||||
title,
|
||||
links {
|
||||
id,
|
||||
date_created,
|
||||
date_updated,
|
||||
text,
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
...on Menu_Link {
|
||||
__typename,
|
||||
id,
|
||||
date_created,
|
||||
date_updated,
|
||||
text,
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user