-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.vue
More file actions
56 lines (55 loc) · 1.24 KB
/
Copy pathapp.vue
File metadata and controls
56 lines (55 loc) · 1.24 KB
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
<template>
<div>
<Transition
enter-active-class="animate__animated animate__fadeIn animate__faster"
leave-active-class="animate__animated animate__fadeOut animate__faster"
mode="in-out"
>
<div class="back__" v-if="store.showBlackBackGround"></div>
</Transition>
<Head>
<Link
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
rel="stylesheet"
/>
</Head>
<NuxtLayout>
<!-- <TheLoadingBar :height="5" :duration="10000" /> -->
<NuxtLoadingIndicator
:height="5"
:duration="10000"
color="repeating-linear-gradient(to right,#00dc82 0%, #34cdfe 50%, #0047e1 100%)"
/>
<NuxtPage />
</NuxtLayout>
</div>
</template>
<script setup lang="ts">
import { UseUtilStore } from "~~/stores/util.store";
const store = UseUtilStore();
useHead({
script: [
{
src: "/js/themeController.min.js",
},
],
});
</script>
<style>
@media screen and (max-width: 768px) {
.back__ {
background: rgba(0, 0, 0, 0.9) !important;
}
}
.back__ {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 899;
width: 100%;
height: 100%;
background-color: rgba(15, 15, 16, 0.5) !important;
}
</style>