25 lines
551 B
Vue
25 lines
551 B
Vue
<script setup lang="ts">
|
|
const app = useNuxtApp();
|
|
const { huntSlug, questSlug } = app.$slugData;
|
|
console.log(app.$slugData);
|
|
const { t } = useI18n();
|
|
|
|
useHead({
|
|
title: t('layouts.title', {
|
|
title:
|
|
[questSlug?.name, huntSlug?.name]
|
|
.filter((s) => s && s?.length > 0)
|
|
.join(' | ') || t('layouts.default_tile')
|
|
})
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<h1>{{ huntSlug!.name }} - {{ questSlug!.name }}</h1>
|
|
<VaButton :to="$localePath(`/hunt/${sluggy(huntSlug!)}`)"
|
|
>Back to Hunt</VaButton
|
|
>
|
|
</template>
|
|
|
|
<style scoped></style>
|