refactor: better project structure
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 6m3s

This commit is contained in:
2025-09-17 08:41:42 -04:00
parent ba42386645
commit 346890c088
19 changed files with 90 additions and 124 deletions

View File

@@ -0,0 +1,19 @@
fragment MenuItem on MenuItem {
id
label
to: path
target
}
query menuItems($location: MenuLocationEnum!) {
menuItems(where: {location: $location, parentDatabaseId: 0}) {
nodes {
...MenuItem
childItems {
nodes {
...MenuItem
}
}
}
}
}

View File

@@ -0,0 +1,31 @@
query nodeByUri($uri: String!) {
nodeByUri(uri: $uri) {
__typename
id
breadcrumbs {
label
to
}
... on Page {
...ThePage
}
... on Post {
...TheArticle
}
... on Event {
...TheEvent
}
... on Location {
...TheLocation
}
... on Membership {
...TheMembership
}
... on Project {
...TheProject
}
... on Resource {
...TheResource
}
}
}

View File

@@ -0,0 +1,13 @@
fragment SiteOptions on GroupCcat {
profiles {
url
}
}
query siteOptions {
siteOptions {
groupCcat {
...SiteOptions
}
}
}