<script setup lang="ts">
const { fetchData } = useApiFetch()
const config = useRuntimeConfig()
const { data: seo } = await fetchData<Seo[]>(`seo`)
import og_img from '/og_img.png'

useSeoMeta({
    title: seo.value && seo.value[0].title,
    ogTitle: seo.value && seo.value[0].title,
    description: seo.value && seo.value[0].content,
    ogDescription: seo.value && seo.value[0].content,
    ogImage: config.public.baseUrl + og_img
})
</script>