mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-16 01:31:22 +10:00
feat: prototype big picture mode
This commit is contained in:
13
main/app.vue
13
main/app.vue
@ -1,21 +1,13 @@
|
||||
<template>
|
||||
<NuxtLoadingIndicator color="#2563eb" />
|
||||
<NuxtLayout ref="rootNode" class="select-none w-screen h-screen">
|
||||
<NuxtLayout class="select-none w-screen h-screen">
|
||||
<NuxtPage />
|
||||
<ModalStack />
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import "~/composables/downloads.js";
|
||||
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { useAppState } from "./composables/app-state.js";
|
||||
import {
|
||||
initialNavigation,
|
||||
setupHooks,
|
||||
} from "./composables/state-navigation.js";
|
||||
import { createTVNavigator } from "./composables/tvmode.js";
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
@ -42,9 +34,6 @@ router.beforeEach(async () => {
|
||||
await fetchState();
|
||||
});
|
||||
|
||||
const rootNode = ref<HTMLElement>();
|
||||
const navigator = createTVNavigator(rootNode);
|
||||
|
||||
setupHooks();
|
||||
initialNavigation(state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user