diff --git a/components/calendar/CurrentDate.vue b/components/calendar/CurrentDate.vue index 70676ba..5f96d90 100644 --- a/components/calendar/CurrentDate.vue +++ b/components/calendar/CurrentDate.vue @@ -37,8 +37,8 @@ const isToday = computed(() => getDifferenceInDays(defaultDate, selectedDate.val - - + + diff --git a/components/global/sidebar/Sidebar.vue b/components/global/sidebar/Sidebar.vue index 1cbe954..04852d7 100644 --- a/components/global/sidebar/Sidebar.vue +++ b/components/global/sidebar/Sidebar.vue @@ -2,6 +2,7 @@ import { PhCompass, PhGlobeHemisphereEast, PhHurricane, PhX } from "@phosphor-icons/vue" import type { SidebarMenuActionType, SidebarMenuIcon } from "./SidebarProps"; import { cn } from "~/lib/utils"; +import { breakpointsTailwind } from "@vueuse/core" const { revealAdvancedSearch } = useCalendar() const { toggleSidebar } = useUiStore() @@ -24,6 +25,10 @@ function computeMenuItemIcon(iconString: SidebarMenuIcon) { } } +const breakpoints = useBreakpoints( + breakpointsTailwind +) + // const sidebarRef = ref(null) // onClickOutside(sidebarRef, () => { @@ -35,32 +40,52 @@ function computeMenuItemIcon(iconString: SidebarMenuIcon) { - - - - + + + + - - + + - + + + + + + {{ $t('pages.explore.menuLabel') }} + + @@ -106,9 +131,7 @@ function computeMenuItemIcon(iconString: SidebarMenuIcon) { - - - +
@@ -106,9 +131,7 @@ function computeMenuItemIcon(iconString: SidebarMenuIcon) {