mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
22 lines
510 B
Vue
22 lines
510 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
middleware: ['language-item-from-path'],
|
|
});
|
|
|
|
const route = useRoute();
|
|
</script>
|
|
|
|
<template>
|
|
<Page>
|
|
<PronounsDetailPage
|
|
v-if="route.meta.pronoun"
|
|
:pronoun="route.meta.pronoun"
|
|
:show-sources="!Object.hasOwn(route.query, 'nosources')"
|
|
/>
|
|
<NounsConventionPage
|
|
v-else-if="route.meta.nounConvention"
|
|
:noun-convention="route.meta.nounConvention"
|
|
/>
|
|
</Page>
|
|
</template>
|