-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
54 lines (46 loc) · 1.06 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
<script setup lang="ts">
const showFallback = ref(true);
onNuxtReady(() => {
setTimeout(() => {
showFallback.value = false;
}, 1200);
});
const head = useLocaleHead({
addDirAttribute: true,
identifierAttribute: "id",
addSeoAttributes: true,
});
</script>
<template>
<Html :lang="head.htmlAttrs.lang">
<Head>
<!-- SEO & Meta tags -->
<Title>Ícaro Rocha (Pato)</Title>
</Head>
<Body>
<transition name="fade">
<div
v-if="showFallback"
class="w-screen h-screen fixed top-0 left-0 z-50 bg-base-300 flex flex-col items-center justify-center"
>
<iframe
src="https://lottie.host/embed/557823f5-970a-4526-b323-3693230b32a1/98aCcLFpid.lottie"
></iframe>
</div>
</transition>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</Body>
</Html>
</template>
<style lang="scss">
@import "~/assets/scss/global.scss";
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.3s ease;
}
.fade-enter, .fade-leave-to {
opacity: 0;
}
</style>