style: added comments to code and changed name of Sidebar to DndToolbar

BREAKING: renamed Sidebar to DndToolbar.

ref: N25B-114
This commit is contained in:
JGerla
2025-10-12 13:48:42 +02:00
parent bd5887ed9f
commit a9effb7c23
6 changed files with 75 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
import { Link } from 'react-router'
import {Link} from "react-router";
import VisProgUI from "./visualProgrammingUI/VisProgUI.tsx";
@@ -8,9 +8,9 @@ import VisProgUI from "./visualProgrammingUI/VisProgUI.tsx";
function VisProgPage() {
return (
<>
<VisProgUI />
<Link to = {"/"}> {/* here you link to the homepage, in App.tsx you can link new pages */}
<button className= 'movePage left' onClick={() :void => {}}>
<VisProgUI/>
<Link to={'/'}> {/* here you link to the homepage, in App.tsx you can link new pages */}
<button className="movePage left" onClick={(): void => {}}>
Page {'<'}-- Go Home
</button>
</Link>