T45a Site · Stack: Vite 8, React 19 and TanStack Router under pnpm; routes, theme, fonts, the manifest

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 08:38:05 -04:00
1 parent e3957f7816
commit 167055fdae
32 files changed
+699 -1309

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import { Link } from "@tanstack/react-router";
import { useEffect } from "react";
import { chapters, componentCount } from "../data";
export function Home() {
useEffect(() => {
document.title = "Ely · GPUI components";
}, []);
return (
<section className="hero">
<h1>Components for GPUI.</h1>
<p>
{componentCount} components in {chapters.length} chapters, live in the browser.
</p>
<Link to="/components/" className="button">
Browse
</Link>
</section>
);
}