-
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 #82 from brandonnorsworthy/updates
Updates
- Loading branch information
Showing
15 changed files
with
557 additions
and
42 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
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
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
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,30 @@ | ||
import { useNavigate } from "react-router-dom"; | ||
|
||
import MenuButton from "@/components/MenuButton" | ||
import MenuSpacer from "@/components/MenuSpacer" | ||
|
||
import logoImg from '@/assets/placeholder-logo.png' | ||
import withAuth from "@/hocs/withAuth"; | ||
|
||
const ModeratorPage = () => { | ||
const navigate = useNavigate(); | ||
return ( | ||
<main className="flex justify-center overflow-hidden h-dvh w-dvw"> | ||
<div className="flex flex-col xl:max-w-[86rem] items-start mt-1 w-full ml-2 text-5xl sm:mt-10 sm:ml-10 text-white/50"> | ||
<img src={logoImg} alt="logo" className="h-36 md:h-32" /> | ||
|
||
<div className="flex flex-col items-start mt-20"> | ||
<MenuButton text="suggestions" onClick={() => navigate("/moderator/suggestions")} /> | ||
<MenuButton text="quests" onClick={() => navigate("/moderator/quests")} /> | ||
<MenuSpacer /> | ||
|
||
<MenuButton text="back" onClick={() => navigate("/")} /> | ||
</div> | ||
</div> | ||
</main> | ||
); | ||
} | ||
|
||
const AuthenticatedModeratorPage = withAuth(ModeratorPage, "moderator"); | ||
|
||
export default AuthenticatedModeratorPage; |
Oops, something went wrong.