-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
114 lines (93 loc) · 1.69 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<script setup lang="ts">
import { appName } from "~/constants";
useHead({
title: appName,
});
useSeoMeta({
title: appName,
});
</script>
<template>
<div>
<VitePwaManifest />
<NuxtLayout>
<NuxtPage />
<AppCursor />
<CommandPalette />
</NuxtLayout>
</div>
</template>
<style>
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: black;
border-radius: 5px;
}
.dark ::-webkit-scrollbar-thumb {
background-color: white;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.7);
}
.dark ::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.7);
}
html,
body,
#__nuxt {
min-height: 100vh;
margin: 0;
padding: 0;
font-family: "Islomurodov", sans-serif;
overflow-x: hidden;
transition: background 0.5s ease, color 0.5 ease;
}
html.lenis,
html.lenis body {
height: auto;
}
.lenis.lenis-smooth {
scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
overscroll-behavior: contain;
}
.lenis.lenis-stopped {
overflow: hidden;
}
.lenis.lenis-smooth iframe {
pointer-events: none;
}
.page-enter-active,
.page-leave-active {
transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.page-enter,
.page-leave-to {
opacity: 0;
transform: scale(0.95) translateY(20px);
}
.page-enter-active {
transform-origin: top center;
animation: bounce-in 0.4s ease;
}
.page-leave-active {
transform-origin: bottom center;
}
@keyframes bounce-in {
0% {
transform: scale(0.9) translateY(30px);
opacity: 0;
}
50% {
transform: scale(1.05) translateY(-10px);
opacity: 0.7;
}
100% {
transform: scale(1) translateY(0);
opacity: 1;
}
}
</style>