Utilise les MqttButton dans les cartes de contrôle et soundboard

This commit is contained in:
2024-02-26 14:25:49 +00:00
parent de18d4957b
commit f3511277f9
2 changed files with 28 additions and 18 deletions

View File

@ -7,33 +7,37 @@
<v-container class="text-center">
<v-row justify="center">
<v-col cols="12" sm="6" md="4" class="mt-4">
<v-btn class="card" width="200" height="130" @click="" rounded>
<mqtt-button class="card" width="200" height="130" topic="/sound/playsound" message="good-response" rounded>
<v-icon size="100">mdi-check-circle-outline</v-icon>
</v-btn>
</mqtt-button>
</v-col>
<v-col cols="12" sm="6" md="4" class="mt-4">
<v-btn class="card" width="200" height="130" @click="" rounded>
<mqtt-button class="card" width="200" height="130" topic="/sound/playsound" message="bad-response" rounded>
<v-icon size="100">mdi-close-circle-outline</v-icon>
</v-btn>
</mqtt-button>
</v-col>
<v-col cols="12" sm="6" md="4" class="mt-4">
<v-btn class="card" width="200" height="130" @click="" rounded>
<mqtt-button class="card" width="200" height="130" topic="/sound/playsound" message="timer" rounded>
<v-icon size="100">mdi-timer-outline</v-icon>
</v-btn>
</mqtt-button>
</v-col>
</v-row>
<v-row justify="center">
<v-col cols="12" sm="6" md="4" class="mb-4">
<v-btn class="card" width="220" height="130" @click="" rounded>
<mqtt-button class="card" width="220" height="130" topic="/sound/playsound" message="applause" rounded>
<v-icon size="100">mdi-human-handsup</v-icon>
</v-btn>
</mqtt-button>
</v-col>
<v-col cols="12" sm="6" md="s" class="mb-4">
<v-btn class="card" width="220" height="130" @click="" rounded>
<mqtt-button class="card" width="220" height="130" topic="/sound/playsound" message="bell" rounded>
<v-icon size="100">mdi-bell-outline</v-icon>
</v-btn>
</mqtt-button>
</v-col>
</v-row>
</v-container>
</v-card>
</template>
<script setup>
import MqttButton from './MqttButton.vue';
</script>