progress on client site

This commit is contained in:
Henry Dollman
2024-07-08 15:53:12 -04:00
parent 93e94bdec6
commit 89b06d00aa
35 changed files with 1312 additions and 12 deletions

View File

@@ -0,0 +1,12 @@
import { useEffect } from 'preact/hooks'
import { useRoute } from 'wouter-preact'
export function ServerDetail() {
const [_, params] = useRoute('/server/:name')
useEffect(() => {
document.title = `Server: ${params!.name}`
}, [])
return <>Info for {params!.name}</>
}