Early draft of website content

This commit is contained in:
Hornwitser 2025-01-25 08:55:26 +01:00
parent ef8aaa6f6d
commit f7bc525310
8 changed files with 163 additions and 23 deletions

29
content/words.tsx Normal file
View file

@ -0,0 +1,29 @@
import { BasePage } from "./bases.js";
import type { Page } from "./types.js";
import uselessDashboard from "./words/useless-dashboard.js";
export const words: Page[] = [
uselessDashboard,
].map(page => ({
title: page.title,
ref: page.ref,
content: <BasePage title={page.title}>
<h1>{page.title}</h1>
{page.content}
</BasePage>
}));
const title = "Ramblings and other wordy content";
export const wordsIndex: Page = {
title,
ref: "/words.html",
content: <BasePage title={title}>
<main>
<h1>{title}</h1>
<ul>
{ words.map(word => <li><a href={word.ref}>{word.title}</a></li>)}
</ul>
</main>
</BasePage>
}