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,14 +1,11 @@
// src/components/Counter.tsx
import { useState } from 'react'
//import style from './Counter.module.css' // optional, if you want a CSS module for reset button
import '../App.css'
function Counter() {
const [count, setCount] = useState(0)
return (
<div className="card">
<button onClick={() => setCount((count) => count + 3)}>
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<button className='reset' onClick={() => setCount(0)}>