2023-12-16 16:11:16 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
import { setActivePinia } from "pinia";
|
|
|
|
import pinia from "../../store/index";
|
|
|
|
setActivePinia(pinia);
|
|
|
|
|
|
|
|
import { useStateStore } from "../../store/stateStore.js";
|
|
|
|
const state = useStateStore(pinia);
|
|
|
|
</script>
|
|
|
|
<template>
|
2023-12-16 16:56:55 +00:00
|
|
|
<a
|
|
|
|
class="d-flex justify-content-center align-items-center object-fill border rounded w-100 h-100 link-underline link-underline-opacity-0 link-underline-opacity-75-hover"
|
|
|
|
:class="state.ptt_state === true ? 'text-bg-warning' : 'text-bg-light'"
|
|
|
|
data-bs-toggle="offcanvas"
|
2023-12-16 16:57:29 +00:00
|
|
|
data-bs-target="#offcanvasFrequency"
|
2023-12-16 16:56:55 +00:00
|
|
|
>
|
2023-12-16 16:57:29 +00:00
|
|
|
{{ state.frequency / 1000 }} kHz
|
|
|
|
</a>
|
2023-12-16 16:11:16 +00:00
|
|
|
</template>
|