-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
37 lines (34 loc) · 768 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
<template>
<div
:id="selectors.appContainer.id"
:data-theme="theme"
:class="selectors.appContainer.class"
>
<NuxtLoadingIndicator
:throttle="100"
:duration="2000"
:color="accentColor"
/>
<NuxtLayout name="default">
<NuxtPage />
</NuxtLayout>
<LazyCookieBanner v-if="hasCookieFeature" />
</div>
</template>
<script setup lang="ts">
import "@fontsource-variable/montserrat";
import selectors from "@/data/selectors";
import "@style/index.scss";
const { COOKIE_BANNER: hasCookieFeature } = useFeatures();
const { theme, accentColor } = useTheme();
</script>
<style lang="scss">
.page-enter-active,
.page-leave-active {
transition: all 100ms;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
}
</style>