initiation librodrome
This commit is contained in:
28
app/app.vue
Normal file
28
app/app.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div class="min-h-dvh">
|
||||
<NuxtLoadingIndicator color="hsl(12, 76%, 48%)" />
|
||||
<NuxtRouteAnnouncer />
|
||||
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
|
||||
<ClientOnly>
|
||||
<PlayerPersistent />
|
||||
</ClientOnly>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const { data: site } = await useSiteContent()
|
||||
|
||||
useHead({
|
||||
titleTemplate: (title) => {
|
||||
const siteName = site.value?.identity.name ?? 'Le Librodrome'
|
||||
return title ? `${title} — ${siteName}` : siteName
|
||||
},
|
||||
meta: [
|
||||
{ name: 'description', content: site.value?.identity.description ?? '' },
|
||||
],
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user