mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 13:54:05 +01:00
41 lines
718 B
Vue
41 lines
718 B
Vue
<script lang="ts" setup>
|
|
useHead({
|
|
titleTemplate: (titleChunk) => {
|
|
return titleChunk ? `${titleChunk} %separator %siteName` : 'Arthur Danjou %separator AI Safety & Applied Math'
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<UApp>
|
|
<NuxtLoadingIndicator color="#808080" />
|
|
<AppBackground />
|
|
<UContainer class="z-50 relative">
|
|
<AppHeader />
|
|
<NuxtPage class="mt-12" />
|
|
<AppFooter />
|
|
</UContainer>
|
|
</UApp>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.sofia {
|
|
font-family: 'Sofia Sans', sans-serif;
|
|
}
|
|
|
|
.page-enter-active,
|
|
.page-leave-active {
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.page-leave-to {
|
|
opacity: 0;
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.page-enter-from {
|
|
opacity: 0;
|
|
transform: translateY(5px);
|
|
}
|
|
</style>
|