Reorganise source files into src and web

Use a more traditional source code layout with the code located in the
src/ dir and static web content in the web/ dir, while the other places
are for data not related to code or content.
This commit is contained in:
Hornwitser 2025-02-02 10:37:42 +01:00
parent 82323c9158
commit c8527f17f7
20 changed files with 35 additions and 36 deletions

View file

@ -1,27 +0,0 @@
import type { Node } from "antihtml";
interface BaseProps {
title: string;
children: Node | Node[],
}
export function BasePage(props: BaseProps) {
return <html lang="en">
<head>
<meta charset="utf-8" />
<title>{props.title}</title>
<link rel="stylesheet" href="/style.css" />
</head>
<body>
<header class="header">
<nav>
<a href="/index.html">Home</a>
<a href="/updates.html">Updates</a>
<a href="/words.html">Words</a>
<a href="/projects.html">Projects</a>
<a href="/links.html">Links</a>
</nav>
</header>
{props.children}
</body>
</html>
}