Files
zeroone/src/App.vue
Robert Kossessa e5cc9875fe UPD: OFFLINE State
2024-02-05 00:44:46 +01:00

27 lines
976 B
Vue

<script setup>
import ProfileManager from '@/components/profile/ProfileManager.vue'
import DevicePreview from '@/components/device/DevicePreview.vue'
import ConfigPane from '@/components/config/ConfigPane.vue'
import Navbar from '@/components/Navbar.vue'
import { useStore } from '@/store'
const store = useStore()
store.fetchProfiles()
</script>
<template>
<main class="select-none w-screen h-screen flex flex-col">
<Navbar class="flex-none" />
<div class="flex-1 min-h-0 flex flex-row justify-center">
<ProfileManager
:class="{'invisible': !store.connected }"
class="basis-1/3 min-w-60 flex-1 flex flex-col border-solid border-0 border-r bg-zinc-900 bg-opacity-50" />
<DevicePreview
class="basis-1/3 flex-col flex" />
<ConfigPane
:class="{'invisible': !store.connected }"
class="flex-1 basis-2/5 flex flex-col border-solid border-0 border-l bg-zinc-900 bg-opacity-50" />
</div>
</main>
</template>