chore(website): start with fresh template for preact

This commit is contained in:
Elian Doran
2025-09-26 22:54:56 +03:00
parent 8a477c87e0
commit b5a491820c
15 changed files with 5529 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { useLocation } from 'preact-iso';
export function Header() {
const { url } = useLocation();
return (
<header>
<nav>
<a href="/" class={url == '/' && 'active'}>
Home
</a>
<a href="/404" class={url == '/404' && 'active'}>
404
</a>
</nav>
</header>
);
}