Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
added links to settings pane
Browse files Browse the repository at this point in the history
  • Loading branch information
matt01y committed Mar 9, 2024
1 parent c92bb8a commit 135af1f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions frontend/src/components/Settings.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { BiLogOut } from "react-icons/bi";
import {BiLogOut} from "react-icons/bi";
import '../assets/styles/small_components.css'
import {JSX} from "react";
import {Link} from "react-router-dom";


export default function Settings(): JSX.Element {
export default function Settings(): JSX.Element {
return (
<>
<div className={"card popup px-5 py-5"}>
Expand All @@ -16,8 +17,12 @@ export default function Settings(): JSX.Element {
<div>
<p className={"py-2"}>Select workstation: </p>
<div className={"is-flex is-justify-content-space-evenly"}>
<button className={"button is-success"}>teacher</button>
<button className={"button is-danger"}>admin</button>
<Link to={"/teacher"}>
<button className={"button is-success"}>teacher</button>
</Link>
<Link to={"/admin"}>
<button className={"button is-danger"}>admin</button>
</Link>
</div>
</div>
</div>
Expand Down

0 comments on commit 135af1f

Please sign in to comment.