mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-07-05 13:11:22 +00:00
78 lines
1.9 KiB
TypeScript
78 lines
1.9 KiB
TypeScript
import { Box, ButtonBase, Typography } from "@mui/material";
|
|
import React from "react";
|
|
import { Spacer } from "../../common/Spacer";
|
|
|
|
export const NewUsersCTA = ({ balance }) => {
|
|
if (balance === undefined || +balance > 0) return null;
|
|
return (
|
|
<Box
|
|
sx={{
|
|
width: "100%",
|
|
display: "flex",
|
|
flexDirection: "column",
|
|
alignItems: "center",
|
|
}}
|
|
>
|
|
<Spacer height="40px" />
|
|
|
|
<Box
|
|
sx={{
|
|
width: "320px",
|
|
justifyContent: "center",
|
|
flexDirection: "column",
|
|
alignItems: "center",
|
|
padding: "15px",
|
|
outline: "1px solid gray",
|
|
borderRadius: "4px",
|
|
}}
|
|
>
|
|
<Typography
|
|
sx={{
|
|
textAlign: "center",
|
|
fontSize: "1.2rem",
|
|
fontWeight: "bold",
|
|
}}
|
|
>
|
|
Are you a new user?
|
|
</Typography>
|
|
<Spacer height="20px" />
|
|
<Typography>
|
|
Please message us on Telegram or Discord if you need 4 QORT to start
|
|
chatting without any limitations
|
|
</Typography>
|
|
<Spacer height="20px" />
|
|
<Box
|
|
sx={{
|
|
width: "100%",
|
|
display: "flex",
|
|
gap: "10px",
|
|
justifyContent: "center",
|
|
}}
|
|
>
|
|
<ButtonBase
|
|
sx={{
|
|
textDecoration: "underline",
|
|
}}
|
|
onClick={() => {
|
|
window.open("https://link.qortal.dev/support", '_system')
|
|
}}
|
|
>
|
|
Nextcloud
|
|
</ButtonBase>
|
|
<ButtonBase
|
|
sx={{
|
|
textDecoration: "underline",
|
|
}}
|
|
onClick={() => {
|
|
window.open("https://link.qortal.dev/discord-invite", '_system')
|
|
}}
|
|
|
|
>
|
|
Discord
|
|
</ButtonBase>
|
|
</Box>
|
|
</Box>
|
|
</Box>
|
|
);
|
|
};
|