Files
coba-tampilan/components/widgets/cards/Settings.vue

47 lines
1.9 KiB
Vue

<script setup lang="ts">
import { ref } from 'vue';
/*import tabler icons*/
import { VolumeIcon,MessageIcon } from 'vue-tabler-icons';
const slider = ref(50);
const model = ref(false);
</script>
<template>
<v-card elevation="10" rounded="md">
<v-card-item>
<v-card-title class="text-h5">Settings</v-card-title>
<div class="d-flex mt-5">
<v-avatar class="rounded-md bg-primary" size="48">
<VolumeIcon size="22" />
</v-avatar>
<div class="pl-4 w-100">
<div class="d-flex align-center justify-space-between">
<h6 class="text-h6">Sound</h6>
<p class="text-subtitle-1 textSecondary">45%</p>
</div>
<v-slider v-model="slider" hide-details class="ml-0" color="primary"></v-slider>
</div>
</div>
<v-divider class="mt-4"></v-divider>
<div class="d-flex mt-4">
<v-avatar class="rounded-md bg-secondary" size="48">
<MessageIcon size="22" class="text-surface"/>
</v-avatar>
<div class="pl-4 w-100 d-flex align-center">
<div class="">
<h6 class="text-h6 mb-1">Chat</h6>
<p class="text-subtitle-1 textSecondary">Turn on chat during call</p>
</div>
<div class="ml-auto">
<v-switch v-model="model" hide-details color="primary" inset ></v-switch>
</div>
</div>
</div>
<v-divider class="mt-4"></v-divider>
<div class="d-flex justify-end mt-4 gap-3">
<v-btn color="error" variant="tonal">Cancel</v-btn>
<v-btn color="primary">save</v-btn>
</div>
</v-card-item>
</v-card>
</template>