-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
42 lines (38 loc) · 807 Bytes
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<script setup lang="ts">
import { BASE_SITE_TITLE, LOADING_INDICATOR_COLOR } from "@/constants/siteInfos"
useHead({
titleTemplate: (chunk) => {
return chunk ? `${chunk} | ${BASE_SITE_TITLE}` : BASE_SITE_TITLE
},
meta: [
{
name: "og:image",
content:
"https://raw.githubusercontent.com/pedrodruviaro/code-and-coffee-blog-nuxt/main/_images/banner.png",
},
],
})
</script>
<template>
<NuxtLoadingIndicator :color="LOADING_INDICATOR_COLOR" :height="4" />
<div>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>
<style>
body,
html {
@apply font-brand bg-brand-white text-brand-black;
}
.page-enter-active,
.page-leave-active {
transition: all 0.3s;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
filter: blur(0.75rem);
}
</style>