refactor: membership => profile
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m6s

This commit is contained in:
2025-09-24 16:01:46 -04:00
parent b631e4c06b
commit 299213d5e9
15 changed files with 2233 additions and 1206 deletions

View File

@@ -0,0 +1,3 @@
fragment TheListing on Listing {
title
}

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import type { TheMembershipFragment } from "#graphql-operations";
import type { TheListingFragment } from "#graphql-operations";
const props = defineProps<TheMembershipFragment>();
const props = defineProps<TheListingFragment>();
useSeoMeta({ title: props.title });
</script>

View File

@@ -1,3 +0,0 @@
fragment TheMembership on Membership {
title
}

View File

@@ -0,0 +1,3 @@
fragment TheProfile on Profile {
title
}

View File

@@ -0,0 +1,12 @@
<script setup lang="ts">
import type { TheProfileFragment } from "#graphql-operations";
const props = defineProps<TheProfileFragment>();
useSeoMeta({ title: props.title });
</script>
<template>
<UPage>
<UPageSection v-if="title" :title="title" />
</UPage>
</template>

View File

@@ -1,9 +1,10 @@
import { ThePage, TheArticle, TheEvent, TheLocation, TheMembership, TheProject, TheResource } from "#components";
import { ThePage, TheArticle, TheEvent, TheListing, TheLocation, TheProfile, TheProject, TheResource } from "#components";
const nodes = {
Event: TheEvent,
Location: TheLocation,
Membership: TheMembership,
Listing: TheListing,
Profile: TheProfile,
Page: ThePage,
Post: TheArticle,
Project: TheProject,

View File

@@ -18,8 +18,8 @@ query nodeByUri($uri: String!) {
... on Location {
...TheLocation
}
... on Membership {
...TheMembership
... on Profile {
...TheProfile
}
... on Project {
...TheProject