UPD: Layout changes (profiles)

This commit is contained in:
Robert Kossessa
2024-02-04 12:35:32 +01:00
parent 0ff6c41804
commit 6df148664e
5 changed files with 84 additions and 55 deletions

View File

@@ -1,6 +1,7 @@
<template>
<div>
<div class="flex">
<div v-if="showTabs" class="flex">
<!-- TODO: Remove later if not needed -->
<div v-for="(option, index) in configPageOptions" :key="index" class="flex flex-1 items-center">
<button
class="flex-1 h-12 items-center text-center group px-3 font-heading"
@@ -28,7 +29,14 @@ import HapticConfig from '@/components/config/pages/HapticConfig.vue'
import { Separator } from '@/components/ui/separator'
import { ref } from 'vue'
const currentPage = ref(0)
defineProps({
showTabs: {
type: Boolean,
default: false,
},
})
const currentPage = ref(1)
const configPageOptions = [
{

View File

@@ -2,7 +2,10 @@
<ConfigSection :title="$t('config_options.profile_settings.profile_properties.title')" :icon-component="Type">
<WIP />
</ConfigSection>
<ConfigSection :title="$t('config_options.profile_settings.connection_type.title')" :icon-component="Cable">
<ConfigSection
v-if="false" :title="$t('config_options.profile_settings.connection_type.title')"
:icon-component="Cable">
<!-- TODO: Remove later if not needed -->
<TabSelect v-model="connectionType" :options="connectionTypeOptions" />
</ConfigSection>