feat(manager): the venue's identity (Settings -> Identity): name, slogan, named colours, logos, guest Wi-Fi, contact details
Set once (GET/PUT /api/identity, venue.name + venue.identity); every colour field offers the venue's colours first (VenueColoursProvider in @xenia/ui); signage screens get the identity and the venue's time zone with their venue and are told on a change; logos are protected in the media library; wifiQr() for the join-the-network code. Plan 6R.14, F-111. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@ import { lazy, Suspense } from 'react'
|
||||
import { useQuery } from '@tanstack/react-query'
|
||||
import { BrowserRouter, Routes, Route, Navigate, Outlet } from 'react-router-dom'
|
||||
import { AccessProvider } from '@xenia/access'
|
||||
import { VenueIdentity } from './shell/VenueIdentity'
|
||||
import { createI18n } from '@xenia/i18n'
|
||||
import { Spinner } from '@xenia/ui'
|
||||
import useAuthStore from './store/authStore'
|
||||
@@ -110,7 +111,7 @@ function ManagerRoot() {
|
||||
return (
|
||||
<AccessProvider client={client} token={token} i18n={i18n} loading={<Loading />}>
|
||||
<AuthRehydrator>
|
||||
<Outlet />
|
||||
<VenueIdentity><Outlet /></VenueIdentity>
|
||||
</AuthRehydrator>
|
||||
</AccessProvider>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user