-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
423 move system role from bot message to handbook (#437)
* move system role to a page in handbook * format
- Loading branch information
1 parent
3638a85
commit 63c76bb
Showing
5 changed files
with
62 additions
and
31 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
24 changes: 23 additions & 1 deletion
24
frontend/src/components/HandbookOverlay/HandbookOverlay.tsx
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
18 changes: 18 additions & 0 deletions
18
frontend/src/components/HandbookOverlay/HandbookSystemRole.tsx
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,18 @@ | ||
import { LEVEL_NAMES } from "../../models/level"; | ||
|
||
function HandbookSystemRole({ | ||
level, | ||
systemRole, | ||
}: { | ||
level: LEVEL_NAMES; | ||
systemRole: string; | ||
}) { | ||
return ( | ||
<div className="system-role-layout"> | ||
<h1> System Role for Level {level.valueOf()}</h1> | ||
<p> {systemRole} </p> | ||
</div> | ||
); | ||
} | ||
|
||
export default HandbookSystemRole; |
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