feat(settings): screen setup

This commit is contained in:
2025-11-24 11:16:47 +01:00
parent ca6402261a
commit 5b1839e75c
9 changed files with 297 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<script setup lang="ts">
import BACKGROUND_IMAGE from "/assets/images/home/bottom-screen/background.webp";
const [backgroundImage] = useImages(BACKGROUND_IMAGE);
useRender((ctx) => {
ctx.drawImage(backgroundImage!, 0, 0);
});
defineOptions({
render: () => null,
});
</script>

View File

@@ -0,0 +1,13 @@
<script setup lang="ts">
import Background from "./Background.vue";
const store = useSettingsStore();
onMounted(() => {
store.$reset();
});
</script>
<template>
<Background />
</template>