diff --git a/app/components/SideBar.vue b/app/components/SideBar.vue new file mode 100644 index 0000000..151d95b --- /dev/null +++ b/app/components/SideBar.vue @@ -0,0 +1,25 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/pages/charts.vue b/app/pages/charts.vue index 314a489..b0e6984 100644 --- a/app/pages/charts.vue +++ b/app/pages/charts.vue @@ -68,23 +68,12 @@ const explanation = computed(() => { return useExplanations(stat.value); }); -const sidebarVisible = ref(false); - -onMounted(() => { - const isMediumScreen = useMediaQuery("(min-width: 768px)"); - - if (isMediumScreen.value) { - sidebarVisible.value = true; - } -}); +const sideBarOpen = ref(false); - - - - + @@ -99,10 +88,9 @@ onMounted(() => { - - + - +