diff --git a/web/apps/cast/src/components/PairedSuccessfullyOverlay.tsx b/web/apps/cast/src/components/PairingComplete.tsx similarity index 59% rename from web/apps/cast/src/components/PairedSuccessfullyOverlay.tsx rename to web/apps/cast/src/components/PairingComplete.tsx index 3e5cd582b..3d56ace85 100644 --- a/web/apps/cast/src/components/PairedSuccessfullyOverlay.tsx +++ b/web/apps/cast/src/components/PairingComplete.tsx @@ -1,22 +1,9 @@ import { styled } from "@mui/material"; import { FilledCircleCheck } from "./FilledCircleCheck"; -export const PairedSuccessfullyOverlay: React.FC = () => { +export const PairingComplete: React.FC = () => { return ( -
+
{
This should only take a few seconds.

-
+ ); }; -export const PairingSuccessful_ = styled("div")` - position: fixed; - top: 0; - right: 0; - height: 100%; - width: 100%; +const PairingComplete_ = styled("div")` display: flex; + min-height: 100svh; justify-content: center; align-items: center; - z-index: 100; - background-color: black; `; diff --git a/web/apps/cast/src/pages/slideshow.tsx b/web/apps/cast/src/pages/slideshow.tsx index 98426a857..50317dca8 100644 --- a/web/apps/cast/src/pages/slideshow.tsx +++ b/web/apps/cast/src/pages/slideshow.tsx @@ -1,5 +1,5 @@ import log from "@/next/log"; -import { PairedSuccessfullyOverlay } from "components/PairedSuccessfullyOverlay"; +import { PairingComplete } from "components/PairingComplete"; import { SlideView } from "components/Slide"; import { useRouter } from "next/router"; import { useEffect, useState } from "react"; @@ -48,7 +48,7 @@ export default function Slideshow() { console.log("Rendering slideshow", { loading, imageURL, nextImageURL }); - if (loading) return ; + if (loading) return ; return ; }