Add link on unlinked account message

This commit is contained in:
2025-12-01 19:05:37 +01:00
parent 7356a66e4a
commit 6d78930b89

View File

@@ -1,3 +1,7 @@
import ArrowForwardIcon from "@mui/icons-material/ArrowForward";
import { Button } from "@mui/material";
import { Link } from "react-router";
export function NotLinkedAccountMessage(): React.ReactElement {
return (
<div
@@ -6,9 +10,17 @@ export function NotLinkedAccountMessage(): React.ReactElement {
display: "flex",
alignItems: "center",
justifyContent: "center",
flexDirection: "column",
}}
>
Your Matrix account is not linked yet!
<div style={{ marginBottom: "50px" }}>
Your Matrix account is not linked yet!
</div>
<Link to={"/matrix_link"}>
<Button variant="outlined" startIcon={<ArrowForwardIcon />}>
Go to Matrix Link settings
</Button>
</Link>
</div>
);
}