1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

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
animation="slide-down"
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
enabled
flareSize={200}

View file

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