-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: block access to not logged in users (#365)
- Loading branch information
1 parent
5db8726
commit d51074d
Showing
3 changed files
with
87 additions
and
8 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,12 @@ | ||
import Typography from "@mui/material/Typography"; | ||
import Box from "@mui/material/Box"; | ||
|
||
const ShouldLoggedinPage = () => ( | ||
<Box sx={{ p: 2 }}> | ||
<Typography variant="h5" component="h1" sx={{ mb: 2 }}> | ||
Restricted page | ||
</Typography> | ||
<Typography>Advenced game are restricted to connected user</Typography> | ||
</Box> | ||
); | ||
export default ShouldLoggedinPage; |