-
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.
- Loading branch information
1 parent
09ee761
commit 62f6c8b
Showing
7 changed files
with
182 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from "react"; | ||
|
||
const CipherMap = () => { | ||
return ( | ||
<div> | ||
<h1>CipherMap</h1> | ||
</div> | ||
); | ||
}; | ||
|
||
export default CipherMap; |
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,39 @@ | ||
.controlButtons { | ||
position: fixed; | ||
display: flex; | ||
justify-content: center; | ||
width: 15rem; | ||
height: 100%; | ||
background-color: var(--white); | ||
margin: 0.5rem 0; | ||
right: 0; | ||
gap: 1rem; | ||
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.controlButtons-actions { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.5rem; | ||
padding: 0.4rem 0.8rem; | ||
} | ||
|
||
.controlButtons-action { | ||
width: 100%; | ||
padding: 0.4rem 1.5rem; | ||
border-radius: 0.5rem; | ||
} | ||
|
||
.controlButtons-action:hover { | ||
background-color: var(--primary-hover); | ||
cursor: pointer; | ||
} | ||
|
||
.controlButtons-action-label { | ||
font-size: 1rem; | ||
text-align: center; | ||
} | ||
|
||
.controlButtons-action-label-active { | ||
color: var(--white); | ||
} |
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,114 @@ | ||
import React from "react"; | ||
import Nav from "../components/Nav"; | ||
import "../css/ControlButtons.css"; | ||
import LabeledLogo from "../components/LabeledLogo"; | ||
import Icon from "../components/Icon"; | ||
import Colors from "../constants/Colors"; | ||
|
||
interface ControlButtonsProps { | ||
open?: boolean; | ||
setOpen?: React.Dispatch<React.SetStateAction<boolean>>; | ||
} | ||
|
||
const ControlButtons = (props: ControlButtonsProps) => { | ||
return ( | ||
<Nav | ||
className="controlButtons" | ||
start={ | ||
<div className="controlButtons-actions"> | ||
<LabeledLogo | ||
className="controlButtons-action" | ||
direction="row" | ||
style={{ | ||
justifyContent: "flex-start", | ||
gap: "0.5rem", | ||
}} | ||
logo={ | ||
<Icon | ||
icon="dashboard" | ||
style={{ width: 28, height: 28 }} | ||
viewBox="-4 -4 36 36" | ||
/> | ||
} | ||
label="Dashboard" | ||
labelClass="controlButtons-action-label" | ||
/> | ||
<LabeledLogo | ||
className="controlButtons-action" | ||
direction="row" | ||
style={{ | ||
justifyContent: "flex-start", | ||
gap: "0.5rem", | ||
backgroundColor: Colors.primary, | ||
}} | ||
logo={ | ||
<Icon | ||
icon="defaultUser" | ||
fill={Colors.white} | ||
style={{ width: 28, height: 28 }} | ||
viewBox="-2 -2 28 28" | ||
/> | ||
} | ||
label="Profile" | ||
labelClass="controlButtons-action-label-active" | ||
/> | ||
<LabeledLogo | ||
className="controlButtons-action" | ||
direction="row" | ||
style={{ | ||
justifyContent: "flex-start", | ||
gap: "0.5rem", | ||
}} | ||
logo={ | ||
<Icon | ||
icon="books" | ||
style={{ width: 28, height: 28 }} | ||
viewBox="-4 -4 36 36" | ||
/> | ||
} | ||
label="Enrolled Courses" | ||
labelClass="controlButtons-action-label" | ||
/> | ||
<LabeledLogo | ||
className="controlButtons-action" | ||
direction="row" | ||
style={{ | ||
justifyContent: "flex-start", | ||
gap: "0.5rem", | ||
}} | ||
logo={ | ||
<Icon | ||
icon="book" | ||
style={{ width: 28, height: 28 }} | ||
viewBox="-4 -4 36 36" | ||
/> | ||
} | ||
label="Wishlist" | ||
labelClass="controlButtons-action-label" | ||
/> | ||
<LabeledLogo | ||
className="controlButtons-action" | ||
direction="row" | ||
style={{ | ||
justifyContent: "flex-start", | ||
gap: "0.5rem", | ||
}} | ||
logo={ | ||
<Icon | ||
icon="like" | ||
style={{ width: 28, height: 28 }} | ||
viewBox="-4 -4 36 36" | ||
/> | ||
} | ||
label="Liked Videos" | ||
labelClass="controlButtons-action-label" | ||
/> | ||
</div> | ||
} | ||
direction="column" | ||
end={<></>} | ||
/> | ||
); | ||
}; | ||
|
||
export default ControlButtons; |