mirror of
https://github.com/YunoHost/yunohost-portal.git
synced 2024-09-03 20:06:23 +02:00
40 lines
641 B
Vue
40 lines
641 B
Vue
<script setup lang="ts">
|
|
const head = useLocaleHead({
|
|
addDirAttribute: true,
|
|
addSeoAttributes: true,
|
|
})
|
|
|
|
const settings = await useSettings()
|
|
|
|
useHead({
|
|
titleTemplate: (titleChunk) => {
|
|
const baseTitle = settings.value.portal_title
|
|
return titleChunk ? `${titleChunk} - ${baseTitle}` : baseTitle
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<NuxtLayout>
|
|
<Html :lang="head.htmlAttrs?.lang" :dir="head.htmlAttrs?.dir" />
|
|
|
|
<NuxtPage />
|
|
</NuxtLayout>
|
|
</template>
|
|
|
|
<style>
|
|
body {
|
|
font-family: 'Source Sans 3';
|
|
}
|
|
|
|
#__nuxt {
|
|
@apply min-h-screen flex;
|
|
}
|
|
|
|
/* GLOBAL */
|
|
.btn,
|
|
.select {
|
|
min-height: 2.5rem;
|
|
height: 2.5rem;
|
|
}
|
|
</style>
|