diff --git a/app/components/QuestTags.vue b/app/components/QuestTags.vue index cc9a264..0d4ec72 100644 --- a/app/components/QuestTags.vue +++ b/app/components/QuestTags.vue @@ -18,9 +18,10 @@ const props = defineProps<{ {{ quest.pictureRequired ? '📸' : '📷' }} {{ quest.textRequired ? '❓' : '❔' }} {{ quest.title }} - {{ - quest.answer?.score || 0 - }} + {{ quest.answer?.score || 0 }} / {{ quest.points + }}{{ quest.extraPoints ? `+${quest.extraPoints}` : '' }} {{ quest.points }}{{ quest.extraPoints ? ` +${quest.extraPoints}` : '' }} const app = useNuxtApp(); const { huntSlug, questSlug } = app.$slugData; +const { t } = useI18n(); + +useHead({ + title: t('layouts.title', { + title: + [questSlug?.name, huntSlug?.name].join(' | ') || t('layouts.default_tile') + }) +});