-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.vue
42 lines (40 loc) · 925 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
<template lang="">
<div>
<NuxtLayout>
<HeaderComp></HeaderComp>
<NuxtPage />
<FooterComp></FooterComp>
<ToggleTheme></ToggleTheme>
</NuxtLayout>
</div>
</template>
<script setup>
useHead({
script: [
{
hid: "hotjar-tracking-script",
innerHTML: `(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3296207,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');`,
type: "text/javascript",
charset: "utf-8",
},
],
});
</script>
<style>
.page-enter-active,
.page-leave-active {
transition: all 0.4s;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
filter: blur(1rem);
}
</style>