add backend url to admin page + volume changed overlay bug fixed

Co-authored-by: Jip Frijlink <JipFr@users.noreply.github.com>
This commit is contained in:
mrjvs 2023-11-12 17:07:48 +01:00
parent 117da3335b
commit b4efe88252
2 changed files with 4 additions and 2 deletions

View File

@ -13,9 +13,9 @@ export function VolumeChangedPopout() {
<Transition <Transition
animation="slide-down" animation="slide-down"
show={empheralVolume.showVolume} show={empheralVolume.showVolume}
className="absolute inset-x-0 top-4 flex justify-center" className="absolute inset-x-0 top-4 flex justify-center pointer-events-none"
> >
<Flare.Base className="hover:flare-enabled bg-video-context-background pl-4 pr-6 py-3 group w-72 h-full rounded-lg transition-colors text-video-context-type-main"> <Flare.Base className="hover:flare-enabled pointer-events-auto bg-video-context-background pl-4 pr-6 py-3 group w-72 h-full rounded-lg transition-colors text-video-context-type-main">
<Flare.Light <Flare.Light
enabled enabled
flareSize={200} flareSize={200}

View File

@ -19,6 +19,7 @@ function ConfigValue(props: { name: string; children?: ReactNode }) {
export function ConfigValuesPart() { export function ConfigValuesPart() {
const normalRouter = conf().NORMAL_ROUTER; const normalRouter = conf().NORMAL_ROUTER;
const appVersion = conf().APP_VERSION; const appVersion = conf().APP_VERSION;
const backendUrl = conf().BACKEND_URL;
return ( return (
<> <>
@ -27,6 +28,7 @@ export function ConfigValuesPart() {
{normalRouter ? "Normal routing" : "Hash based routing"} {normalRouter ? "Normal routing" : "Hash based routing"}
</ConfigValue> </ConfigValue>
<ConfigValue name="Application version">v{appVersion}</ConfigValue> <ConfigValue name="Application version">v{appVersion}</ConfigValue>
<ConfigValue name="Backend URL">{backendUrl}</ConfigValue>
</> </>
); );
} }