chore: add breadcrumbs to loyalty page

This commit is contained in:
Matilda Landström
2024-05-23 14:27:49 +02:00
parent c24f9026f7
commit b262ebdb7c
9 changed files with 331 additions and 8 deletions

View File

@@ -0,0 +1,21 @@
#import "../Fragments/MyPages/Breadcrumbs.graphql"
#import "../Fragments/Refs/Breadcrumbs.graphql"
query GetLoyaltyBreadcrumbs($locale: String!, $url: String!) {
all_loyalty_page(locale: $locale, where: { url: $url }) {
items {
...LoyaltyBreadcrumbs
system {
uid
}
}
}
}
query GetLoyaltyBreadcrumbsRefs($locale: String!, $url: String!) {
all_loyalty_page(locale: $locale, where: { url: $url }) {
items {
...LoyaltyBreadcrumbsRefs
}
}
}