diff --git a/src/App.tsx b/src/App.tsx index fe7cb61..d8d5cb2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,14 +1,15 @@ import { Routes, Route } from 'react-router' import './App.css' -import TemplatePage from './pages/TemplatePage/Template.tsx' +import VisProg from './pages/VisProgPage/VisProg.tsx' import Home from './pages/Home/Home.tsx' + function App(){ return ( } /> - } /> + } /> ) } diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index 5c4a72d..956506c 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -1,4 +1,3 @@ -import { useState } from 'react' import { Link } from 'react-router' import reactLogo from '../../assets/react.svg' import viteLogo from '../../assets/vite.svg' @@ -29,7 +28,7 @@ function Home() {

Vite + React

- + diff --git a/src/pages/TemplatePage/Template.tsx b/src/pages/TemplatePage/Template.tsx index 4cb3118..0f08c25 100644 --- a/src/pages/TemplatePage/Template.tsx +++ b/src/pages/TemplatePage/Template.tsx @@ -1,7 +1,6 @@ -import { useState } from 'react' + import { Link } from 'react-router' import Counter from '../../components/components.tsx' -import style from './Template.module.css' //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 diff --git a/src/pages/VisProgPage/VisProg.module.css b/src/pages/VisProgPage/VisProg.module.css new file mode 100644 index 0000000..8526661 --- /dev/null +++ b/src/pages/VisProgPage/VisProg.module.css @@ -0,0 +1,4 @@ +button.reset:hover { + background-color: yellow; +} + diff --git a/src/pages/VisProgPage/VisProg.tsx b/src/pages/VisProgPage/VisProg.tsx new file mode 100644 index 0000000..953e3f8 --- /dev/null +++ b/src/pages/VisProgPage/VisProg.tsx @@ -0,0 +1,23 @@ +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 ( + <> + + {/* here you link to the homepage, in App.tsx you can link new pages */} + + + + ) +} + +export default VisProgPage \ No newline at end of file