-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Martin Kopeček <martin.kopecek@smallhill.cz>
- Loading branch information
1 parent
706d418
commit 2f8bf51
Showing
2 changed files
with
31 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
"use client"; | ||
|
||
import { Grid, Heading, View } from "@adobe/react-spectrum"; | ||
import { withPageAuthRequired } from "@auth0/nextjs-auth0/client"; | ||
|
||
function UserNotEnabledPage() { | ||
return ( | ||
<Grid | ||
width="100%" | ||
height="100%" | ||
gap="size-100" | ||
justifyContent="start" | ||
alignItems="start" | ||
> | ||
<View marginX="size-100"> | ||
<Heading level={1}>User Not Enabled</Heading> | ||
|
||
<p> | ||
Your account has not been enabled. Please contact an administrator at{" "} | ||
<a href="mailto:vojta@stdio.cz">vojta@stdio.cz</a> | ||
</p> | ||
</View> | ||
</Grid> | ||
); | ||
} | ||
|
||
export default withPageAuthRequired(UserNotEnabledPage); |
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