feat: basic home page

Created a basic home page with links, a header with a link to home, some basic reusable CSS classes.

ref: N25B-38
This commit is contained in:
Twirre Meulenbelt
2025-10-08 15:03:44 +02:00
parent f889fad732
commit 46cc5a087d
9 changed files with 148 additions and 119 deletions

View File

@@ -1,22 +1,9 @@
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
function TemplatePage() {
return (
<>
<Counter />
<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>
</>
)
}