-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from khalidh223/prevent-accessing-site-on-mobile
Prevents loading webapp if on a mobile device, displays mobile ad
- Loading branch information
Showing
4 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { Box, Typography } from "@mui/material" | ||
import React from "react" | ||
|
||
const MobileComingSoonAd: React.FC = () => { | ||
return ( | ||
<Box | ||
display={"flex"} | ||
flexDirection={"column"} | ||
alignContent={"center"} | ||
justifyContent={"center"} | ||
alignItems={"center"} | ||
> | ||
<img src="/sad_qm.png" width={187} height={312} style={{marginBottom: '-5em', marginTop: '3em'}}></img> | ||
<Typography variant="h2" fontWeight={"bold"} color={"white"} mt={"2em"}> | ||
Sorry. | ||
</Typography> | ||
<Typography | ||
variant="h6" | ||
fontWeight={"bold"} | ||
color={"white"} | ||
mt={"2em"} | ||
textAlign={"center"} | ||
> | ||
You need to be on desktop to play Fake Artist Online. | ||
</Typography> | ||
<Typography | ||
variant="body1" | ||
color={"white"} | ||
mt={"2em"} | ||
textAlign={"center"} | ||
fontSize={"1.1rem"} | ||
> | ||
Fake Artist Online coming soon to iOS! | ||
</Typography> | ||
</Box> | ||
) | ||
} | ||
|
||
export default MobileComingSoonAd |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.