diff --git a/app.vue b/app.vue index ffcefe3..3dfef03 100644 --- a/app.vue +++ b/app.vue @@ -5,6 +5,9 @@ useHead({ titleTemplate: (titleChunk) => { return titleChunk ? `${titleChunk} — TTTools` : 'TTTools'; }, + htmlAttrs: { + lang: 'fr' + }, meta: [ { name: "charset", content: "UTF-8" }, { name: "viewport", content: "width=device-width, initial-scale=1.0" }, @@ -35,7 +38,11 @@ const useIdFunction = () => useId() - +
+ + + +
diff --git a/components/calendar/Calendar.vue b/components/calendar/Calendar.vue index 202e877..950b36b 100644 --- a/components/calendar/Calendar.vue +++ b/components/calendar/Calendar.vue @@ -2,6 +2,7 @@ import { useCalendar } from '@/stores/CalendarStore' import { computed, type Component, type ComputedRef } from 'vue' +import { PhMagnifyingGlass } from '@phosphor-icons/vue' import MonthlyLayout from './state/monthly/Layout.vue' import CenturyLayout from './state/centennially/Layout.vue' import DecadeLayout from './state/decennially/Layout.vue' @@ -85,8 +86,18 @@ const currentViewComponent: ComputedRef = computed(() => { } }) +const { setCurrentMenu } = useUiStore() + onMounted(() => { jumpToDate(selectedDate) + + setCurrentMenu([ + { + phIcon: PhMagnifyingGlass, + tooltip: 'Recherche avancée', + action: 'event-search' + } + ]) }) @@ -107,8 +118,8 @@ onMounted(() => { - - - + + + diff --git a/components/calendar/CalendarEvent.vue b/components/calendar/CalendarEvent.vue index 2127b68..736b6cb 100644 --- a/components/calendar/CalendarEvent.vue +++ b/components/calendar/CalendarEvent.vue @@ -59,13 +59,13 @@ function handleClosePopover() { }) " > -
+
{{ eventTitle }}
- void - to?: string -} - -export interface SidebarProps { - menuItems: MenuItem[], - isHome?: boolean -} diff --git a/components/global/Sidebar.vue b/components/global/sidebar/Sidebar.vue similarity index 66% rename from components/global/Sidebar.vue rename to components/global/sidebar/Sidebar.vue index 56142fb..fc92882 100644 --- a/components/global/Sidebar.vue +++ b/components/global/sidebar/Sidebar.vue @@ -1,8 +1,21 @@