-
-
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.
Merge pull request #2 from WaifuAPI/staging
Added a Beta Tester check
- Loading branch information
Showing
3 changed files
with
57 additions
and
25 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,17 @@ | ||
import Link from 'next/link'; | ||
|
||
const NotBetaTester = () => { | ||
return ( | ||
<div className="flex flex-col items-center justify-center min-h-screen bg-white"> | ||
<div className="max-w-md p-8 mx-auto bg-white rounded-lg shadow-lg"> | ||
<h1 className="text-2xl font-semibold mb-4">You are not a beta tester</h1> | ||
<p className="text-gray-700 mb-6">Sorry, you do not have the required role to access this page.</p> | ||
<Link href="/"> | ||
<a className="bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition duration-300">Home</a> | ||
</Link> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default NotBetaTester; |