diff --git a/components/calendar/CurrentDate.vue b/components/calendar/CurrentDate.vue
index bdb88cc..5f96d90 100644
--- a/components/calendar/CurrentDate.vue
+++ b/components/calendar/CurrentDate.vue
@@ -3,10 +3,15 @@ import { storeToRefs } from "pinia"
import { computed } from "vue"
import { PhMapPin } from "@phosphor-icons/vue"
+import { breakpointsTailwind } from "@vueuse/core"
const { defaultDate, getFormattedDateTitle, getRelativeString, getDifferenceInDays } = useCalendar()
const { selectedDate } = storeToRefs(useCalendar())
+const breakpoints = useBreakpoints(
+ breakpointsTailwind
+)
+
const mainDateTitle = computed(() => getFormattedDateTitle(selectedDate.value, true))
// const mainDateTitle = computed(() => convertDateToDays(selectedDate.value))
@@ -16,19 +21,24 @@ const isToday = computed(() => getDifferenceInDays(defaultDate, selectedDate.val
-
-
- {{ mainDateTitle }}
+
+
+
+ {{ mainDateTitle }}
-
- – {{ dateDifference }}
+
+ – {{ dateDifference }}
-
-
+
+
diff --git a/components/calendar/OptionsCTA.vue b/components/calendar/OptionsCTA.vue
index 165796d..74067ce 100644
--- a/components/calendar/OptionsCTA.vue
+++ b/components/calendar/OptionsCTA.vue
@@ -1,10 +1,14 @@
@@ -12,15 +16,29 @@ const viewTypeTitle = computed(() => getViewTypeTitle(currentConfig.viewType))
-
+
+
+
+
-
+
{{ $t('entity.calendar.seeOptions') }}
+
+
+ {{ $t('entity.calendar.seeCategories') }}
+
+
+
+
diff --git a/components/calendar/PreviewCard.vue b/components/calendar/PreviewCard.vue
index c2efa8e..9b2ef15 100644
--- a/components/calendar/PreviewCard.vue
+++ b/components/calendar/PreviewCard.vue
@@ -1,37 +1,51 @@
- {{ calendar.name }}
+
+ {{ calendar.name }}
+
@@ -55,16 +69,19 @@ const calendarLink = computed(() => isOwner.value ? `/my/calendars/${props.calen
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/components/calendar/SearchCTA.vue b/components/calendar/SearchCTA.vue
new file mode 100644
index 0000000..8337b35
--- /dev/null
+++ b/components/calendar/SearchCTA.vue
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+ {{ $t('entity.advancedSearch.title') }}
+
+
+
+
+
diff --git a/components/calendar/category/Table.vue b/components/calendar/category/Table.vue
index c17a1e1..9896d01 100644
--- a/components/calendar/category/Table.vue
+++ b/components/calendar/category/Table.vue
@@ -2,8 +2,6 @@
import type { Category } from "~/models/Category";
import { ScrollAreaRoot, ScrollAreaViewport, ScrollAreaScrollbar, ScrollAreaThumb } from "radix-vue"
-const { t } = useI18n()
-
const { categories } = defineProps<{
categories: Category[]
}>()
diff --git a/components/calendar/dialog/QuickCreateEvent.vue b/components/calendar/dialog/QuickCreateEvent.vue
index 41a9218..45efcb3 100644
--- a/components/calendar/dialog/QuickCreateEvent.vue
+++ b/components/calendar/dialog/QuickCreateEvent.vue
@@ -1,5 +1,7 @@
-
-
+
+
+
+
-
- {{ $t("entity.calendar.event.newEvent") }}
-
-
+
+ {{ $t("entity.calendar.event.newEvent") }}
+
+
+
+
-
+
{{ $t("entity.calendar.event.addSingle") }}
+
+
+
+ {{ $t("entity.calendar.event.addSingleDescription") }}
+
+
+
diff --git a/components/calendar/dialog/UpdateEvent.vue b/components/calendar/dialog/UpdateEvent.vue
index 70d643e..81be899 100644
--- a/components/calendar/dialog/UpdateEvent.vue
+++ b/components/calendar/dialog/UpdateEvent.vue
@@ -25,13 +25,13 @@ function handleClosing() {
e.preventDefault()"
>
-
+
{{ $t('entity.calendar.event.editDialog.title') }}
diff --git a/components/calendar/event/Details.vue b/components/calendar/event/Details.vue
index f53da10..08afe47 100644
--- a/components/calendar/event/Details.vue
+++ b/components/calendar/event/Details.vue
@@ -3,6 +3,7 @@ import { cn } from "~/lib/utils"
import type { RPGDate } from "~/models/Date"
import type { CalendarEvent } from "~/models/CalendarEvent"
import { useCalendar } from "~/stores/CalendarStore"
+import { breakpointsTailwind, useBreakpoints } from "@vueuse/core"
import {
PhHourglassMedium,
@@ -13,6 +14,7 @@ import {
PhDotsThreeOutlineVertical,
PhEye
} from "@phosphor-icons/vue"
+import type { CollisionPadding } from "~/models/Popover"
const { defaultDate, getFormattedDateTitle, jumpToDate, getRelativeString, revealEditEventModal, revealDeleteEventModal } = useCalendar()
const { lastActiveEvent, isReadOnly } = storeToRefs(useCalendar())
@@ -24,6 +26,22 @@ const props = defineProps<{
isEndEvent?: boolean
}>()
+const breakpoints = useBreakpoints(
+ breakpointsTailwind
+)
+const collisionPadLg: CollisionPadding = {
+ top: 50,
+ bottom: 50,
+ left: 50,
+ right: 50,
+}
+const collisionPad: CollisionPadding = {
+ top: 80,
+ bottom: 80,
+ left: 12.5,
+ right: 12.5,
+}
+
// Ref for the popover
const eventDetails = ref()
@@ -62,12 +80,12 @@ function deployDeleteModal() {
{