diff --git a/src/modules/events/views/EventsPage.vue b/src/modules/events/views/EventsPage.vue index 7760087..39af9bd 100644 --- a/src/modules/events/views/EventsPage.vue +++ b/src/modules/events/views/EventsPage.vue @@ -10,6 +10,11 @@ import { } from '@/components/ui/collapsible' import { SlidersHorizontal, CalendarDays, Plus } from 'lucide-vue-next' import brandAppLogoUrl from '@brand-app-logo?url' +// Brand name flows through VITE_APP_NAME (set in vite.events.config.ts +// from brand.name). cfaun → "Oyez!", default → "Events", etc. Falls +// back to the i18n string only when no brand is configured (shouldn't +// happen in production builds, but defensive). +const appName: string = (import.meta.env.VITE_APP_NAME as string) || '' import { useEvents } from '../composables/useEvents' import { useEventsStore } from '../stores/events' import EventSearchOverlay from '../components/EventSearchOverlay.vue' @@ -83,10 +88,10 @@ function openCalendar() {

- {{ t('events.title') }} + {{ appName || t('events.title') }}