refactor: changes from feedback on merge request
ref: N25B-114
This commit is contained in:
@@ -1,19 +1,14 @@
|
||||
import {Link} from "react-router";
|
||||
import VisProgUI from "./visualProgrammingUI/VisProgUI.tsx";
|
||||
|
||||
|
||||
//this is your css file where you can style your buttons and such
|
||||
//you can still use css parts from App.css, but also overwrite them
|
||||
|
||||
|
||||
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 => {}}>
|
||||
Page {'<'}-- Go Home
|
||||
</button>
|
||||
</Link>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user