Dashboard page restructured. Moved some elements to the other views.

This commit is contained in:
Jesse Malotaux 2025-04-30 18:06:53 +02:00
parent 1cf9029a63
commit 315d169cf9
10 changed files with 363 additions and 121 deletions

View file

@ -16,7 +16,7 @@
</template>
<script setup>
import { onMounted, ref } from 'vue'
import { onMounted, onUpdated, ref } from 'vue'
import ButtonComp from './ButtonComp.vue'
import { IconChevronDown, IconChevronUp } from '@tabler/icons-vue'
@ -35,6 +35,10 @@ onMounted(() => {
if (props.open) toggleAccordion(props.open)
})
onUpdated(() => {
if (props.open) toggleAccordion(props.open)
})
function toggleAccordion(open = false) {
if (open) {
accordionOpen.value = true

View file

@ -45,7 +45,8 @@ button,
tracking-wide
font-normal
transition-all
cursor-pointer;
cursor-pointer
no-underline;
transition:
border-color 0.1s ease-in-out,