design to light button and panel working without indicators

This commit is contained in:
isUnknown 2025-01-22 13:25:34 +01:00
parent 5a80cfaa81
commit c2314e6b8e
11 changed files with 221 additions and 23 deletions

View file

@ -4,13 +4,19 @@
<Menu />
<RouterView />
</div>
<DTLPanel v-if="isDTLPanelOpen" />
<DTLButton @click="isDTLPanelOpen = !isDTLPanelOpen" />
</template>
<script setup>
import { useUserStore } from "./stores/user";
import { storeToRefs } from "pinia";
import Menu from "./components/Menu.vue";
import { usePageStore } from "./stores/page";
import DTLButton from "./components/design-to-light/DTLButton.vue";
import DTLPanel from "./components/design-to-light/DTLPanel.vue";
import { ref } from "vue";
const { page } = storeToRefs(usePageStore());
const isDTLPanelOpen = ref(false);
</script>