ADD: KnobConfig & KeyConfig

This commit is contained in:
Robert Kossessa
2024-02-04 15:21:02 +01:00
parent d843f7c878
commit 7f85f9986e
8 changed files with 161 additions and 73 deletions

View File

@@ -4,12 +4,9 @@ import DevicePreview from '@/components/device/DevicePreview.vue'
import ConfigPane from '@/components/config/ConfigPane.vue'
import Navbar from '@/components/Navbar.vue'
import { useStore } from '@/store'
import { ref } from 'vue'
const store = useStore()
const currentConfigPage = ref(0)
store.fetchProfiles()
</script>
@@ -20,10 +17,8 @@ store.fetchProfiles()
<ProfileManager
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-1 flex border-solid border-0 border-r"
@select="currentConfigPage = (currentConfigPage+1)%4" />
class="basis-1/3 flex-col flex-1 flex border-solid border-0 border-r" />
<ConfigPane
v-model="currentConfigPage"
class="flex-1 basis-2/5 flex flex-col border-solid border-0 border-r bg-zinc-900 bg-opacity-50" />
</div>
</main>