<script setup lang="ts">
const route = useRoute()
const clubKey = computed(() => `club-${route.params.clubSlug}`)
const { data: home } = await useAsyncData(
clubKey,
() => queryCollection('club').path('/club/' + route.params.clubSlug).first()
)
useSeoMeta({
title: home.value?.title,
description: home.value?.description
})
</script>