-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.vue
executable file
·59 lines (56 loc) · 1.16 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<template>
<Body class="bg-slate-100 dark:bg-gray-950" />
<NuxtLoadingIndicator />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
<UNotifications />
</template>
<script setup lang="ts">
useHead({
htmlAttrs: {
lang: 'th',
},
titleTemplate: (titleChunk) => {
return titleChunk ? `${titleChunk} - Konkamon Sion` : 'Konkamon Sion'
},
link: [
{
rel: 'icon',
type: 'image/vnd.microsoft.icon',
href: '/favicon.ico',
},
],
})
useSeoMeta({
ogLocale: 'th_TH',
themeColor: '#379777',
})
</script>
<style>
@media (min-width: 400px) and (prefers-reduced-motion: no-preference) {
.page-enter-active {
transition: all 0.5s cubic-bezier(0.25, 1, 0.25, 1);
}
.page-leave-active {
transition: all 0.3s cubic-bezier(0.75, 0, 0.75, 0);
}
.page-enter-from,
.page-leave-to {
opacity: 0;
filter: blur(4px);
transform: translateY(-20px);
}
.layout-enter-active {
transition: all 0.5s cubic-bezier(0.25, 1, 0.25, 1);
}
.layout-leave-active {
transition: all 0.3s cubic-bezier(0.75, 0, 0.75, 0);
}
.layout-enter-from,
.layout-leave-to {
opacity: 0;
transform: translateY(-20px);
}
}
</style>