summaryrefslogtreecommitdiff
path: root/front/src/root.jsx
diff options
context:
space:
mode:
authorElizabeth (Lizzy) Hunt <elizabeth.hunt@simponic.xyz>2023-05-29 16:28:27 -0700
committerGitHub <noreply@github.com>2023-05-29 16:28:27 -0700
commiteec32aa38a8762eccc8575a37a628bd5ae2cc1d0 (patch)
tree27f656780f5d25325c9ac0ec3db3557d774bf414 /front/src/root.jsx
parent8a5a2f358cb1f63a255b2daf6908536583986448 (diff)
downloadchessh-eec32aa38a8762eccc8575a37a628bd5ae2cc1d0.tar.gz
chessh-eec32aa38a8762eccc8575a37a628bd5ae2cc1d0.zip
Bots (#23)
* squash all the things for bots * fix warnings * change colors a bit and README updates * fix frontend warnings
Diffstat (limited to 'front/src/root.jsx')
-rw-r--r--front/src/root.jsx24
1 files changed, 14 insertions, 10 deletions
diff --git a/front/src/root.jsx b/front/src/root.jsx
index 2b1e603..82e79c3 100644
--- a/front/src/root.jsx
+++ b/front/src/root.jsx
@@ -10,18 +10,18 @@ export const Root = () => {
return (
<>
<div className="container">
+ <div className="flex-row-around">
+ <Link to="/home">
+ <img src={logo} className="logo" alt="CheSSH Logo" />
+ </Link>
+ </div>
<div className="navbar">
- <div className="flex-row-around">
- <Link to="/home">
- <img src={logo} className="logo" alt="CheSSH Logo" />
- </Link>
- </div>
<div className="nav">
- <Link className="link" to="/man-pages">
- Man Pages
- </Link>
{signedIn ? (
<>
+ <Link className="button" onClick={signOut} to="/">
+ Sign Out
+ </Link>
<Link className="link" to="/home">
Home
</Link>
@@ -31,8 +31,8 @@ export const Root = () => {
<Link className="link" to="/keys">
Keys
</Link>
- <Link className="button" onClick={signOut} to="/">
- Sign Out
+ <Link className="link" to="/bots">
+ Bots
</Link>
</>
) : (
@@ -45,6 +45,10 @@ export const Root = () => {
</a>
</>
)}
+
+ <Link className="link" to="/man-pages">
+ Man Pages
+ </Link>
</div>
</div>
<div className="content">