generated from pascalmartineau/wp-skeleton
refactor: membership => profile
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m6s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m6s
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fragment TheListing on Listing {
|
||||
title
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
fragment TheMembership on Membership {
|
||||
title
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fragment TheProfile on Profile {
|
||||
title
|
||||
}
|
||||
12
wp-content/themes/ccat/app/components/nodes/TheProfile.vue
Normal file
12
wp-content/themes/ccat/app/components/nodes/TheProfile.vue
Normal 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>
|
||||
Reference in New Issue
Block a user