Use turbopack for dev builds. Remove graphql-tag/loader, replaced by gql`` tag literals instead. Approved-by: Linus Flood
34 lines
515 B
TypeScript
34 lines
515 B
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
export const MainLinks = gql`
|
|
fragment MainLinks on Footer {
|
|
main_links {
|
|
title
|
|
open_in_new_tab
|
|
link {
|
|
href
|
|
title
|
|
}
|
|
pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
... on AccountPage {
|
|
title
|
|
url
|
|
}
|
|
... on LoyaltyPage {
|
|
title
|
|
url
|
|
}
|
|
... on ContentPage {
|
|
title
|
|
url
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|