diff --git a/web/apps/cast/src/pages/index.tsx b/web/apps/cast/src/pages/index.tsx index abd963150..c70f7e981 100644 --- a/web/apps/cast/src/pages/index.tsx +++ b/web/apps/cast/src/pages/index.tsx @@ -1,5 +1,6 @@ import log from "@/next/log"; import EnteSpinner from "@ente/shared/components/EnteSpinner"; +import { styled } from "@mui/material"; import { PairingCode } from "components/PairingCode"; import { useRouter } from "next/router"; import { useEffect, useState } from "react"; @@ -65,65 +66,55 @@ export default function Index() { }; return ( - <> + + +

+ Enter this code on Ente Photos to pair this screen +

-
- -

- Enter this code on Ente Photos to pair this - screen -

-
- {pairingCode ? ( - - ) : ( - - )} -
-

- Visit{" "} - - ente.io/cast - {" "} - for help -

-
+ {pairingCode ? ( + + ) : ( + + )}
- +

+ Visit{" "} + + ente.io/cast + {" "} + for help +

+
); } + +const Container = styled("div")` + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + + h1 { + font-weight: normal; + } +`;