Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

T

Manav Rathi60c136d9a944
diff --git a/web/apps/cast/src/pages/slideshow.tsx b/web/apps/cast/src/pages/slideshow.tsx
index 8b4e8b6505..1ba2d376ab 100644
--- a/web/apps/cast/src/pages/slideshow.tsx
+++ b/web/apps/cast/src/pages/slideshow.tsx
@@ -1,5 +1,5 @@
import log from "@/base/log";
-import { styled } from "@mui/material";
+import { Stack, styled, Typography } from "@mui/material";
import { FilledCircleCheck } from "components/FilledCircleCheck";
import { useRouter } from "next/router";
import React, { useEffect, useState } from "react";
@@ -63,38 +63,35 @@ const PairingComplete: React.FC = () => {
return (
<Message>
<FilledCircleCheck />
- <h2>Pairing Complete</h2>
- <p>
- {"We're preparing your album"}.
- <br /> This should only take a few seconds.
- </p>
+ <Typography variant="h3" sx={{ mt: 2, mb: 2 }}>
+ Pairing Complete
+ </Typography>
+ <Stack sx={{ gap: "4px" }}>
+ <Typography>{"We're preparing your album"}</Typography>
+ <Typography>This should only take a few seconds.</Typography>
+ </Stack>
</Message>
);
};
-const Message = styled("div")`
- display: flex;
- flex-direction: column;
+const Message = styled(Stack)`
height: 100%;
justify-content: center;
align-items: center;
text-align: center;
-
- line-height: 1.5rem;
-
- h2 {
- margin-block-end: 0;
- }
+ gap: 1rem;
`;
const NoItems: React.FC = () => {
return (
<Message>
- <h2>Try another album</h2>
- <p>
- This album has no photos that can be shown here
- <br /> Please try another album
- </p>
+ <Typography variant="h3">Try another album</Typography>
+ <Stack sx={{ gap: "4px" }}>
+ <Typography>
+ This album has no photos that can be shown here
+ </Typography>
+ <Typography>Please try another album</Typography>
+ </Stack>
</Message>
);
};