diff --git a/.env b/.env index 0b988dc..11804ce 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -VITE_API_URL=http://localhost:4002 +VITE_API_URL=http://192.168.1.170:4002 # VITE_API_URL=http://194.26.138.94:4002 \ No newline at end of file diff --git a/src/components/FloorSelect.tsx b/src/components/FloorSelect.tsx index 7da09fa..a1fdd9e 100644 --- a/src/components/FloorSelect.tsx +++ b/src/components/FloorSelect.tsx @@ -94,32 +94,31 @@ function FloorSelect({ complexName }: { complexName: string }) { ))} -
- - -
-

+ + +

ROVE Home {markers.find((marker) => marker.name === complexName)?.title}

-
+
>; @@ -17,12 +17,12 @@ function FullScreenButton({ }: IFullScreenProps) { useEffect(() => { onFullScreenChange(!!document.fullscreenElement); - document.addEventListener('fullscreenchange', () => + document.addEventListener("fullscreenchange", () => onFullScreenChange(!!document.fullscreenElement) ); return () => - document.removeEventListener('fullscreenchange', () => + document.removeEventListener("fullscreenchange", () => onFullScreenChange(!!document.fullscreenElement) ); }, [onFullScreenChange]); @@ -30,8 +30,8 @@ function FullScreenButton({ if (isMobileSafari) return null; return ( - diff --git a/src/components/SequenceSlider.tsx b/src/components/SequenceSlider.tsx index c747352..4c96b54 100644 --- a/src/components/SequenceSlider.tsx +++ b/src/components/SequenceSlider.tsx @@ -191,29 +191,28 @@ function SequenceSlider({ complexName }: SequenceSliderProps) { )} {imageLoaded === FRAME_COUNT && ( <> -
- - -
-

+ + +

ROVE Home{" "} {markers.find((marker) => marker.name === complexName)?.title}

@@ -248,7 +247,7 @@ function SequenceSlider({ complexName }: SequenceSliderProps) { }deg)`, }} /> -
+
{