-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathapp.vue
34 lines (27 loc) · 809 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
<script setup lang="ts">
import background from "./components/background.vue";
import Listeners from "./components/listeners.vue";
const backgroundRef = ref<InstanceType<typeof background>>();
const isLoadingDone = ref<boolean>(false);
const changeBackground = () => {
backgroundRef.value?.changeBackgroundImage();
};
</script>
<template>
<div>
<Navbar />
<Loading @contentLoaded="isLoadingDone = true" v-if="!isLoadingDone" />
<Listeners @changeBackground="changeBackground" />
<ContentFrame class="content_frame mb-[50px]" />
<Background ref="backgroundRef" class="select-none pointer-events-none" />
<noise />
</div>
</template>
<style lang="scss" scoped>
@import "@/assets/query.scss";
.content_frame {
@include query(654px) {
margin-bottom: 0px;
}
}
</style>